-
Notifications
You must be signed in to change notification settings - Fork 11
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
Errors while compiling new DDR3 test #46
Comments
I have solved the previous issue by replacing "Ddr3Controller" with "AxiDdr3Controller" both in the BSV file and in the Makefile. However, I can see another error message: Error: "/home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/Ddr3Test.bsv", line 99, column 114: (T0016) |
I just pushed Ddr3Controller.bsv, it is modified from AxiDdr3Controller.bsv |
There is another error: BSV_BO [ /home/netfpga/gitHub/sonic-lite/hw/bsv/SharedBuffMemServer.bsv] Can you please change first line of Makefile Thanks |
It seems that in " sonic-lite/hw/bsv/SharedBuffMemServer.bsv " " BYTE_ENABLES " is not defined. |
By adding the provisos as suggested by the error messages, the following error message appears: BSV_BO [ /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/Ddr3Test.bsv] |
Pushed a fix for that. |
I have tested the design: the SRC buffer is correctly initialized, but the program gets stuck while writing to the memory " Started writing dram ". Therefore it is unable to read data back and to check for mismatches. |
Just downloaded the last version of the repository and re-built the example design. The following error message is shown: BSV_BO [ /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/nfsume/generatedbsv/Top.bsv] |
pushed a fix |
Hi, I have been able to compile with no errors, but the test is still not able to read back the data. |
Hi Pietro, The example gives you MemWriteClient and MemReadClient interface that you can directly use to write/read to DDR memory. But you would need to complete the example by actually sending a write request or read request to the MemWriteClient/ReadClient interface fifos. |
Hi, the last update of DDR3 example is not able to compile: BSV_BO [ /home/netfpga/gitHub/sonic-lite/hw/bsv/SharedBuffMemServer.bsv] |
Adding the following line to "Ddr3Test.bsv" solves the previous issue: import MMU::*; now, a new error message appears: Verilog file created: /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/nfsume/verilog/mkMemServerIndicationInverterV.v |
pushed changes to SharedBuffMMU. |
New error message: Verilog file created: /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/nfsume/verilog/mkDdr3TestRequestInverterV.v |
Error: "/home/netfpga/gitHub/sonic-lite/hw/bsv/SharedBuffMMU.bsv", line 82, column 26: (S0015) |
Hi, The last version of the code generates the following error message: BSV_BO [ /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/Ddr3Test.bsv] The function expects 2 arguments but was used with 6 arguments. Expected type: Inferred type: make[1]: *** [obj/Ddr3Test.bo] Error 1 I have changed this line mkConnectionWithClocks(dma.masters[i], memSlaves[i], clock, reset, ddr3Controller.uiClock, ddr3Controller.uiReset); to this one mkConnectionWithClocks(dma.masters[i], memSlaves[i]); Now I can see another error message: BSV_BO [ /home/netfpga/gitHub/connectal/bsv/PcieTop.bsv] |
First error was due to a change made by Jamey a few days ago, He might revert the change because clockOf() function seems to have a bug in compiler. Second error is due to the size of DDR3 is only 1G, however, MMU assume a 4Gb address space, changing physAddr[31:24] -> physAddr[29:24] should fix it. |
Hi, After changing "physAddr", I have been able to compile the example. However, the program gets stuck while writing to the memory. Is it possible to track the digital signals in the hardware with some probes (something like chipscope) in Connectal/BSV flow? |
Did you modify the example? It was not a complete example yet.
|
Hi,
the new DDR3 test seems unable to compile, and generates the following error message:
Verilog file created: /home/netfpga/gitHub/sonic-lite/hw/tests/test_ddr3/nfsume/verilog/mkPcieEndpointX7.v
BSV_BO [ /home/netfpga/gitHub/connectal/bsv/HostInterface.bsv]
make[1]: *** No rule to make target
obj/Ddr3Controller.bo', needed by
obj/Portal.bo'. Stop.make: *** [build.nfsume] Error 2
Thanks
The text was updated successfully, but these errors were encountered: