?? mux16.v
字號:
/**************************************************************************************** MODULE: Sub Level Multiplexer Block FILE NAME: mux16.v VERSION: 1.0 DATE: September 28th, 2001 AUTHOR: Hossein Amidi COMPANY: California Unique Electrical Co. CODE TYPE: Register Transfer Level Instantiations: DESCRIPTION: Sub Level RTL Multiplexer block Hossein Amidi (C) September 2001 California Unique Electric***************************************************************************************/ `timescale 1ns / 1psmodule MUX16 ( // Input A_in, B_in, A_Select, // Output Out );// Parameterparameter DataWidth = 32;parameter AddrWidth = 24;// Inputinput [AddrWidth - 1 : 0] A_in;input [DataWidth - 1 : 0] B_in;input A_Select;// Outputoutput [DataWidth - 1 : 0] Out;//Dataflow description of MUX16assign Out = A_Select ? B_in : {8'b0, A_in};endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -