Skip to content

Correct initialization in LaneCtrl #10

Open
donggyukim wants to merge 2 commits into
masterfrom
init-strip
Open

Correct initialization in LaneCtrl #10
donggyukim wants to merge 2 commits into
masterfrom
init-strip

Conversation

@donggyukim

Copy link
Copy Markdown

This seems to be necessary.

@colinschmidt

Copy link
Copy Markdown
Contributor

How long did you hold reset? Pipelined reset in Hwacha is a bit longer than in Rocket.

@donggyukim

Copy link
Copy Markdown
Author

5 cycles. But, I believe this is due to:
https://github.com/ucb-bar/hwacha/blob/master/src/main/scala/lane-ctrl.scala#L66

If its value is greater than nSlices, it'll unexpectedly fire.

I actually got this assertion at the beginning of simulation:

Assertion failed: check sreg sched logic vqu_0
    at lane.scala:184 assert(!uop.valid || !uop.bits.sreg(i) || ctrl.io.uop.sreg(ri).valid, "check sreg sched logic "+name+"_"+i)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants