mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-24 15:35:23 -04:00
fpga: Remove cpu_instr from SPI access control condition
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
be14e88d5f
commit
52a2e1b693
1 changed files with 5 additions and 7 deletions
|
@ -385,13 +385,11 @@ module tk1(
|
|||
//----------------------------------------------------------------
|
||||
always @*
|
||||
begin : spi_access_control
|
||||
spi_access_ok = 1'h1;
|
||||
// if ((cpu_valid & cpu_instr) & (cpu_addr[31 : 30] == ROM_PREFIX)) begin
|
||||
// spi_access_ok = 1'h1;
|
||||
// end
|
||||
// else begin
|
||||
// spi_access_ok = 1'h0;
|
||||
// end
|
||||
spi_access_ok = 1'h0;
|
||||
|
||||
if (cpu_valid & (cpu_addr[31 : 30] == ROM_PREFIX)) begin
|
||||
spi_access_ok = 1'h1;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue