diff options
| author | azidar | 2015-05-26 17:33:40 -0700 |
|---|---|---|
| committer | azidar | 2015-05-26 17:33:40 -0700 |
| commit | cf80ff9c83c2fedd42ec186a3e342520c89f91ab (patch) | |
| tree | ebbf3455b91e8840d49057754585d567dacea384 /test/features | |
| parent | eb125225cb96875f31a9af0db187406782b75223 (diff) | |
Added <>. Added additional checks for primops. Added new chisel3 files.
Diffstat (limited to 'test/features')
| -rw-r--r-- | test/features/BulkConnect.fir | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/features/BulkConnect.fir b/test/features/BulkConnect.fir new file mode 100644 index 00000000..eab0e602 --- /dev/null +++ b/test/features/BulkConnect.fir @@ -0,0 +1,28 @@ +; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s +;CHECK: Lower To Ground +circuit Top : + module Top : + wire a : { w : UInt<42>, x : UInt<10>, flip y : UInt<42>, z : SInt<42>} + wire b : { w : UInt<42>, x : UInt<20>, y : UInt<42>, z : UInt<42>} + a <> b + ; CHECK: a_w := b_w + ; CHECK: a_x := b_x + ; CHECK-NOT: a_y := b_y + ; CHECK-NOT: b_y := a_y + ; CHECK-NOT: a_z := b_z + + + wire c : { x : { y : UInt<1>, z : UInt<1>}}[4] + wire d : { x : { y : UInt<1>}}[2] + c <> d + ; CHECK: c_0_x_y := d_0_x_y + ; CHECK: c_1_x_y := d_1_x_y + ; CHECK-NOT: c_2_x_y := d_2_x_y + ; CHECK-NOT: c_3_x_y := d_3_x_y + ; CHECK-NOT: c_0_x_z := d_0_x_z + ; CHECK-NOT: c_1_x_z := d_1_x_z + ; CHECK-NOT: c_2_x_z := d_2_x_z + ; CHECK-NOT: c_3_x_z := d_3_x_z + +;CHECK: Finished Lower To Ground +;CHECK: Done! |
