diff options
| author | jackbackrack | 2015-04-20 15:21:30 -0700 |
|---|---|---|
| committer | jackbackrack | 2015-04-20 15:21:30 -0700 |
| commit | 6204b6d44aef2f47a8009ad06dfd4e09ce7ce950 (patch) | |
| tree | 8795de870f20086b0615f7c402c234b79e6a71a0 /test/chisel3/RegisterVecShift.fir | |
| parent | 5298af3dffcd0985922a2a8317fa6a67e192a9c0 (diff) | |
| parent | 7617e33993abf9f6be357e0261755a4736c2e085 (diff) | |
merge
Diffstat (limited to 'test/chisel3/RegisterVecShift.fir')
| -rw-r--r-- | test/chisel3/RegisterVecShift.fir | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/chisel3/RegisterVecShift.fir b/test/chisel3/RegisterVecShift.fir deleted file mode 100644 index 772c3d54..00000000 --- a/test/chisel3/RegisterVecShift.fir +++ /dev/null @@ -1,34 +0,0 @@ -circuit RegisterVecShift : - module RegisterVecShift : - input load : UInt(1) - output out : UInt(4) - input shift : UInt(1) - input ins : UInt(4)[4] - - reg delays : UInt(4)[4] - when reset : - node T_39 : UInt(4) = UInt(0, 4) - node T_40 : UInt(4) = UInt(0, 4) - node T_41 : UInt(4) = UInt(0, 4) - node T_42 : UInt(4) = UInt(0, 4) - wire T_43 : UInt(4)[4] - T_43.0 := T_39 - T_43.1 := T_40 - T_43.2 := T_41 - T_43.3 := T_42 - delays := T_43 - node T_44 : UInt(3) = UInt(5, 3) - node T_45 : UInt(3) = bit-and(T_44, load) - node T_46 : UInt(3) = UInt(4, 3) - node T_47 : UInt(1) = equal(T_45, T_46) - when T_47 : - delays.0 := ins.0 - delays.1 := ins.1 - delays.2 := ins.2 - delays.3 := ins.3 - else : when shift : - delays.0 := ins.0 - delays.1 := delays.0 - delays.2 := delays.1 - delays.3 := delays.2 - out := delays.3
\ No newline at end of file |
