diff options
Diffstat (limited to 'test/passes/infer-widths/simple.fir')
| -rw-r--r-- | test/passes/infer-widths/simple.fir | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/passes/infer-widths/simple.fir b/test/passes/infer-widths/simple.fir new file mode 100644 index 00000000..f98d98da --- /dev/null +++ b/test/passes/infer-widths/simple.fir @@ -0,0 +1,13 @@ +; RUN: firrtl %s abcefghipjk cT | tee %s.out | FileCheck %s + +;CHECK: Infer Widths +circuit top : + module top : + wire e : UInt + wire x : UInt + reg y : UInt + y := mux-uu(e, UInt(1), equal-uu(gt-uu(x, x), UInt(0))) + + +; CHECK: Finished Infer Widths + |
