diff options
| author | azidar | 2016-02-09 14:48:12 -0800 |
|---|---|---|
| committer | azidar | 2016-02-09 18:57:08 -0800 |
| commit | bb5f68948c6d75d1f02c614f3e0ae4ef9bc6e689 (patch) | |
| tree | 0ac38af05f64eb454d2c0925f34f5dae53d41f61 /test/parser/dshl.fir | |
| parent | 57473f4c6a9f35752bb71fc7b8d6b54471aeaa07 (diff) | |
Added remaining check passes. Ready for open sourcing
Diffstat (limited to 'test/parser/dshl.fir')
| -rw-r--r-- | test/parser/dshl.fir | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/parser/dshl.fir b/test/parser/dshl.fir new file mode 100644 index 00000000..99a6ec7d --- /dev/null +++ b/test/parser/dshl.fir @@ -0,0 +1,14 @@ +; RUN: firrtl -i %s -o %s.out -X firrtl && cat %s.out | FileCheck %s +circuit GCD : + module GCD : + input a : UInt<63> + input b : UInt<63> + input sign : UInt<1> + output d : UInt + ;wire T_205 : UInt + node T_203 = UInt<6>("h3f") + node normCount = not(T_203) + node absIn = mux(sign, a, b) + node T_205 = dshl(absIn, normCount) + d <= T_205 + |
