named_block.sv 316 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module top;
    // The below blocks must be named when converted to Verilog-2005 because it
    // contains a data declaration.
    initial begin
        integer i;
        i = 1;
        $display("%08d", i);
    end
    initial begin
        integer i;
        i = 1;
        $display("%08d", i);
    end
endmodule