; RUN: firrtl -i %s -o %s.v -X verilog -p cTwd 2>&1 | tee %s.out | FileCheck %s ;CHECK: Infer Widths circuit top : module top : input clk : Clock input reset : UInt<1> wire e : UInt<30> e <= UInt(1) reg y : UInt,clk,reset,y y <= e wire a : UInt<20> a <= UInt(1) wire b : UInt<10> b <= UInt(1) wire c : UInt c <= UInt(1) wire z : UInt z <= mux(c,a,b) ; CHECK: Finished Infer Widths ; CHECK: Done!