aboutsummaryrefslogtreecommitdiff
path: root/test/simple.fir
blob: d00f8f7a09923a87de554ce4cb65a029d0a122f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: firrtl %s ab | tee %s.out | FileCheck %s

circuit top :
   module subtracter :
      input x : UInt
      input y : UInt
      output z : UInt
      z := sub-mod(x, y)
; CHECK: output z : UInt
; CHECK: port:z := sub-mod(port:x, port:y)