aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ghdl/ghdl.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ghdl/ghdl.cc b/ghdl/ghdl.cc
index 78d1571..9c5dfd4 100644
--- a/ghdl/ghdl.cc
+++ b/ghdl/ghdl.cc
@@ -189,6 +189,8 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m)
Module_Id id = get_id(im);
switch (id) {
case Id_And:
+ case Id_Or:
+ case Id_Xor:
case Id_Add:
case Id_Mux2:
case Id_Mux4:
@@ -238,6 +240,12 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m)
case Id_And:
module->addAnd(to_str(iname), IN(0), IN(1), OUT(0));
break;
+ case Id_Or:
+ module->addOr(to_str(iname), IN(0), IN(1), OUT(0));
+ break;
+ case Id_Xor:
+ module->addXor(to_str(iname), IN(0), IN(1), OUT(0));
+ break;
case Id_Add:
module->addAdd(to_str(iname), IN(0), IN(1), OUT(0));
break;