mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Merge pull request #1879 from jjj11x/jjj11x/package_decl
support using previously declared types/localparams/parameters in package
This commit is contained in:
commit
f41c7ccfff
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