-
Notifications
You must be signed in to change notification settings - Fork 217
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
Test compilation failed #96
Comments
What does the log that it tells you to check say? |
sims -sys=manycore -novcs_build -midas_only -midas_args="-DUART_DIV_LATCH=0x36 -DFPGA_HW -DCIOP -DNO_SLAN_INIT_SPC" dhrystone.c -ariane -uart_dmw -x_tiles=1 -y_tiles=1 |
My guess would be that you haven't prebuilt the riscv tests in the ariane subrepo if it can't find dhrystone. Perhaps your running of ariane_build_tools.sh failed and you didn't notice. You can comment out some of the steps near the top so it doesn't rebuild gcc if you don't want to wait for that build to repeat |
Ah then I think you might need to put dhrystone.riscv rather than .c There was also a commit newer than the openpiton branch (on openpiton-dev) which fixed a regression with some of these file extensions. It could be that you're missing that commit and that's why a .riscv extension is needed. |
I am on the newest commit of the development branch. When i put the .c file it get this output `rk-vcu118@vcu118-vm:~/Desktop/openpiton$ pitonstream -b vcu118 -d system -f ./piton/design/chip/tile/ariane/tmp/riscv-tests/benchmarks/dhrystone/dhrystone.c --core=ariane -precompiled -p ttyUSB1 --no_wait_fpga_config ============================== Exiting... The command log for the compiled .riscv is written in my inital text |
Sanity check: in both cases you put -precompiled rather than --precompiled - which are you using in your command? It should be the latter. I don't see sims printing that you gave the precompiled argument and its output indicates it's not looking in the location it should be (set by the precompiled flag) for precompiled riscv tests for ariane. Note: pitonstream uses --precompiled (because python) while sims uses -precompiled (because perl). |
I tried it with -precompiled and --precompiled and it failed both times with the same error |
Wait your commands point to the file you're trying to run ( |
yes that was the error thank you for your help. And apparently i am not on the dev branch for some reason when i checkout the dev branch out, i accidently created a copy of the master branch with the name openpiton-dev. I have another problem now. I want to lower the frequenz for the vcu118 to 50 MHZ, but I get no uart output for the tests: 'rk-vcu118@vcu118-vm:~/Desktop/openpiton$ pitonstream -b vcu118 -d system -f ./piton/design/chip/tile/ariane/ci/riscv-benchmarks.list --core=ariane --precompiled -p ttyUSB1 --no_wait_fpga_config ' |
Did you modify piton/tools/src/proto/block.list and the Xilinx IPs (clk_mmcm, UART, and atg_uart_init) to correspond with your frequency change? |
Yes, thank you, that fixed the problem. Unfortunately i have a further problem. I try to boot Linux. But the only output i get on the UART is DONE and then nothing else. I changed the Pull-up Resistors already, programmed the SD Card according to the Instructions and protosyn output lists PITON_FPGA_SD_BOOT. Could you please help me again. |
You need to flick the pitonstream switch. Whichever one it is that gets rid of the "DONE" print. I haven't used the vcu118 so I don't know exactly which one but you should be able to match the constraints.xdc to the board schematic to see. Have you read the README entry about the vcu118? Linux support is not all there. Are you using the PMOD SD as mentioned? The board also requires changing frequencies for the SD because of electrical issues that are beyond our control:
|
What do you mean with the frequency changes? I lowered the resistors to 100 Ohm, only then the clock was halfway decent (checked with an osciloscop) and it detected the sd card at least sometimes. But it gets stuck during the boot at different stages, it appears the image is not copied correctly to the main memory |
When Michael was setting up the board he reduced the SD clock frequency from the clk_mmcm module to something like 8MHz. I don't remember whether that change is included in the checked-in xci or not |
Hey,
when i try to execute the pitonstream command for the dhrystone benchmark i get this error:
command:
pitonstream -b vcu118 -d system -f ./piton/design/chip/tile/ariane/tmp/riscv-tests/build/benchmarks/dhrystone.riscv --core=ariane -precompiled -p ttyUSB1 --no_wait_fpga_config
console output:
Any help to solve this problem
The text was updated successfully, but these errors were encountered: