mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Fix handling of unique/unique0/priority cases in the frontend.
Basically: - priority converts to (* full_case *) - unique0 converts to (* parallel_case *) - unique converts to (* parallel_case, full_case *) Fixes #2596.
This commit is contained in:
parent
dcd9f0af23
commit
a651204efa
2 changed files with 17 additions and 16 deletions
|
@ -234,7 +234,7 @@ static bool isUserType(std::string &s)
|
|||
"automatic" { return TOK_AUTOMATIC; }
|
||||
|
||||
"unique" { SV_KEYWORD(TOK_UNIQUE); }
|
||||
"unique0" { SV_KEYWORD(TOK_UNIQUE); }
|
||||
"unique0" { SV_KEYWORD(TOK_UNIQUE0); }
|
||||
"priority" { SV_KEYWORD(TOK_PRIORITY); }
|
||||
|
||||
"always_comb" { SV_KEYWORD(TOK_ALWAYS_COMB); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue