Last active
December 21, 2020 18:33
-
-
Save brettfazio/3c422d7d35577833ce52ad56893e4247 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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