1
0

don't connect rocc-fpu-port without rocc accel

This commit is contained in:
Colin Schmidt 2015-09-08 14:42:34 -07:00
parent 3d6a060dc3
commit d292b6cb13

View File

@ -492,7 +492,7 @@ class Rocket extends CoreModule
io.rocc.cmd.bits.rs1 := wb_reg_wdata
io.rocc.cmd.bits.rs2 := wb_reg_rs2
if (!params(BuildFPU).isEmpty) {
if (!params(BuildFPU).isEmpty && !params(BuildRoCC).isEmpty) {
io.fpu.cp_req <> io.rocc.fpu_req
io.fpu.cp_resp <> io.rocc.fpu_resp
} else {