Expose RAM size for bounds check (also needed by route)
(&self)
| 132 | stats.read_misses.saturating_add(stats.write_misses) |
| 133 | } |
| 134 | |
| 135 | impl SystemBus { |
| 136 | pub fn new(rom_data: Vec<u8>) -> Self { |
| 137 | let rom = Rom::new(ROM_BASE, rom_data); |
| 138 | |
| 139 | // Create three-level cache hierarchy |
| 140 | // L3: 8MB, 64-byte blocks, 16-way set associative |
| 141 | let ram = Ram::new(RAM_BASE, RAM_SIZE_DEFAULT); |
nothing calls this directly
no outgoing calls
no test coverage detected