mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
sv: support tasks and functions within packages
This commit is contained in:
parent
6d5d845788
commit
8cfed1a979
5 changed files with 56 additions and 2 deletions
|
@ -593,7 +593,7 @@ package_body:
|
|||
package_body package_body_stmt | %empty;
|
||||
|
||||
package_body_stmt:
|
||||
typedef_decl | localparam_decl | param_decl;
|
||||
typedef_decl | localparam_decl | param_decl | task_func_decl;
|
||||
|
||||
interface:
|
||||
TOK_INTERFACE {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue