From: Raptor Engineering Development Team Date: Mon, 4 Apr 2022 16:06:51 +0000 (-0500) Subject: Fix SPI device simulation model MISO/MOSI wiring X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9af6710ca7b46b8567784fab07cc31b6fe0a43a4;p=ls2.git Fix SPI device simulation model MISO/MOSI wiring --- diff --git a/src/simsoc_hyperram_tb.v b/src/simsoc_hyperram_tb.v index 7c59d6f..f01df4b 100644 --- a/src/simsoc_hyperram_tb.v +++ b/src/simsoc_hyperram_tb.v @@ -123,8 +123,8 @@ s27kl0641 .CSNeg(spi_cs_n), .SCK(simsoctop.spi0.spi_clk), .RESETNeg(io_spi_dq[3]), - .SO(io_spi_dq[0]), - .SI(io_spi_dq[1]), + .SI(io_spi_dq[0]), + .SO(io_spi_dq[1]), .WPNeg(io_spi_dq[2]) ); @@ -140,6 +140,7 @@ s27kl0641 $dumpvars(0, uart_tx); $dumpvars(0, uart_rx); $dumpvars(0, simsoctop); + $dumpvars(0, cy15b104qs); end initial