Unformatted text preview: binary_in , // 4 bit binary input decoder_out , // 16-bit out enable // Enable for the decoder ); input [3:0] binary_in ; input enable ; output [15:0] decoder_out ; wire [15:0] decoder_out ; assign decoder_out = (enable) ? (1 << binary_in) : 16'b0 ; endmodule...
View Full Document
This note was uploaded on 09/29/2010 for the course GENERAL AR ECE 250 taught by Professor Drcapps during the Spring '10 term at N.C. State.
- Spring '10