aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/features/HasLoops.fir
blob: 341937fa0280af262786931a60713d635694c106 (plain)
1
2
3
4
5
6
7
8
9
10
; SPDX-License-Identifier: Apache-2.0
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))