HBLbits_Verilog Basic_ One , Zero , Wire
module top_module ( zero );
output zero;
// Verilog-1995
endmodule
module top_module ( output zero );
// Verilog-2001
endmodule
Step one
module top_module(
output one );
assign one = 1'b1;
endmodule
assign one = 1'b1;
endmodule
Zero
Wire
module top_module( input in, output out );
wire w1;
assign w1=in;
assign out=w1;
endmodule
沒有留言:
張貼留言