Andrew Waterman
1def9a4637
Version 1.0.0
7 years ago
Andrew Waterman
9c384609b0
Make --help return 0 after printing the help message
7 years ago
Tim Newsome
5c18497225
Add --dmi-rti and --abstract-rti to test OpenOCD.
Optionally make spike behave more like real hardware, to automatically
test OpenOCD's handling of such hardware.
8 years ago
takeoverjp
0b8700bb61
Add "--log-cache-miss" option to generate a log of cache miss. ( #241 )
* Add "--log-cache-miss" option to generate a log of cache miss.
- This option must be used with "--ic" and/or "--dc" options
to enable cache simulation.
- This option is useful with "-l" option to understand
which instruction has caused the cache miss.
* Modify log format of cache miss to reduce log size.
8 years ago
Andrew Waterman
747a54b103
Add --disable-dtb option to suppress writing the DTB to memory
8 years ago
Andrew Waterman
c0172e96bc
When no arguments are passed, print spike help, not fesvr help
8 years ago
Tim Newsome
aa8cbb1ccd
Add debug module authentication.
Off by default, enabled with --debug-auth.
The protocol is very simple (definitely not secure) to allow debuggers
to test their authentication feature. To authenticate a debugger must:
1. Read authdata
2. Write to authdata the value that it just read, plus 1
8 years ago
Tim Newsome
b2672e5d52
Add --debug-sba option
This lets the user control whether the system bus access implements bus
mastering.
8 years ago
Jonathan Neuschäfer
fd0dbf46c3
mem_t: Throw an error if zero-sized memory is requested ( #168 )
* mem_t: Throw an error if zero-sized memory is requested
If for some reason the user requests a memory size of 0 megabytes, print
a useful error message.
* Check for overflow in memory size
If the user passes in a large enough memory size (-m) that the size in
bytes doesn't fit into size_t, catch this error in the make_mems function.
8 years ago
Tim Newsome
46a6786091
Make progbuf a run-time option.
Also add an implicit ebreak after the program buffer. This is not part
of the spec, but hopefully it will be.
9 years ago
Gleb Gagarin
6c7c772b16
hartids knob description added
9 years ago
Gleb Gagarin
85efaaaba8
Support for non-contiguous hartids
9 years ago
Andrew Waterman
75f2a05df9
Set default entry point from ELF
9 years ago
Andrew Waterman
4859971a88
Add option to set start pc
9 years ago
Andrew Waterman
abb7dddfdf
Support more flexible main memory allocation
9 years ago
Wesley W. Terpstra
0647cce541
configstring: rename variables to dts
9 years ago
Tim Newsome
f7f1105040
Fix stack overflow and support --rbb-port=0
9 years ago
Tim Newsome
94277648d5
OpenOCD does a dmi read and gets dummy value back.
9 years ago
Tim Newsome
4695be7cea
Refactor remote bitbang code.
9 years ago
Tim Newsome
d1f2cf337e
OpenOCD connects, and sends some data that we receive.
9 years ago
Andrew Waterman
036c908666
Remove legacy HTIF; implement HTIF directly
10 years ago
Tim Newsome
d1d8863086
Add --gdb-port
It's necessary to be able to run multiple spikes at once on the same
box.
10 years ago
Tim Newsome
bd17c7e5a8
Add -H to start halted.
10 years ago
Tim Newsome
d1ba8b5593
gdb can now read spike memory.
The endianness is wrong, but I think it might be that gdb doesn't have
it right. Need to investigate what architecture gdb thinks it's
debugging.
10 years ago
Tim Newsome
9f1ea45e41
Listen on a socket for gdb to connect to.
So far it just listens, and gdb times out because it's not getting any
messages back.
Receive packets and verify their checksum.
10 years ago
Andrew Waterman
b593e6df7a
Move much closer to new platform-M memory map
Reset vector is at 0x1000; below that is reserved for debug
Memory is at 0x80000000
10 years ago
Andrew Waterman
9220fdfe95
Add --dump-config-string flag
10 years ago
Andrew Waterman
10ae74e48a
Allow configuration of default ISA with --with-isa
10 years ago
Andrew Waterman
5344292853
fix help message
11 years ago
Prashanth Mundkur
b16ef94394
Add an option (-l) to display a log of execution in non-interactive mode.
Interactive (-d) mode overrides this option when both are specified.
11 years ago
Andrew Waterman
c4350ef6ef
Support setting ISA/subsets with --isa flag
Default is RV64IMAFDC. Can do things like
--isa=RV32 (which implies IMAFDC)
--isa=IM (which implies RV64)
--isa=RV64IMAFDXhwacha
11 years ago
Andrew Waterman
416c8be88c
Support building from within root directory
12 years ago
Andrew Waterman
590417bec9
Factor out the dummy RoCC accelerator
12 years ago
Christopher Celio
616cc32c30
Added PC histogram option.
- Spits out all PCs (on 4B granularity) executed with count.
- Requires a compile time configuration option.
- Also requires a run-time flag.
12 years ago
Andrew Waterman
2c1ddd1781
Enable runtime loading of dynamic library with --extlib
12 years ago
Andrew Waterman
fb3be24671
Eliminate hwacha <-> riscv circular dependence
We now split out the spike executable into another subproject,
which depends on both rocket and hwacha
12 years ago
Andrew Waterman
d5204838b7
Pass target machine's return code back to OS
13 years ago
Yunsup Lee
2f1f9a4fbc
revamp hwacha; now runs in physical mode
13 years ago
Andrew Waterman
bbb0f2179c
Implement RoCC and add a dummy RoCC
Enable it with --extension=dummy
13 years ago
Andrew Waterman
a68c33c2a4
Add xspike program
13 years ago
Andrew Waterman
790db6c910
Exit cleanly from debug console
13 years ago
Yunsup Lee
a9d1c3de84
change riscv-isa-run to spike in documentation
13 years ago
Yunsup Lee
b3f7c6045c
change riscv-isa-run to spike
13 years ago
Andrew Waterman
28ac3dbd81
add BSD license
13 years ago
Andrew Waterman
290c702c0f
specialize fully-associative caches
the dumb linear search of a set's tag array was far too slow
13 years ago
Andrew Waterman
b119073ab0
add I$/D$/L2$ simulators
13 years ago
Andrew Waterman
de5b42e923
change htif to link against libfesvr
13 years ago
Andrew Waterman
6405097bf2
remove debug printf
14 years ago
Andrew Waterman
23688da201
poll HTIF occasionally
14 years ago
Rimas Avizienis
91edaf151d
added #include <stdlib.h> to get rid of errors building with gcc-4.4 on ubuntu
15 years ago