HDLbits1——入门
1、Build a circuit with no inputs and one output. That output should always drive 1 (or logic high).
建立一个没有输入和一个输出的电路。该输出应始终驱动 1(或逻辑高电平)
1 module top_module( output one ); 2 3 // Insert your code here 4 assign one = 1'b1; 5 6 endmodule
2、Build a circuit with no inputs and one output that outputs a constant 0
构建一个没有输入和一个输出的电路,输出一个常数0
1 module top_module( 2 output zero 3 );// Module body starts after semicolon 4 5 endmodule