Question: 5. Consider the following code // Title : sw2led module sw2led (sw, led); --- Port declarations input 17:0] Sw; wire [7:0) sw; output (7:0) led;

 5. Consider the following code // Title : sw2led module sw2led

5. Consider the following code // Title : sw2led module sw2led (sw, led); --- Port declarations input 17:0] Sw; wire [7:0) sw; output (7:0) led; wire [7:0) led; --------- Signal declarations -------- // wire (7:0) BUS 7; Terminals assignment --------// // Input terminals --- // assign BUS 7 17:0] = sw[7:0]; Output terminals --- // assign led (7:0) BUS7 [7:0]; endmodule (a) What is the purpose of "//" (b) What is the name of this module? (c) What are the names of the ports in this module? (d) How many wires are in BUS7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!