aboutsummaryrefslogtreecommitdiff
path: root/riscv/sim.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-05-23Add --gdb-portTim Newsome1-1/+1
It's necessary to be able to run multiple spikes at once on the same box.
2016-05-23Flush icache when using swbps and report to gdb.Tim Newsome1-1/+1
2016-05-23Add -H to start halted.Tim Newsome1-2/+4
2016-05-23Listen on a socket for gdb to connect to.Tim Newsome1-0/+3
So far it just listens, and gdb times out because it's not getting any messages back. Receive packets and verify their checksum.
2016-05-02Add back IPI supportAndrew Waterman1-7/+11
2016-05-02Remove tohost/fromhost registersAndrew Waterman1-7/+0
2016-04-30Remove SCRs; add padding after config stringAndrew Waterman1-22/+15
2016-04-29Move much closer to new platform-M memory mapAndrew Waterman1-18/+22
Reset vector is at 0x1000; below that is reserved for debug Memory is at 0x80000000
2016-04-28Remove MTIME[CMP]; add RTC deviceAndrew Waterman1-3/+12
2016-03-02Use RV config string rather than FDTAndrew Waterman1-37/+39
2016-03-02New definitions of misa/marchid/mvendoridAndrew Waterman1-1/+1
2016-03-02Set default RV32 RAM size to 4 GiB - 256 MiBAndrew Waterman1-2/+2
This allows, by default, 256 MiB of addressable I/O space.
2015-11-12Generate device tree for target machineAndrew Waterman1-8/+47
2015-09-24Refactor memory access code; add MMIO supportAndrew Waterman1-0/+9
Of course, it doesn't do anything yet.
2015-08-06Add an option (-l) to display a log of execution in non-interactive mode.Prashanth Mundkur1-0/+7
Interactive (-d) mode overrides this option when both are specified.
2015-05-31Use single, shared real-time counterAndrew Waterman1-2/+4
This required disentangling INSTRET/CYCLE from TIME.
2015-04-03Support setting ISA/subsets with --isa flagAndrew Waterman1-9/+4
Default is RV64IMAFDC. Can do things like --isa=RV32 (which implies IMAFDC) --isa=IM (which implies RV64) --isa=RV64IMAFDXhwacha
2014-08-15Added PC histogram option.Christopher Celio1-1/+12
- Spits out all PCs (on 4B granularity) executed with count. - Requires a compile time configuration option. - Also requires a run-time flag.
2014-01-13Improve performance for branchy codeAndrew Waterman1-1/+1
We now use a heavily unrolled loop as the software I$, which allows the host machine's branch target prediction to associate target PCs with unique-ish host PCs.
2013-10-28Pass target machine's return code back to OSAndrew Waterman1-1/+2
2013-10-18refactor disassembler, and add hwacha disassemblerYunsup Lee1-3/+14
2013-09-23Fix Scott's deadlockAndrew Waterman1-4/+3
Not Scott's fault, I mean
2013-09-11Implement zany immediatesAndrew Waterman1-2/+1
2013-09-10Don't tick HTIF as oftenAndrew Waterman1-4/+4
2013-08-13Implement RoCC and add a dummy RoCCAndrew Waterman1-1/+1
Enable it with --extension=dummy
2013-08-11Instructions are no longer member functionsAndrew Waterman1-10/+8
2013-07-22Add xspike programAndrew Waterman1-1/+12
2013-07-19Use calloc to allocate target memoryAndrew Waterman1-18/+7
It just calls mmap under the hood, anyway...
2013-07-12Eliminate infinite loop in debug modeAndrew Waterman1-0/+10
2013-07-12Exit cleanly from debug consoleAndrew Waterman1-8/+15
2013-07-12Favor procs.size() over num_cores()Andrew Waterman1-3/+5
2013-03-29add load-reserved/store-conditional instructionsAndrew Waterman1-7/+17
2013-03-25add BSD licenseAndrew Waterman1-0/+2
2013-03-25add missing #includeAndrew Waterman1-0/+1
2013-02-12make HTIF interactions deterministic; fix raceAndrew Waterman1-3/+2
2013-01-25change htif to link against libfesvrAndrew Waterman1-20/+20
2012-05-15fix htif interaction with interactive modeAndrew Waterman1-5/+8
2012-05-09per-core tohost/fromhost registersAndrew Waterman1-31/+6
update your fesvr
2012-03-24new supervisor modeAndrew Waterman1-0/+5
2012-02-08initialize tohost and fromhostYunsup Lee1-0/+2
2012-01-31poll HTIF occasionallyAndrew Waterman1-4/+9
2011-11-11Changed supervisor modeAndrew Waterman1-0/+5
- initial PC is 0x2000 - PCRs renumbered - clearing IPIs now requires a write to a different PCR - IRQs are each given their own cause #
2011-10-18yunsup made this fix..ask himYunsup Lee1-0/+1
2011-06-27Builds and runs on Mac OS 10.6.7Andrew Waterman1-2/+6
2011-06-19temporary undoing of renamingAndrew Waterman1-0/+92
2011-06-12[sim] renamed to riscv-isa-runAndrew Waterman1-351/+0
2011-06-11[xcc] cleaned up mmu codeAndrew Waterman1-26/+48
2011-05-28[fesvr,xcc,sim] fixed multicore sim for akarosAndrew Waterman1-11/+32
2011-04-30[sim] hacked in a dcache simulatorAndrew Waterman1-2/+2
2011-04-16[sim] added "str" debug commandAndrew Waterman1-0/+17
it prints the c string starting at the specified memory address.