daq1_spi: Delete device specific macro instantiation

main
Istvan Csomortani 2016-12-06 14:57:42 +02:00 committed by Csomortani
parent 977e6d9189
commit e30a80fda0
1 changed files with 3 additions and 6 deletions

View File

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