fmcomms8: common: In the SPI module, use ad_iobuf instead of a Xilinx primitive
parent
f8c2eb12d4
commit
4d2e05d5dd
|
@ -86,11 +86,11 @@ module fmcomms8_spi (
|
|||
|
||||
// io buffer
|
||||
|
||||
IOBUF i_iobuf_sdio (
|
||||
.T (spi_enable_s),
|
||||
.I (spi_mosi),
|
||||
.O (spi_miso_io),
|
||||
.IO (spi_sdio));
|
||||
ad_iobuf #(.DATA_WIDTH(1)) i_iobuf_sdio (
|
||||
.dio_t (spi_enable_s),
|
||||
.dio_i (spi_mosi),
|
||||
.dio_o (spi_miso_io),
|
||||
.dio_p (spi_sdio));
|
||||
|
||||
assign spi_miso_o = spi_enable_s ? spi_miso_io : spi_miso_i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue