Add complete checks for invalid memory accesses

Also fix two typos for memory ranges that fortunately
have no impact on functionality.
This commit is contained in:
Jonas Thörnblad 2024-12-20 10:38:17 +01:00
parent 66888a3756
commit e7531dab7c
No known key found for this signature in database
GPG key ID: 2D318AD00A326F95
7 changed files with 71 additions and 9 deletions

View file

@ -406,7 +406,7 @@ module application_fpga_sim (
ram_cs = 1'h0;
ram_we = 4'h0;
ram_address = cpu_addr[17 : 2];
ram_address = cpu_addr[16 : 2];
ram_write_data = cpu_wdata;
fw_ram_cs = 1'h0;