mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
static cast: support changing size and signedness
Support SystemVerilog Static Cast - size - signedness - (type is not supposted yet) Fix #535
This commit is contained in:
parent
338ecbe02f
commit
185bbbe681
6 changed files with 48 additions and 0 deletions
|
@ -517,6 +517,8 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
|||
"<<<" { return OP_SSHL; }
|
||||
">>>" { return OP_SSHR; }
|
||||
|
||||
"'" { return OP_CAST; }
|
||||
|
||||
"::" { return TOK_PACKAGESEP; }
|
||||
"++" { return TOK_INCREMENT; }
|
||||
"--" { return TOK_DECREMENT; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue