fpga: Debug and lint nits

Use the access_ok_reg, not obsolete spi_acces_ok wire
      Remove now obsolete ROM_PREFIX define

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2024-07-09 13:08:52 +02:00 committed by Daniel Jobson
parent c0a79e77c6
commit 41e63e6e42
No known key found for this signature in database
GPG Key ID: 3707A9DBF4BB8F1A

View File

@ -112,8 +112,6 @@ module tk1(
localparam FW_RAM_FIRST = 32'hd0000000;
localparam FW_RAM_LAST = 32'hd00007ff;
localparam ROM_PREFIX = 2'h0;
//----------------------------------------------------------------
// Registers including update variables and write enable.
@ -245,13 +243,13 @@ module tk1(
.spi_mosi(spi_mosi),
.spi_miso(spi_miso),
.spi_enable((spi_enable & spi_access_ok_reg)),
.spi_enable_vld((spi_enable_vld & spi_access_ok_reg)),
.spi_start((spi_start & spi_access_ok_reg)),
.spi_enable((spi_enable & access_ok_reg)),
.spi_enable_vld((spi_enable_vld & access_ok_reg)),
.spi_start((spi_start & access_ok_reg)),
.spi_tx_data(spi_tx_data),
.spi_tx_data_vld((spi_tx_data_vld & spi_access_ok_reg)),
.spi_tx_data_vld((spi_tx_data_vld & access_ok_reg)),
.spi_rx_data(spi_rx_data),
.spi_ready((spi_ready & spi_access_ok_reg))
.spi_ready((spi_ready & access_ok_reg))
);
`endif // INCLUDE_SPI_MASTER