mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
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:
parent
c0a79e77c6
commit
41e63e6e42
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user