quasar/el2_ifu_bp_ctl.fir

13 lines
484 B
Plaintext
Raw Normal View History

2020-09-07 16:27:29 +08:00
;buildInfoPackage: chisel3, version: 3.3.1, scalaVersion: 2.12.11, sbtVersion: 1.3.10
circuit el2_ifu_bp_ctl :
module el2_ifu_bp_ctl :
input clock : Clock
input reset : UInt<1>
2020-09-08 13:00:45 +08:00
output io : {flip in : UInt<32>, flip in2 : UInt<32>, out : UInt}
2020-09-07 16:27:29 +08:00
2020-09-08 22:00:03 +08:00
node _T = bits(io.in, 9, 2) @[el2_lib.scala 35:30]
node _T_1 = bits(io.in2, 7, 0) @[el2_lib.scala 35:53]
node _T_2 = xor(_T, _T_1) @[el2_lib.scala 35:48]
2020-09-08 13:00:45 +08:00
io.out <= _T_2 @[el2_ifu_bp_ctl.scala 13:10]
2020-09-07 16:27:29 +08:00