-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
155 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# SVD only | ||
echo "Generate SVD" | ||
./sim.py --with-sdram --cpu-type vexriscv_smp --cpu-variant standard --csr-svd build/sim/csr.svd --no-compile-gateware --timer-uptime | ||
# FW only | ||
echo "Build FW" | ||
cd firmware | ||
OBJCOPY=riscv64-linux-gnu-objcopy BOARD=sim ./build.sh | ||
cd .. | ||
# Boot firmware after BIOS | ||
echo "Simulate GW+FW" | ||
./sim.py --with-sdram --sdram-init build/sim/rust-fw.bin --cpu-type vexriscv_smp --cpu-variant standard --timer-uptime --gtkwave-savefile --trace --trace-fst |
Oops, something went wrong.