ucb-bar / hwacha

Microarchitecture implementation of the decoupled vector-fetch accelerator
http://hwacha.org/
148 stars 42 forks source link

VRU support #14

Closed roychen1998 closed 4 years ago

roychen1998 commented 4 years ago

I notice that VRU support is removed 5/22/2017 by Colin with the comments "TODO: Fix prefetcher using TL2 Hints"

Is there any plan on bringing VRU back? BTW, what will happen if the submit in 5/22/2017 is reverted? Any bug in VRU?

Best Regard, Roy

roychen1998 commented 4 years ago

Hi all,

I am now trying to make VRU works and I found an issue below:

vru.scala: val loaded_inst = io.imem.resp.bits.data; require(fetchWidth == 1) RocketCore.scala: val fetchWidth: Int = if (useCompressed) 2 else 1

Is that means vru cannot work together with compressed instruction? Why there is such a constraint in vru? Can I remove it?

Best Regard, Roy

roychen1998 commented 4 years ago

Change to: require(io.imem.resp.bits.data.getWidth == HwachaElementInstBytes*8) Looks like work.