aboutsummaryrefslogtreecommitdiff
path: root/test/passes/remove-accesses/simple10.fir
blob: b213f372d24f62bbbd4ee0837cc15655de62f3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: firrtl -i %s -o %s.v -X verilog -p cg 2>&1 | tee %s.out | FileCheck %s

;CHECK: Done!

circuit DecoupledAdderTests : 
  module DecoupledAdderTests : 
    input clock : Clock
    input reset : UInt<1>
    input T_31 : UInt<1>
    input T_68 : UInt<1>
    output out : UInt
    output io : {}
    wire T_43 : {flip ready : UInt<1>}[1]
    T_43[0].ready <= UInt(0)
    node T_78 = and(T_68, T_43[T_31].ready)
    out <= T_78