This is a HelloWorld module in verilog.
I assume that you have an installed and configured verilog simulator.
This is not the proper way of starting HDL coding, but, as every
programming languages starts with HelloWorld let me start here.
The output of the program will be "HelloWorld" displayed on terminal.
If you haven't installed a simulator yet follow the tutorial for modelsim or verilator.
module hello ;
initial begin
$disply("HelloWorld") ;
end
endmodule
initial begin
$disply("HelloWorld") ;
end
endmodule
The output of the program will be "HelloWorld" displayed on terminal.
If you haven't installed a simulator yet follow the tutorial for modelsim or verilator.
No comments:
Post a Comment