adrv9009zu11eg: Update spi module to use generic verilog

main
Adrian Costina 2020-10-02 13:13:18 +01:00 committed by imoldovan
parent 9093a8c428
commit ae7ec82334
1 changed files with 5 additions and 5 deletions

View File

@ -86,11 +86,11 @@ module adrv9009zu11eg_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;