Convert fire() to fire
This commit is contained in:
Submodule generators/boom updated: 68e767400c...42dc388e75
@@ -52,7 +52,7 @@ class InitZeroModuleImp(outer: InitZero) extends LazyModuleImp(outer) {
|
|||||||
state := s_resp
|
state := s_resp
|
||||||
}
|
}
|
||||||
|
|
||||||
when (mem.d.fire()) {
|
when (mem.d.fire) {
|
||||||
state := Mux(bytesLeft === 0.U, s_done, s_write)
|
state := Mux(bytesLeft === 0.U, s_done, s_write)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class GenericFIRDirectCell[T<:Data:Ring](genIn: T, genOut: T) extends Module {
|
|||||||
|
|
||||||
// When a new transaction is ready on the input, we will have new data to output
|
// When a new transaction is ready on the input, we will have new data to output
|
||||||
// next cycle. Take this data in
|
// next cycle. Take this data in
|
||||||
when (io.in.fire()) {
|
when (io.in.fire) {
|
||||||
hasNewData := 1.U
|
hasNewData := 1.U
|
||||||
inputReg := io.in.bits.data
|
inputReg := io.in.bits.data
|
||||||
}
|
}
|
||||||
@@ -123,7 +123,7 @@ class GenericFIRDirectCell[T<:Data:Ring](genIn: T, genOut: T) extends Module {
|
|||||||
// We should output data when our cell has new data to output and is ready to
|
// We should output data when our cell has new data to output and is ready to
|
||||||
// recieve new data. This insures that every cell in the chain passes its data
|
// recieve new data. This insures that every cell in the chain passes its data
|
||||||
// on at the same time
|
// on at the same time
|
||||||
io.out.valid := hasNewData & io.in.fire()
|
io.out.valid := hasNewData & io.in.fire
|
||||||
io.out.bits.data := inputReg
|
io.out.bits.data := inputReg
|
||||||
|
|
||||||
// Compute carry
|
// Compute carry
|
||||||
|
|||||||
Submodule generators/gemmini updated: 5687ff9f80...a99a4eee1e
Submodule generators/hwacha updated: 062e46e36d...34aaffd206
Submodule generators/icenet updated: 2d4022de45...af7253dea9
Submodule generators/riscv-sodor updated: 7b19a1c74f...f8892559c6
Submodule generators/testchipip updated: c8f4cf2fb5...aaf0cd1810
@@ -66,10 +66,10 @@ class BoomLSUShim(implicit p: Parameters) extends BoomModule()(p)
|
|||||||
tracegen_uop.ctrl.is_sta := isWrite(io.tracegen.req.bits.cmd)
|
tracegen_uop.ctrl.is_sta := isWrite(io.tracegen.req.bits.cmd)
|
||||||
tracegen_uop.ctrl.is_std := isWrite(io.tracegen.req.bits.cmd)
|
tracegen_uop.ctrl.is_std := isWrite(io.tracegen.req.bits.cmd)
|
||||||
|
|
||||||
io.lsu.dis_uops(0).valid := io.tracegen.req.fire()
|
io.lsu.dis_uops(0).valid := io.tracegen.req.fire
|
||||||
io.lsu.dis_uops(0).bits := tracegen_uop
|
io.lsu.dis_uops(0).bits := tracegen_uop
|
||||||
|
|
||||||
when (io.tracegen.req.fire()) {
|
when (io.tracegen.req.fire) {
|
||||||
rob_tail := WrapInc(rob_tail, rob_sz)
|
rob_tail := WrapInc(rob_tail, rob_sz)
|
||||||
rob_bsy(rob_tail) := true.B
|
rob_bsy(rob_tail) := true.B
|
||||||
rob_uop(rob_tail) := tracegen_uop
|
rob_uop(rob_tail) := tracegen_uop
|
||||||
@@ -111,7 +111,7 @@ class BoomLSUShim(implicit p: Parameters) extends BoomModule()(p)
|
|||||||
|
|
||||||
assert(!io.lsu.lxcpt.valid)
|
assert(!io.lsu.lxcpt.valid)
|
||||||
|
|
||||||
io.lsu.exe(0).req.valid := RegNext(io.tracegen.req.fire())
|
io.lsu.exe(0).req.valid := RegNext(io.tracegen.req.fire)
|
||||||
io.lsu.exe(0).req.bits := DontCare
|
io.lsu.exe(0).req.bits := DontCare
|
||||||
io.lsu.exe(0).req.bits.uop := RegNext(tracegen_uop)
|
io.lsu.exe(0).req.bits.uop := RegNext(tracegen_uop)
|
||||||
io.lsu.exe(0).req.bits.addr := RegNext(io.tracegen.req.bits.addr)
|
io.lsu.exe(0).req.bits.addr := RegNext(io.tracegen.req.bits.addr)
|
||||||
|
|||||||
Reference in New Issue
Block a user