aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/cells_box.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/xilinx/cells_box.v')
-rw-r--r--techlibs/xilinx/cells_box.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/techlibs/xilinx/cells_box.v b/techlibs/xilinx/cells_box.v
new file mode 100644
index 000000000..ef6f81d27
--- /dev/null
+++ b/techlibs/xilinx/cells_box.v
@@ -0,0 +1,19 @@
+(* abc_box_id = 1 *)
+module MUXF7(output O, input I0, I1, S);
+ assign O = S ? I1 : I0;
+endmodule
+
+(* abc_box_id = 2 *)
+module MUXF8(output O, input I0, I1, S);
+ assign O = S ? I1 : I0;
+endmodule
+
+(* abc_box_id = 3 *)
+module MUXCY(output O, input CI, DI, S);
+ assign O = S ? CI : DI;
+endmodule
+
+(* abc_box_id = 4 *)
+module XORCY(output O, input CI, LI);
+ assign O = CI ^ LI;
+endmodule