diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-07-30 12:50:39 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-07-30 12:50:39 +0200 |
commit | 21e1bac0846e01fb58ae1fd42215b92f245ae18d (patch) | |
tree | 43c1c9fff3a78d7221c6e5dfbfebe820b311afa1 /kernel/rtlil.cc | |
parent | 5fe13a16eaaee4ac53523b5325cb9d92b5a1150d (diff) | |
parent | da56a5bbc60e58c305227105b68654264738c241 (diff) | |
download | yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.tar.gz yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.tar.bz2 yosys-21e1bac0846e01fb58ae1fd42215b92f245ae18d.zip |
Merge branch 'master' of github.com:cliffordwolf/yosys
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 2e5157e85..ad90965fb 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -1030,6 +1030,12 @@ namespace { return; } + if (cell->type.in("$aconst", "$anyconst")) { + port("\\Y", param("\\WIDTH")); + check_expected(); + return; + } + if (cell->type == "$equiv") { port("\\A", 1); port("\\B", 1); |