diff options
author | Tim Newsome <tim@sifive.com> | 2021-05-07 11:49:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 11:49:42 -0700 |
commit | c9f43c1652c1d8abf85f3466f41ffd5ec4d911d6 (patch) | |
tree | 21306f7c8d15ad937e2e234d564e81a0e43efa86 /debug/targets.py | |
parent | 1b05661baa79f03830f5ddefa999dc7aaf7b1ce1 (diff) | |
download | riscv-tests-c9f43c1652c1d8abf85f3466f41ffd5ec4d911d6.zip riscv-tests-c9f43c1652c1d8abf85f3466f41ffd5ec4d911d6.tar.gz riscv-tests-c9f43c1652c1d8abf85f3466f41ffd5ec4d911d6.tar.bz2 |
Test daisy chained homogeneous spike instances. (#334)
* Test debugging multiple spikes in a daisy chain.
* Hugely speed up rbb_daisychain.
Now 2 dual-hart spikes are less than 4x slower than a single dual-hart
spike.
* WIP
* Test daisy chained homogeneous spike instances.
For OpenOCD, this means we're checking that we can talk to multiple
TAPs. Next up is heterogeneous testing.
* Enable Sv48Test.
Didn't mean to disable it with this commit.
* Test authentication again.
Another change I hadn't meant to push...
Diffstat (limited to 'debug/targets.py')
-rw-r--r-- | debug/targets.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debug/targets.py b/debug/targets.py index 0890465..be45c62 100644 --- a/debug/targets.py +++ b/debug/targets.py @@ -44,6 +44,13 @@ class Hart: # jumpers. reset_vectors = [] + def __init__(self, system=None): + """system is set to an identifier of the system this hart belongs to. + Harts within the same system are assumed to share memory, and to have + unique hartids within that system. So for most cases the default + value of None is fine.""" + self.system = system + def extensionSupported(self, letter): # target.misa is set by testlib.ExamineTarget if self.misa: |