Last active
May 16, 2020 22:17
-
-
Save Forty-Bot/d16632f50085ce708ad915a2d263a293 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 foo #( | |
| parameter BAR = 16, | |
| parameter BAZ = 8, | |
| ) ( | |
| input [BAR - 1:0] bar, | |
| output [BAZ - 1:0] baz, | |
| ); | |
| /* ... */ | |
| endmodule | |
| module top; | |
| wire [15:0] bar; | |
| wire [7:0] baz; | |
| foo fooi ( | |
| .bar (bar), | |
| .baz (baz), | |
| ); | |
| wire [fooi.BAR - 1:0] qux; | |
| endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment