diff --git a/hw/application_fpga/core/tk1/rtl/tk1.v b/hw/application_fpga/core/tk1/rtl/tk1.v index 77d05d7..2d5fd68 100644 --- a/hw/application_fpga/core/tk1/rtl/tk1.v +++ b/hw/application_fpga/core/tk1/rtl/tk1.v @@ -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