aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdl.cc')
-rw-r--r--src/ghdl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ghdl.cc b/src/ghdl.cc
index aa6f129..fb6cb8e 100644
--- a/src/ghdl.cc
+++ b/src/ghdl.cc
@@ -757,6 +757,7 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m)
case Id_Idff:
case Id_Adff:
case Id_Iadff:
+ case Id_Dlatch:
case Id_Eq:
case Id_Ne:
case Id_Ult:
@@ -1089,6 +1090,9 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m)
}
}
break;
+ case Id_Dlatch:
+ module->addDlatch(to_str(iname), IN(1), IN(0), OUT(0));
+ break;
case Id_User_None:
case Id_User_Parameters:
{