Skip to content

Commit

Permalink
Untested code for running riscof tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b-paul committed Nov 26, 2024
1 parent 313070e commit 9f7c3a2
Show file tree
Hide file tree
Showing 7 changed files with 408 additions and 26 deletions.
232 changes: 231 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.5.21", features = ["derive"] }
3 changes: 2 additions & 1 deletion riscof/test-dut/riscof_test-dut.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def runTests(self, testList):
if self.target_run:
# set up the simulation command. Template is for spike. Please change.
# TODO
simcmd = self.dut_exe + ' --isa={0} +signature={1} +signature-granularity=4 {2}'.format(self.isa, sig_file, elf)
#simcmd = self.dut_exe + ' --isa={0} +signature={1} +signature-granularity=4 {2}'.format(self.isa, sig_file, elf)
simcmd = self.dut_exe + ' --signature {1} {2}'.format(sig_file, elf)
else:
simcmd = 'echo "NO RUN"'

Expand Down
Loading

0 comments on commit 9f7c3a2

Please sign in to comment.