git clone https://github.com/vyoma-systems/zilsd
mkdir -p zilsd/wd
cd zilsd/wd
git clone https://github.com/riscv-software-src/riscv-config.git -b dev
git clone https://github.com/vyoma-systems/riscv-isac.git -b zilsd
git clone https://github.com/vyoma-systems/riscv-ctg.git -b zilsd
git clone https://github.com/vyoma-systems/riscv-arch-test.git -b zilsd
git clone https://github.com/vyoma-systems/riscof.git -b zilsd
- Install the appropriate python packages and export zilsd compilable
spike
andgcc
paths
cd ./wd/riscv_ctg
riscv_ctg -v debug -d ./generated_tests/ -r -cf ./sample_cgfs/dataset.cgf -cf ./sample_cgfs/rv32zilsd.cgf -bi rv32i -p2
- Check
Zilsd_Zcmlsd
is available atISA
section inspike_simple_isa.yaml
riscof run --config=config.ini --suite=./wd/riscv-arch-test/riscv-test-suite/ --env=./wd/riscv-arch-test/riscv-test-suite/env
export CGF_HOME=$PWD/wd/riscv-ctg/sample_cgfs
riscof --verbose debug coverage --cgf-file $CGF_HOME/dataset.cgf --cgf-file $CGF_HOME/rv32i.cgf --cgf-file $CGF_HOME/rv32zilsd.cgf --cgf-file $CGF_HOME/rv32ic.cgf --suite=./wd/riscv-arch-test/riscv-test-suite/ --env=./wd/riscv-arch-test/riscv-test-suite/env