Skip to content

Instantly share code, notes, and snippets.

@brettfazio
Last active December 21, 2020 18:33
Show Gist options
  • Select an option

  • Save brettfazio/3c422d7d35577833ce52ad56893e4247 to your computer and use it in GitHub Desktop.

Select an option

Save brettfazio/3c422d7d35577833ce52ad56893e4247 to your computer and use it in GitHub Desktop.
module basicParallel;
integer a, b, c;
initial
fork
$display("Hello!");
a = 5;
b = 4;
c = a + b;
c = 4;
$display("c = %d", c);
join
endmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment