Skip to content

Instantly share code, notes, and snippets.

@ciniml
Created July 12, 2020 07:55
Show Gist options
  • Save ciniml/8ab708426fecdb7368bef7741f786f89 to your computer and use it in GitHub Desktop.
Save ciniml/8ab708426fecdb7368bef7741f786f89 to your computer and use it in GitHub Desktop.
ieee_1800_2017_example_4_initial
module multiple;
logic a;
initial a = 1;
// The assigned value of the variable is determinate
initial begin
a <= #4 0; // schedules a = 0 at time 4
a <= #4 1; // schedules a = 1 at time 4
end // At time 4, a = 1
endmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment