Skip to content

vyoma-systems/zilsd

Repository files navigation

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 
  • Install the appropriate python packages and export zilsd compilable spike and gcc paths

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

  • Check Zilsd_Zcmlsd is available at ISA section in spike_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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages