fpga: Remove cpu_instr from SPI access control condition

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2024-07-08 14:46:19 +02:00
parent be14e88d5f
commit 52a2e1b693
No known key found for this signature in database
GPG Key ID: 865B8A548EA61679

View File

@ -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