Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 2.45 KB

README.md

File metadata and controls

63 lines (48 loc) · 2.45 KB

riscof_install_example_DUT

Example DUT for riscof as well as install scripts for installing riscof on both Ubuntu and RHEL8


Install under Ubuntu


You will have to have sudo priviliges for the first step:
This will install all the dependencis needed for sail/riscof
sudo ./install_scripts/ubuntu/sudo_install_sail.sh

This will install riscof/sail under ~/.local/bin dir
./initall_ubuntu.sh

Test riscof by running riscof --help, you should see something similar to:

Usage: riscof [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the version and exit.
  -v, --verbose [info|error|debug]
                                  Set verbose level
  --help                          Show this message and exit.

Commands:
  arch-test     Setup and maintenance for Architectural TestSuite.
  coverage      Run the tests on DUT and reference and compare signatures
  gendb         Generate Database for the Suite.
  run           Run the tests on DUT and reference and compare signatures
  setup         Initiate Setup for riscof.
  testlist      Generate the test list for the given DUT and suite.
  validateyaml  Validate the Input YAMLs using riscv-config.

Install under RHEL8


You will have to have sudo priviliges for the first step:
This will install all the dependencis needed for sail/riscof
./install_scripts/rhel/sudo_install_sail_rhel8.sh

This will install riscof/sail under ~/.local/bin dir
./initall_rhel.sh

Test riscof by running riscof --help, you should see something similar to:

Usage: riscof [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the version and exit.
  -v, --verbose [info|error|debug]
                                  Set verbose level
  --help                          Show this message and exit.

Commands:
  arch-test     Setup and maintenance for Architectural TestSuite.
  coverage      Run the tests on DUT and reference and compare signatures
  gendb         Generate Database for the Suite.
  run           Run the tests on DUT and reference and compare signatures
  setup         Initiate Setup for riscof.
  testlist      Generate the test list for the given DUT and suite.
  validateyaml  Validate the Input YAMLs using riscv-config.

All installed binaries/artifacts will be under for both rhel and ubuntu ~/.local/bin