Welcome to HDLBits-Verilog-Solutions!
Getting started in Digital Logic Design can be overwhelming at first because you need to learn new concepts, a new Hardware Description Language (e.g., Verilog), several new software packages, and often an FPGA board, all at the same time. HDLBits provides a way to practice designing and debugging simple circuits with a single click of "Simulate".
Designing a circuit requires several steps: Writing HDL (Verilog) code, compiling the code to produce a circuit, then simulating the circuit and fixing bugs.
-----------------------------------------------------------------------------------------------------------------
Question 1: Build a circuit with no inputs and one output. That output should always drive 1 (or logic high).
Solution:
module top_module( output one );
// Insert your code here
assign one = 1;
endmodule
-----------------------------------------------------------------------------------------------------------------
Thank you!!!!
No comments:
Post a Comment
If you have any doubts, Please let me know....