macro.v 500 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
module top;
initial begin
    repeat (13) $display(42);
    repeat (1) $display("foo\nbar");
    repeat (1) $display(" foo \n bar ");
    repeat (5) $display("test");
    repeat (35) $display("bar", "bar");
    repeat (35) $display("foo", "foo");
    $display("foo", 1);
    $display("foo", 1);
    $display("foo", 2);
    $display("display");
    $display("s", "foo", "ss");
    $display("s", "display", "ss");
    $display("s foo = \"foo\"");
    $display("s display = \"display\"");
end
endmodule