From 762c8b588ed81560792db16b9f50f7941fff85a1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 7 Sep 2019 07:04:19 +0200 Subject: Fix incomplete handling of Concatn --- src/ghdl.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3