vyoma-systems / zilsd

0 stars 0 forks source link

Zilsd Steps

Clone and install the requirements

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 

To generate Zilsd test using riscv-ctg:

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

TO run Tests

To generate coverage

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