diff options
author | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-11-24 05:58:32 -0800 |
---|---|---|
committer | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2017-11-24 05:58:32 -0800 |
commit | 7aa0f8b9184dbc921e50529f5acefbfad70cb5b7 (patch) | |
tree | 113c209265a5fc67d7050d379360e00bcf81a63d /src/vhd2vl.y | |
parent | b4a19aee6840dfecc26a0db7eec3c85211440c38 (diff) | |
download | vhdl2vl-7aa0f8b9184dbc921e50529f5acefbfad70cb5b7.tar.gz vhdl2vl-7aa0f8b9184dbc921e50529f5acefbfad70cb5b7.zip |
Add missing CONVFUNC_1 to grammar
Allows completion of dsp.vhd changes from previous commit
Diffstat (limited to 'src/vhd2vl.y')
-rw-r--r-- | src/vhd2vl.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhd2vl.y b/src/vhd2vl.y index 0a20896..20bab8e 100644 --- a/src/vhd2vl.y +++ b/src/vhd2vl.y @@ -2328,6 +2328,9 @@ expr : signal { /* single argument type conversion function e.g. std_logic_vector(x) */ $$ = addnest($3); } + | CONVFUNC_1 '(' expr ')' { + $$ = addnest($3); + } | CONVFUNC_2 '(' expr ',' expr ')' { /* two argument type conversion e.g. to_unsigned(x, 3) */ $$ = addnest($3); |