NutShell master branch re-adaption for FPGA platforms #206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.