mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-25 23:49:36 -05: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
@ -385,13 +385,11 @@ module tk1(
|
|||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
always @*
|
always @*
|
||||||
begin : spi_access_control
|
begin : spi_access_control
|
||||||
|
spi_access_ok = 1'h0;
|
||||||
|
|
||||||
|
if (cpu_valid & (cpu_addr[31 : 30] == ROM_PREFIX)) begin
|
||||||
spi_access_ok = 1'h1;
|
spi_access_ok = 1'h1;
|
||||||
// if ((cpu_valid & cpu_instr) & (cpu_addr[31 : 30] == ROM_PREFIX)) begin
|
end
|
||||||
// spi_access_ok = 1'h1;
|
|
||||||
// end
|
|
||||||
// else begin
|
|
||||||
// spi_access_ok = 1'h0;
|
|
||||||
// end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user