aboutsummaryrefslogtreecommitdiffstats
path: root/generic/examples/simple.v
diff options
context:
space:
mode:
Diffstat (limited to 'generic/examples/simple.v')
-rw-r--r--generic/examples/simple.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/generic/examples/simple.v b/generic/examples/simple.v
new file mode 100644
index 00000000..6d337101
--- /dev/null
+++ b/generic/examples/simple.v
@@ -0,0 +1,15 @@
+(* blackbox *)
+module SLICE_LUT4(
+ input I0, I1, I2, I3,
+ input CLK,
+ output Q
+);
+parameter INIT = 16'h0000;
+parameter FF_USED = 1'b0;
+endmodule
+
+module top(input a, output q);
+
+SLICE_LUT4 sl_i(.I0(a), .Q(q));
+
+endmodule \ No newline at end of file