diff options
author | David Shah <dave@ds0.me> | 2019-08-08 11:40:09 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-08-08 11:40:09 +0100 |
commit | 83b2e0272333cfcc2529e0833723a52c066146a6 (patch) | |
tree | 9985b7f840383419ebd5b189023ca6871a02d5a9 /backends/blif/blif.cc | |
parent | b8cd4ad64ae9a45faecffc1a6b92a8219755bc60 (diff) | |
parent | fb568ddb4e2ccaab352d9d062f6b4926aca75680 (diff) | |
download | yosys-83b2e0272333cfcc2529e0833723a52c066146a6.tar.gz yosys-83b2e0272333cfcc2529e0833723a52c066146a6.tar.bz2 yosys-83b2e0272333cfcc2529e0833723a52c066146a6.zip |
Merge branch 'xc7dsp' of github.com:YosysHQ/yosys into xc7dsp
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r-- | backends/blif/blif.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index a1761b662..f32b0f533 100644 --- a/backends/blif/blif.cc +++ b/backends/blif/blif.cc @@ -327,6 +327,13 @@ struct BlifDumper goto internal_cell; } + if (!config->icells_mode && cell->type == "$_NMUX_") { + f << stringf(".names %s %s %s %s\n0-0 1\n-01 1\n", + cstr(cell->getPort("\\A")), cstr(cell->getPort("\\B")), + cstr(cell->getPort("\\S")), cstr(cell->getPort("\\Y"))); + goto internal_cell; + } + if (!config->icells_mode && cell->type == "$_FF_") { f << stringf(".latch %s %s%s\n", cstr(cell->getPort("\\D")), cstr(cell->getPort("\\Q")), cstr_init(cell->getPort("\\Q"))); |