Where X=verilog
Simple hello world example:
initial $display("Hello, world!");Declaring a module looks like this:
module top_module (
input a,
output b
);
endmodule
## Instantiation of a module looks like this:
module tb;
wire a;
reg b;
top_module dut(
.a(a),
.b(b)
);
endmodule