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

DCCM response stalling feature disabled #81

Open
shahzaibk23 opened this issue Aug 31, 2024 · 2 comments
Open

DCCM response stalling feature disabled #81

shahzaibk23 opened this issue Aug 31, 2024 · 2 comments
Assignees
Labels
harmless bug Bug Harmless a.t.m but should be fixed

Comments

@shahzaibk23
Copy link
Member

The Core doesn't wait for the dccm response anymore. This feature was part of the core in initial releases.

But it seems to have been disabled some time ago, because of unknown reasons, as can be seen in this commit.

Need to re-enable it, in order to make it generally compatible. OR else it should be Out of Order.

For current development context, we require that feature to be re-enabled.

Future Note: Make it Out of Order

@shahzaibk23
Copy link
Member Author

The issue is partially resolved. Now the core constantly sends request until it receives a response and load word is also not working as it should.

Follow below steps to use SoC-Now to connect NRV and SRAM using Wishbone bus (which by default takes 3 cycles to complete an operation).

  • git clone https://github.com/merledu/SoC-Now-Generator
  • cd SoC-Now-Generator
  • git checkout dev_generic_arch
  • Copy the instructions from here and paste into an instructions.txt file in the SoC-Now-Generator root.
  • Add NOPs (hex 00000013) at the end of instructions, as required by NRV to function.
  • Then to compile the SoC and generate VCD using sbt "testOnly GeneratorTest -- -DwriteVcd=1 -DprogramFile=instructions.hex"
  • To Debug the course of instructions, refer here

@shahzaibk23
Copy link
Member Author

Fixed the load word issue in this commit.

The continuous request sending bug is still there, but it is harmless for now. Caravan turns the bus ready off once it gets the request, until the response is sent back it stays off, so the recurring request that NRV sends on while waiting for response to come, gets ignored by the bus.

It is not an immediately needed bug fix but should be done in Future.

@shahzaibk23 shahzaibk23 added the harmless bug Bug Harmless a.t.m but should be fixed label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
harmless bug Bug Harmless a.t.m but should be fixed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant