always_comb.sv 212 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module top;
    logic x;
    always_comb
        x = 0;

    `include "always_comb.vh"
    `TEST(_comb, 1)
    `TEST(_comb, 2)
    `TEST(@*, 3)
    `TEST(@*, 4)

    initial x1 = 0;
    initial x3 = 0;
endmodule