Hi Mohamed,
This isn't a setup that we'd usually support simulation for and we haven't done any simulations in the Vivado simulator for some time so I'm not certain if I'll be a lot of help. However, based on when I recently ran a similar setup on the Nexys 4 DDR, I think this might be a bootrom issue.
Just to make sure: you said you're using the build files from after running the protosyn command you mentioned, right?
The simulation setup and pitonstream both use a bootrom which assumes the test has already been placed at 0x80000000 (the base of memory for Ariane). The OS-booting FPGA version assumes it can copy a boot sector from SD card into main memory and then jump to the DRAM base. I think that your defines may be setting the latter bootrom which tries to do things like print to the UART (which, if blocked, will block the core) and copy from the SD. If this is the case, then you want to use the other bootrom which is normally used by simulation/pitonstream, but you don't want to use the whole pitonstream setup. Try tying the following wire to use the baremetal bootrom: https://github.com/PrincetonUniversity/openpiton/blob/openpiton-dev/piton/design/chipset/rtl/chipset_impl.v.pyv#L992
As for running non-assembly test, you should be able to just run hello_world.c or hello_world_many.c with the make_mem_map stuff, provided you modify it to actually pass the ariane core arguments inside the script. I'm not sure that it's fully configurable at the moment as a standalone script.
Please let me know if any of this helps!
Thanks,
Jon
--
You received this message because you are subscribed to the Google Groups "OpenPiton Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/fd3a1930-eb8f-494f-ab42-ec27333db621%40googlegroups.com.