summaryrefslogtreecommitdiff
path: root/tests/liberty/small.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/liberty/small.v')
-rw-r--r--tests/liberty/small.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/liberty/small.v b/tests/liberty/small.v
new file mode 100644
index 00000000..bd94be4f
--- /dev/null
+++ b/tests/liberty/small.v
@@ -0,0 +1,16 @@
+/** small, meaningless design to test loading of liberty files */
+
+module small
+(
+ input clk,
+ output reg[7:0] count
+);
+
+initial count = 0;
+
+always @ (posedge clk)
+begin
+ count <= count + 1'b1;
+end
+
+endmodule