Get full snapshots for all three cache levels (params + line states + stats).
(
&self,
)
| 167 | size: 4096, // 4KB |
| 168 | block_size: 64, |
| 169 | associativity: 2, |
| 170 | write_back: true, |
| 171 | read_only: false, |
| 172 | }; |
| 173 | let l1_cache = Cache::new(l1_params, l2_cache); |
| 174 | |
| 175 | let uart = Uart::new(); |
| 176 | let clint = Clint::new(); |
| 177 | let plic = Plic::new(); |
| 178 | let framebuffer = Framebuffer::new(); |
| 179 | let keyboard = Keyboard::new(); |
| 180 | Self { |
| 181 | rom, |
| 182 | l1_cache, |
| 183 | uart, |
no test coverage detected