Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick start fails DUT -- DUT-spike.signature does not exist #89

Open
EagleTw opened this issue Apr 27, 2023 · 1 comment
Open

Quick start fails DUT -- DUT-spike.signature does not exist #89

EagleTw opened this issue Apr 27, 2023 · 1 comment

Comments

@EagleTw
Copy link

EagleTw commented Apr 27, 2023

When trying to follow the quickstart guide as in: https://riscof.readthedocs.io/en/stable/installation.html# the riscof run command at the very end fails.

I'm running on ubuntu a arm machine.

riscv_sim_RV32 successfully build with sail c emulator

  1. git clone https://github.com/riscv-non-isa/riscv-arch-test
  2. riscof validateyaml --config=config.ini
  3. riscof testlist --config=config.ini --suite=riscv-arch-test/riscv-test-suite/ --env=riscv-arch-test/riscv-test-suite/env
  4. riscof run --config=config.ini --suite=riscv-arch-test/riscv-test-suite/ --env=riscv-arch-test/riscv-test-suite/env

Trace as follows:

$ riscof run --config=config.ini --suite=riscv-arch-test/riscv-test-suite/ --env=riscv-arch-test/riscv-test-suite/env
    INFO | ****** RISCOF: RISC-V Architectural Test Framework 1.25.3 *******
    INFO | using riscv_isac version : 0.17.0
    INFO | using riscv_config version : 3.7.2
    INFO | Reading configuration from: /home/clarity/ypaskell_playground/test-riscof/config.ini
    INFO | Preparing Models
    INFO | Input-ISA file
    INFO | Loading input file: /home/clarity/ypaskell_playground/test-riscof/spike/spike_isa.yaml
    INFO | Load Schema /home/clarity/.local/lib/python3.10/site-packages/riscv_config/schemas/schema_isa.yaml
    INFO | Processing Hart: hart0
    INFO | Initiating Validation
    INFO | No errors for Hart: 0 :)
    INFO |  Updating fields node for each CSR
    INFO | Initiating WARL legality checks.
    INFO | Initiating post processing and reset value checks.
    INFO | Initiating validation checks for indexed csrs
    INFO | Initiating validation checks for shadow fields
    INFO | Performing Checks on PMP CSRs
    INFO | Dumping out Normalized Checked YAML: /home/clarity/ypaskell_playground/test-riscof/riscof_work/spike_isa_checked.yaml
    INFO | Input-Platform file
    INFO | Loading input file: /home/clarity/ypaskell_playground/test-riscof/spike/spike_platform.yaml
    INFO | Load Schema /home/clarity/.local/lib/python3.10/site-packages/riscv_config/schemas/schema_platform.yaml
    INFO | Initiating Validation
    INFO | No Syntax errors in Input Platform Yaml. :)
    INFO | Dumping out Normalized Checked YAML: /home/clarity/ypaskell_playground/test-riscof/riscof_work/spike_platform_checked.yaml
    INFO | Generating database for suite: /home/clarity/ypaskell_playground/test-riscof/riscv-arch-test/riscv-test-suite
    INFO | Database File Generated: /home/clarity/ypaskell_playground/test-riscof/riscof_work/database.yaml
    INFO | Env path set to/home/clarity/ypaskell_playground/test-riscof/riscv-arch-test/riscv-test-suite/env
    INFO | Running Build for DUT
    INFO | Running Build for Reference
    INFO | Selecting Tests.
    INFO | Running Tests on DUT.
    INFO | Initiating signature checking.
   ERROR | Signature file : /home/clarity/ypaskell_playground/test-riscof/riscof_work/rv32i_m/C/src/cadd-01.S/dut/DUT-spike.signature does not exist

If anybody has an idea how to solve this issue, or if you need more information about my file structure, do let me know!
Thanks!

@neelgala
Copy link
Collaborator

can you share the config.ini and python plugin files here. This will help understand the issue better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants