Merge remote-tracking branch 'origin/master' into xaig
[yosys.git] / kernel / celltypes.h
index f8c73ed83204254b6377b87b9ebe2700c151dc8a..4e91edddac7c6d2911257692ed022e7df20e662a 100644 (file)
@@ -86,6 +86,7 @@ struct CellTypes
 
                IdString A = "\\A", B = "\\B", EN = "\\EN", Y = "\\Y";
                IdString SRC = "\\SRC", DST = "\\DST", DAT = "\\DAT";
+               IdString EN_SRC = "\\EN_SRC", EN_DST = "\\EN_DST";
 
                setup_type("$tribuf", {A, EN}, {Y}, true);
 
@@ -102,6 +103,7 @@ struct CellTypes
                setup_type("$equiv", {A, B}, {Y}, true);
                setup_type("$specify2", {EN, SRC, DST}, pool<RTLIL::IdString>(), true);
                setup_type("$specify3", {EN, SRC, DST, DAT}, pool<RTLIL::IdString>(), true);
+               setup_type("$specrule", {EN_SRC, EN_DST, SRC, DST}, pool<RTLIL::IdString>(), true);
        }
 
        void setup_internals_eval()