aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/features/HasLoops.fir9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/resources/features/HasLoops.fir b/src/test/resources/features/HasLoops.fir
new file mode 100644
index 00000000..e238761d
--- /dev/null
+++ b/src/test/resources/features/HasLoops.fir
@@ -0,0 +1,9 @@
+circuit HasLoops :
+ module HasLoops :
+ input i : UInt<1>
+ output o : UInt<1>
+ wire a : UInt<1>
+ wire b : UInt<1>
+ a <= and(b,i)
+ b <= not(a)
+ o <= add(a, UInt(1))