Commit Graph

20 Commits

Author SHA1 Message Date
Florian Nücke
cf6efff5e3 Fixed test. 2020-12-01 19:53:43 +01:00
Florian Nücke
d3116edf36 Flip default for callback synchronization.
Synced is likely to be more common and the safer default.
2020-11-30 19:30:07 +01:00
Florian Nücke
68def32f52 Add block id as main type name for block devices. 2020-11-30 18:57:14 +01:00
Florian Nücke
f5745c4a16 Bus tests. 2020-11-30 18:37:10 +01:00
Florian Nücke
35f5f2e2b6 Add logic to allow synchronizing methods to main thread. 2020-11-29 17:37:20 +01:00
Florian Nücke
fd70381f31 Split out identifier for devices into separate sub-interface.
It's only needed at bus level so we can wrap at that point.
2020-11-29 13:37:09 +01:00
Florian Nücke
49160acf6d Fixed tests. 2020-11-29 08:54:56 +01:00
Florian Nücke
3839ee5da4 First device API draft. 2020-11-28 23:06:19 +01:00
Florian Nücke
28a945f887 Embed jars of our extra dependencies.
Use Ceres, add NBT serialization format.
Serialize Terminal using Ceres.
2020-10-02 03:37:09 +02:00
Florian Nücke
5a8e48022d Pulled emulator into separate project. 2020-09-26 14:45:45 +02:00
Florian Nücke
380d5669f0 Allow devices to declare supported load/store widths.
Makes us a little less reliant on asserts. Checked in memory map => direct load/store on devices is still unchecked and fast.
2020-09-25 15:22:58 +02:00
Florian Nücke
2f747558e9 Only use UnsafeMemory on little endian systems (because that's what our R5CPU says it's using). 2020-09-25 12:39:59 +02:00
Florian Nücke
1f99a2eade Cleaned up ISA tests a little. 2020-09-19 14:59:42 +02:00
Florian Nücke
a877ad1370 Understood how tests communicate. All passing now! 2020-09-19 14:47:02 +02:00
Florian Nücke
a36ee2090f Added remaining riscv-tests, made it easier to select which ones to run.
All v mode stuff is pretty broken. Not really getting how tests want to communicate whether they passed or failed yet I think.
2020-09-19 00:07:32 +02:00
Florian Nücke
13d4d7ac1f Print cycles to failure for getting there with debugger faster.. 2020-09-18 10:34:32 +02:00
Florian Nücke
91016ccf2b Added first few tests generated from riscv-tests repository. 2020-09-18 00:55:27 +02:00
Florian Nücke
fc34c58f04 Allow passing start PC value in CPU reset. 2020-09-17 23:44:08 +02:00
Florian Nücke
3644a5ee38 Fixed tests. 2020-09-13 16:58:17 +02:00
Florian Nücke
d86f9be2e7 Way too late first proper commit. 2020-09-12 05:34:47 +02:00