7.2k views
0 votes
1. Multiple Choice(25 points) 1) 4’b1001 represents the following decimal number______________ a) 8 b) 9 c) 10 d) 11 2) The following Verilog statement can be used to define X as logic or of (Y,Z); a) or (X,Y,Z) b) or (Y,Z,X) c) OR (X,Y,Z) d) OR (Y,Z,X) 3) If A=4’b1010, B=8’b10101010, C is defined as wire [11:0], C={A, B}, then C[8:7]=__________ a) 2’b00 b) 2’b01 c) 2’b10 d) 2’b11 4) To convert a 4-bit SW input to 7-segment code HEX0 display output, we can instanciate a module bcd2leds(seg7, bin4) which has bin4 as 4-bit input, seg7 as 7-bit ouput. as___________________ a) bcd2leds U1 (HEX0, SW); b) U1 bcd2leds (HEX0, SW); c) bcd2leds U1 (SW, HEX0); d) U1 bcd2leds (SW,HEX0);

User Daquanna
by
4.2k points

1 Answer

2 votes

Answer:

The solution is given in the attachments.

1. Multiple Choice(25 points) 1) 4’b1001 represents the following decimal number______________ a-example-1
1. Multiple Choice(25 points) 1) 4’b1001 represents the following decimal number______________ a-example-2
User Eduardo Oliveros
by
4.5k points