-
Notifications
You must be signed in to change notification settings - Fork 241
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
NutShell master branch re-adaption for FPGA platforms #206
Conversation
…RTL file routine in tcl script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good to me
@sashimi-yzh Do you have time to take a look?
Thank you for the contribution. Please help add a CI test (simply build the verilog from Chisel?) for FPGA verilog to .github/workflows/main.yml if possible. |
I'm merging this now. If there're issues after yzh review, we can further fix them |
NutShell master branch re-adaption for FPGA platforms
The master branch of NutShell can not generate an FPGA project that provides correct functionality(#205 #204 #200 ). Therefore I made serval changes to the NutShell and the FPGA project tcl.
nutcoretrap
in CSR as a signal to dump the statistic during the simulation, this signal is connected by the boringUtil. However, the source of this connection is missing when using the FPGA platform. I setnutcoretrap
signal to zero when using FPGA.sed
command in Makefile to convert the Chisel name to the specific form of AXI Signals. However, after using--spilt-verilog
option, not all the signals were converted by the command.--spilt-verilog
, vivado project tcl only addsTopMain.v
to the project, therefore other RTL source files are missing in the vivado project.mv
command to rename the top file name fromSimTop.sv
toTopMain.sv
, which will cause an error to the FPGA platform as the `SimTop.sv`` does not exist.The issues mentioned above have been resolved in the pull request. These modifications have been tested with sidewinder and PYNQ.