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

Inject CPU options to spike run test from elf file #1370

Merged
merged 3 commits into from
Nov 27, 2023

Commits on Nov 21, 2023

  1. Inject CPU options to spike run test from elf file

    * Refactor CPU options for exacting common part between qemu and spike.
    * Inject CPU options to spike run command line.
    
    The below common CPU options are extracted to common part.
    
    * xlen
    * vlen
    * extensions
    
    The above CPU options will be leveraged to build the run arguments for
    both the qemu and spike, for example.
    
    QEMU: qemu-riscv64 -cpu rv64,v=true,vlen=1024,elen=64,vext_spec=v1.0
    SPIKE: spike --isa=rv64imafdcv_zicsr_zifencei_zmmul --varch=vlen:1024,elen:64
    
    Signed-off-by: Pan Li <[email protected]>
    Incarnation-p-lee committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    1749dfb View commit details
    Browse the repository at this point in the history
  2. Add scripts to SIM_PATH.

    Signed-off-by: Pan Li <[email protected]>
    Incarnation-p-lee committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    c5b9a52 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Fix CI run failure on rv64gc

    Signed-off-by: Pan Li <[email protected]>
    Incarnation-p-lee committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    646653b View commit details
    Browse the repository at this point in the history