A memory file used to convert an executable file to a DDR file
This project requires the following third-party libraries
sudo apt install libboost-all-devsudo apt install libfmt-devConvert generic binary files:
./bin2ddr -i xxx.bin -o ./out.dat -m "row,ba,col,bg"
./bin2ddr -i ckpt.zstd -o ./out.dat -m "row,ba,col,bg" -r gcpt.bin
make FPGA=1
./bin2ddr -i ready-to-run/linux-xs.bin -o liunx.bin -m "row,ba,col,bg"
This function removes unused checkpoint memory by analyzing the program in the checkpoint
Use make nemu-update before use to update the nemu file used
./ready-to-run/riscv64-nemu-interpreter -b --restore ckpt.zstd -r gcpt.bin -I 40000000 --mem_use_record_file compress-out.txt
./bin2ddr -i ckpt.zstd -o ./out.dat -m "row,ba,col,bg" -r gcpt.bin -c compress-out.txt