Open hadirkhan10 opened 3 years ago
I believe this was answered in the following thread: https://groups.google.com/u/1/g/chipyard/c/fHvnRREsV5A
No @alonamid that answer was based on the release: 1.3.0. This release has a different configuration for the L1ScratchpadRocketConfig
i.e it has separate ICache and DCache configured as scratchpad memories. What is the point of adding a configuration if it does not work? Or is there another way to make the tests run on this config? I am interested in a small design with only separate scratchpad memories for instruction and data.
The best minimal config is ScratchpadOnlyRocketConfig.
L1ScratchPadRocketConfig is an odd design that does not work with the default simulated bringup behavior, as the ScratchPad caches do not allow access to the backing memory, where the payload is loaded. In contrast, ScratchPadOnlyRocketConfig contains only scratchpad caches, and no backing memory. In that config, the payload is loaded directly into the scratchpad (since the scratchpad is assigned the physical addr of the normal DRAM base addr).
In the future, to reduce confusion, we may remove L1ScratchpadRocketConfig.
Hi Jerry,
Is there a config or adjustment with which I can completely remove the caching protocol and use small on-chip srams for instructions and data storage? I am looking for a small embedded design.
On Sun, Jan 24, 2021, 2:26 AM Jerry Zhao notifications@github.com wrote:
The best minimal config is ScratchpadOnlyRocketConfig.
L1ScratchPadRocketConfig is an odd design that does not work with the default simulated bringup behavior, as the ScratchPad caches do not allow access to the backing memory, where the payload is loaded. In contrast, ScratchPadOnlyRocketConfig contains only scratchpad caches, and no backing memory. In that config, the payload is loaded directly into the scratchpad (since the scratchpad is assigned the physical addr of the normal DRAM base addr).
In the future, to reduce confusion, we may remove L1ScratchpadRocketConfig.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ucb-bar/chipyard/issues/768#issuecomment-766181828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ3VOQPB64UDGD4TVGO53ETS3M5JHANCNFSM4WMZS5GA .
Hi, @hadirkhan10 @jerryz123 Sorry to bother you. I wonder that did you figure out that how to completely remove the L1 ICache and DCache, I want to use scratchpad instead. All I found on the Internet, there's only one way to configure the DCache to scratchpad...
chipyard release: 1.4.0
Hello, I am running the following command to build the simulator:
then executing an
rv64ui-p-add
test on the built simulator with this command:This results in the following error output:
How to resolve this issue?