aboutsummaryrefslogtreecommitdiff
path: root/test/features/MuxType.fir
blob: b0e7e7efe9569d0631da14bf552d529db47e749c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
;CHECK: Expand Connects
circuit Top : 
  module Top : 
    input a: UInt<1>
    input b: UInt<32>
    input p : UInt<1>
    output d: UInt
    node y = mux(p, a, b)
    d <= y
;CHECK:Done!