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

How to Remove PTW from Rocket Core. #3536

Open
ashutgupta28 opened this issue Nov 23, 2023 · 2 comments
Open

How to Remove PTW from Rocket Core. #3536

ashutgupta28 opened this issue Nov 23, 2023 · 2 comments

Comments

@ashutgupta28
Copy link

Hi.
I don't want PTW in my Rocket SoC because I am not using Virtual Memory. I have tried to remove it class from the Tile.scala but I am getting the compiler error.

Can someone help how can I remove it ?

@ncppd
Copy link
Contributor

ncppd commented Dec 8, 2023

You can change

to false

@ashutgupta28
Copy link
Author

@ncppd
I have tried this but I am encounter error while compiling .

buildTopClockGenerator Frequency Summary
  Input Reference Frequency: 100.0 MHz
  Output clock subsystem_sbus_0, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock subsystem_sbus_1, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock subsystem_pbus_0, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock subsystem_fbus_0, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock subsystem_mbus_0, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock subsystem_cbus_0, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
  Output clock implicit_clock, requested: 100.0 MHz, actual: 100.0 MHz (division of 1)
mem AXI4-ID <= TL-Source mapping:
	[ 0, 16) <= [ 0, 16) "TLBroadcast"

[error] PTW.scala:291: High index 26 is out of range [0, 20] in class freechips.rocketchip.rocket.PTW
[error] There were 1 error(s) during hardware elaboration.
[error] (run-main-0) chisel3.internal.Errors: Fatal errors during hardware elaboration. Look above for error list. Rerun with --throw-on-first-error if you wish to see a stack trace.
[error] chisel3.internal.Errors: Fatal errors during hardware elaboration. Look above for error list. Rerun with --throw-on-first-error if you wish to see a stack trace.
[error] stack trace is suppressed; run last Compile / bgRunMain for the full output
[error] Nonzero exit code: 1
[error] (Compile / runMain) Nonzero exit code: 1
[error] Total time: 38 s, completed 10-Dec-2023, 12:39:33 am

How Can I solve it ?

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

2 participants