Closed jasonchio-cn closed 4 years ago
I'm not directly involved with the project but this is my advice.
$random is a system function for simulation only and $test$plusargs looks like system function/call for simulation as well. If you are doing synthesis both calls will have no effect, that is normal.
Double check that you are not loading unnecessary simulation files in to your synthesis run. If the files are necessary then you can guard the problematic lines with ``
ifdef simulation````or neutralize such errors within quartus.
You need to define VENDOR_ALTERA in your project so it uses Altera specific block ram IP. Go to the Assignments menu and select the 'settings' entry. Click on the 'Verilog HDL' entry in the list on the left side of the window. In the Name next box, type VENDOR_ALTERA and in the value text box put 1. Then click the 'add' button.
Note that there is a Quartus project file already in hardware/fpga/de2-115/. I assume you created your own project because you're targeting a different chip, but, if not, you can just use that one.
I'm going to close this now, but let me know if you have any issues.
I imported files in hardware/core/ into the project, and the following error occurred during the compilation process: