fpga: Add stateful access control

Add access stateful control register that toggles if access to a
      resources is granted based on if code is excuted from ROM or RAM.
      The register is used to enable or block access to SPI but
      potentially other HW resources.

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2024-07-09 12:58:45 +02:00 committed by Daniel Jobson
parent 7b4a659868
commit c0a79e77c6
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
2 changed files with 35 additions and 15 deletions

View file

@ -328,6 +328,9 @@ module application_fpga(
.system_reset(tk1_system_reset),
.ram_access(ram_cs),
.rom_access(rom_cs),
.ram_addr_rand(ram_addr_rand),
.ram_data_rand(ram_data_rand),