Question: Consider the following code / / Title : sw 2 led module sw 2 led ( sw , led ) ; / / - -
Consider the following code
Title : swled
module swled swled ;
Port declarations
input :;
wire : sw;
output : led;
wire : led;
Signal declarations
wire : BUS;
Terminals assignment
Input terminals
assign BUS: sw:;
Output terminals
assign led: BUS:;
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 BUS
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
