diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-07 07:04:19 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-07 07:04:50 +0200 |
commit | 762c8b588ed81560792db16b9f50f7941fff85a1 (patch) | |
tree | 90c220ff7f282a69db9ed89be15d8c65da67143f /src | |
parent | 4f3462be120ad924ae1f6df5cc59a2d0a87f459d (diff) | |
download | ghdl-yosys-plugin-762c8b588ed81560792db16b9f50f7941fff85a1.tar.gz ghdl-yosys-plugin-762c8b588ed81560792db16b9f50f7941fff85a1.tar.bz2 ghdl-yosys-plugin-762c8b588ed81560792db16b9f50f7941fff85a1.zip |
Fix incomplete handling of Concatn
Diffstat (limited to 'src')
-rw-r--r-- | src/ghdl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ghdl.cc b/src/ghdl.cc index e92e7e9..05ef521 100644 --- a/src/ghdl.cc +++ b/src/ghdl.cc @@ -421,8 +421,8 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m) } break; case Id_Adff: - module->addAdff(to_str(iname), IN(0), IN(2), IN(1), OUT(0), IN(3).as_const()); - break; + module->addAdff(to_str(iname), IN(0), IN(2), IN(1), OUT(0), IN(3).as_const()); + break; case Id_Mux4: { SigSpec Sel0 = IN(0).extract(0, 1); @@ -482,6 +482,7 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m) case Id_Concat2: case Id_Concat3: case Id_Concat4: + case Id_Concatn: case Id_Edge: break; #undef IN |