-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module veryl_testcase_Module71 #( | ||
parameter type param_type = logic | ||
); | ||
typedef logic [32-1:0] type_type; | ||
|
||
typedef struct packed { | ||
logic a; | ||
} struct_type; | ||
|
||
veryl_testcase_Module71A #(.T1 (param_type), .T2 (type_type), .T3 (struct_type) /*T4: logic,*/) m (); | ||
endmodule | ||
|
||
module veryl_testcase_Module71A #( | ||
parameter type T1 = logic, | ||
parameter type T2 = logic, | ||
parameter type T3 = logic, | ||
parameter type T4 = logic | ||
); | ||
endmodule | ||
//# sourceMappingURL=../map/testcases/sv/71_type_parameter.sv.map |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module Module71 #( | ||
param param_type: type = logic, | ||
) { | ||
type type_type = logic<32>; | ||
|
||
struct struct_type { | ||
a: logic, | ||
} | ||
|
||
inst m: Module71A #(T1: param_type, T2: type_type, T3: struct_type, /*T4: logic,*/); | ||
} | ||
|
||
module Module71A #( | ||
param T1: type = logic, | ||
param T2: type = logic, | ||
param T3: type = logic, | ||
param T4: type = logic, | ||
) {} |