mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-24 22:27:10 -04:00
* Summary: initial dromajo integration * some changes to Makefile to enable `make verilate DROMAJO=1` * adding ifdefs to ariane_tb.cpp to disable HTIF * adding dromajo repo * making dromajo repo a submodule * syncing with upstream * bumping to the latest dromajo commit * Summary: adding DPI functions for cosim * added new file tb/dpi/dromajo_cosim.cc that contains all DPIs for dromajo to work * editted Makefile to see the above file * Summary: fixing build issues * fixing syntax errors in dpi file * renaming dpi file due to name conflict with shared library * fixing path in Makefile to the shared dromajo lib * bumping to the latest dromajo change * Summary: loading checkpoint to bootrom This change adds `+checkpoint=` argument to the verilator simulator as well as corresponding changes to load the dromajo checkpoint into the bootrom. Dromajo checkpoint bootcode contains series of csrw and immediate loads to restore the architectural state of the processor. dromajo_bootrom.sv is a copy of a generated bootrom.sv file. This file parses the verilog plusargs and loads the bootrom with the code that is pointed by the +checkpoint. csr_regfile.sv Dromajo needs to start running the code in debug mode. The default value of debug_mode_q was changed to 1. * updating dromajo to the latest change * Summary: sync main memories of dromajo and ariane These changes load the checkpoint into the main memory of Ariane. The checkpointed memory that is dumped from dromajo contains (1) the binary and (2) the values of all stores that dromajo globally performed before dumping the checkpoint. dromajo_ram.sv This file is a copy of SyncSpRamBeNx64.sv and was modified to parse +checkpoint argument to load the memory from the path pointed by the argument. The remaining changes were introduced to instantiate the above file when DROMAJO=1 flag is set. * Summary: calling DPIs for cosimulation This change introduces the calls to DPI functions that interface with Dromajo. * updating to the latest commit of dromajo * disabling verbose output when preloading bootrom and mainram * Summary: bug fix - update logic of `dcsr_d.prv` This change was made per discussion with Florian via email. The current versionincorrectly implements the update logic of `dcsr_d.prv`. The confusion came from the fact that the core should update its `dcsr_d.prv` to the current running privilege level when entering debug mode. I've attached a patch which, as you suggested, removes the wrong update logic in the CSR write process and should now correctly handle the update when entering debug mode (4.9.1 Debug Control and Status of the debug specification). * bump to the latest version of dromajo * Summary: dromajo DPI change This change: * Ariane doesn't commit ebreaks and ecalls so some workaround was encorporated * Proper exit(0) on cosim pass * Summary: support for running binaries with dromajo This change adds the ability to run the following command: `make run_dromajo BIN=\path\to\riscv\bin` It automates the dromajo's checkpoint creation and runs the binary on Ariane with dromajo cosimulation. For this to work Ariane must be build with DROMAJO=1. * changing dromajo recipe name to be consistent with existing names * adding instructions on how to run cosim with dromajo * Bump to release 0.6.2 * added license headers * added more details about dromajo |
||
---|---|---|
.. | ||
.gitignore | ||
ariane.dts | ||
bootrom.h | ||
bootrom.img | ||
bootrom.S | ||
bootrom.sv | ||
dromajo_bootrom.sv | ||
encoding.h | ||
gen_rom.py | ||
linker.ld | ||
Makefile |