Rewrite run.sh script

This commit is contained in:
Nikolay Puzanov
2023-06-17 10:56:00 +03:00
parent 0cb0d82998
commit 142fb46b2f
20 changed files with 247 additions and 109 deletions

View File

@@ -1,7 +1,11 @@
#!/usr/bin/env bash
set -e
. ../scripts/sim_vars.sh
rm -rf xcelium.d
xmvlog -sv -f ../source/sources.f top.sv
xmelab -timescale 1ps/1ps top
## WARNING: defparam is not tested
xmvlog -sv -f $FFILE top.sv
xmelab -timescale 1ps/1ps -defparam top.CPU_COUNT=$CPU_COUNT top