blob: 4705aa75dd043588cab8acf08cf35813b101b95c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; RUN: firrtl -i %s -o %s.out -X firrtl && cat %s.out | FileCheck %s
circuit GCD :
module GCD :
input e : UInt<1>
input f : UInt<1>
input g : UInt<1>
output o : UInt<1>
node y = f
node z = f
node x = mux(UInt<1>(0),y,z)
o <= x
|