fpga: Always allow access to SPI-master

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

View File

@ -385,12 +385,13 @@ module tk1(
//----------------------------------------------------------------
always @*
begin : spi_access_control
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'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
end