Commit graph

10 commits

Author SHA1 Message Date
Greg Chadwick
4fa6329c58 [cosim] Fix cosim mcycle update
This resolves an off by one issue
2022-03-22 16:29:03 +00:00
Rupert Swarbrick
96d8aa6c15 Update spike_cosim.cc to be able to build against newer Spikes
This should work with versions ibex-cosim-v0.1 and ibex-cosim-v0.2.
2022-03-18 15:24:46 +00:00
Rupert Swarbrick
36a9abbf1c Use ifndef to avoid re-declaration warnings in *cosim_dpi.svh 2022-02-17 16:19:03 +00:00
Rupert Swarbrick
9f14922382 [dv] Construct ISA string from RTL parameters for cosim tests 2022-02-17 16:06:53 +00:00
Rupert Swarbrick
e84e7de53f Fix narrowing conversion warning in cosim_dpi.cc 2022-02-17 10:17:22 +00:00
Greg Chadwick
cedabf062a [dv] Add recoverable NMI handling to cosim
Ibex implements a custom recoverable NMI handling scheme. This adds
modeling of it to the cosim.
2021-12-09 14:08:05 +00:00
Greg Chadwick
587dc364e9 [dv] Fix dside memory checking
Spike may access up to 8 bytes from the current PC, we must assume any
of those accesses are from the iside and skip dside memory checking for
them.
2021-12-09 14:08:05 +00:00
Greg Chadwick
b57cad5387 [dv] Add matched instruction count to cosim 2021-11-12 09:39:38 +00:00
Greg Chadwick
c10b56ed17 [dv] Adjust cosim include paths
Some Spike include files can clash with libelf include files. Avoid
directly adding riscv and fesvr directories to include path to prevent
this.
2021-11-12 09:39:38 +00:00
Greg Chadwick
648fadb34a [dv] Add co-simulation framework 2021-10-15 11:30:35 +01:00