📄 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 + -