mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-01-22 21:31:02 -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
78918732a0
commit
924e3af3f1
@ -396,13 +396,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…
Reference in New Issue
Block a user