aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
authorJack Koenig2017-06-12 13:58:26 -0700
committerJack Koenig2017-06-12 18:52:46 -0700
commit541003c59c73ecce6d38020ecc3cf537dd214fd9 (patch)
tree22e8518a40673c408ec06c907c3f61c6449cdfab /src/test/resources
parent317115b7a0ce21d5848e985988c777f9931af241 (diff)
Add option to disable combinational loop detection
Resolves #600
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))