Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MegaBoomConfig & MediumBoomConfig Build fails due to require(nWays == 4) in src/main/scala/bpu/dense-btb.scala #20

Open
jhwangus opened this issue Dec 4, 2018 · 0 comments

Comments

@jhwangus
Copy link

jhwangus commented Dec 4, 2018

I got the master branch at 7208cba and followed the step to build, all the way to verisim except for disabling the build for riscv-openocd.

build-rv64g.sh
#build_project riscv-openocd --prefix=$RISCV --enable-remote-bitbang --enable-jtag_vpi --disable-werror

$ cd verisim
$ make
$ make CONFIG=SmallBoomConfig

Above, both successful.

$ make CONFIG=MediumBoomConfig
$ make CONFIG=MegaBoomConfig

Both fail at dense-btb.scala:100

[error] Caused by: java.lang.IllegalArgumentException: requirement failed
[error] at scala.Predef$.require(Predef.scala:264)
[error] at boom.bpu.DenseBTB.(dense-btb.scala:100)
[error] at boom.bpu.BoomBTB$.$anonfun$apply$2(btb.scala:199)
[error] at chisel3.core.Module$.do_apply(Module.scala:49)

src/main/scala/bpu/dense-btb.scala: 100
require(nWays == 4)

Both configs have nWays=2 for BoomBTBParameters.

If I comment out this line then MediumBoomConfig can be built successfully. MegaBoomConfig will not report this error but stuck at a different place:

[error] Caused by: java.lang.IllegalArgumentException: requirement failed: Handling aliases in the ICache is buggy.
[error] at scala.Predef$.require(Predef.scala:277)
[error] at boom.common.HasBoomCoreParameters.$init$(parameters.scala:165)
[error] at boom.common.BoomBundle.(types.scala:12)

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

No branches or pull requests

1 participant