目录
Step one
题目:
Problem Statement
We're going to start with a small bit of HDL to get familiar with the interface used by HDLBits. Here's the description of the circuit you need to build for this exercise:
Build a circuit with no inputs and one output. That output should always drive 1 (or logic high).
module top_module( output one );
// Insert your code here
assign one = 1;
endmodule
Zero
Build a circuit with no inputs and one output that outputs a constant 0
Now that you've worked through the previous problem, let's see if you can do a simple problem without the hints.
module top_module(
output zero
);// Module body starts after semicolon
assign zero = 0;
endmodule