daq3: Make daq3_spi module more generic

main
Adrian Costina 2016-06-08 14:11:34 +03:00
parent 249cb3fb57
commit 90aa27c3b0
1 changed files with 4 additions and 6 deletions

View File

@ -98,13 +98,11 @@ module daq3_spi (
end
end
// io butter
// io buffer
assign spi_miso = spi_sdio;
assign spi_sdio = (spi_enable_s == 1'b1) ? 1'bz : spi_mosi;
IOBUF i_iobuf_sdio (
.T (spi_enable_s),
.I (spi_mosi),
.O (spi_miso),
.IO (spi_sdio));
endmodule