Welcome to HDLBits-Verilog-Solutions!
-----------------------------------------------------------------------------------------------------------------
Question 2: Build a circuit with no inputs and one output that outputs a constant 0.
Solution:
module top_module (output zero); // Module body starts after semicolon
assign zero=0;
endmodule
-----------------------------------------------------------------------------------------------------------------
Thank you!!!!
No comments:
Post a Comment
If you have any doubts, Please let me know....