-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update Litex mgmt soc #122
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Rafal Kolucki <[email protected]>
Signed-off-by: Rafal Kolucki <[email protected]>
Signed-off-by: Rafal Kolucki <[email protected]>
Signed-off-by: Rafal Kolucki <[email protected]>
Signed-off-by: Rafal Kolucki <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
Signed-off-by: Tomasz Michalak <[email protected]>
|
@shalan Can you give an example of these manual changes? However it would be best to address these issues in Litex's code instead of the generated code. The PR that targets the Arty board is still WIP, but we were able to generate a valid bitstream that can drive selected GPIOs (run the blink example from https://github.com/efabless/caravel_board). |
@tmichalak Please check: https://github.com/efabless/caravel_mgmt_soc_litex/blob/main/verilog/rtl/mgmt_core.w_rst_init_modification.v Regarding the new debug bridge, I understand that it is not yet FPGA validated. Was it verified in simulation? Also, is there any documentation for how to use it with gdb? |
@shalan @tmichalak There is a script that makes these changes. See https://github.com/efabless/caravel_mgmt_soc_litex/blob/main/litex/modify_verilog.py |
FYI - Depending on what you mean by "the debug interface", I'm 100% sure it has been used by multiple different groups both on FPGAs and in simulations. The Fomu workshop has an example of using it @ https://workshop.fomu.im/en/latest/riscv.html#debugging-risc-v-code There is also a whole section on co-simulation scenarios with Renode @ https://workshop.fomu.im/en/latest/renode.html There is a page which has even more documentation at https://github.com/enjoy-digital/litex/wiki/Use-GDB-with-VexRiscv-CPU There is also this pretty good blog post from Tom -> https://tomverbeure.github.io/2021/07/18/VexRiscv-OpenOCD-and-Traps.html |
This PR updates the litex mgmt core and locks the submodules the core is generated from.
The list of changes is as follows: