From 6fee344b754464b1fd17f7c0429e6597e51dc74d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 10 Dec 2022 19:18:21 -0600 Subject: Implement hardware virtual memory --- tb/sim/paging.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tb/sim/paging.py (limited to 'tb/sim/paging.py') diff --git a/tb/sim/paging.py b/tb/sim/paging.py new file mode 100644 index 0000000..799f03d --- /dev/null +++ b/tb/sim/paging.py @@ -0,0 +1,5 @@ +cycles = 4096 + +def final(): + assert_reg(r0, 0x01234567) + assert_reg(r1, 0x89abcdef) -- cgit v1.2.3