mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-28 03:10:56 -05:00
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:
parent
7b4a659868
commit
c0a79e77c6
2 changed files with 35 additions and 15 deletions
|
|
@ -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),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue