From cfd79c731b0828a63924176def168d905dbb562d Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 21 Feb 2012 17:42:00 -0800 Subject: [PATCH] add resp_type to ext_mem interface --- rocket/src/main/scala/dpath.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rocket/src/main/scala/dpath.scala b/rocket/src/main/scala/dpath.scala index 9b167c5e..c595db6d 100644 --- a/rocket/src/main/scala/dpath.scala +++ b/rocket/src/main/scala/dpath.scala @@ -33,7 +33,7 @@ class ioDpathAll extends Bundle() val ctrl = new ioCtrlDpath().flip(); val debug = new ioDebug(); val dmem = new ioDpathDmem(); - val ext_mem = new ioDmem(List("req_val", "req_idx", "req_ppn", "req_data", "req_tag", "resp_val", "resp_data", "resp_tag")) + val ext_mem = new ioDmem(List("req_val", "req_idx", "req_ppn", "req_data", "req_tag", "resp_val", "resp_data", "resp_type", "resp_tag")) val imem = new ioDpathImem(); val ptbr_wen = Bool(OUTPUT); val ptbr = UFix(PADDR_BITS, OUTPUT); @@ -457,6 +457,7 @@ class rocketDpath extends Component io.ext_mem.resp_val := Reg(io.dmem.resp_val && dmem_resp_ext, resetVal = Bool(false)) io.ext_mem.resp_tag := Reg(dmem_resp_ext_tag) + io.ext_mem.resp_type := Reg(io.dmem.resp_type) io.ext_mem.resp_data := io.dmem.resp_data_subword io.ctrl.wb_waddr := wb_reg_waddr;