mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
support using previously declared types/localparams/params in package
(parameters in systemverilog packages can't actually be overridden, so allowing parameters in addition to localparams doesn't actually add any new functionality, but it's useful to be able to use the parameter keyword also)
This commit is contained in:
parent
ebf23cd62e
commit
249876b614
3 changed files with 33 additions and 4 deletions
|
@ -521,7 +521,8 @@ package_body:
|
|||
|
||||
package_body_stmt:
|
||||
typedef_decl |
|
||||
localparam_decl;
|
||||
localparam_decl |
|
||||
param_decl;
|
||||
|
||||
interface:
|
||||
TOK_INTERFACE {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue