From 9af6710ca7b46b8567784fab07cc31b6fe0a43a4 Mon Sep 17 00:00:00 2001 From: Raptor Engineering Development Team Date: Mon, 4 Apr 2022 11:06:51 -0500 Subject: [PATCH] Fix SPI device simulation model MISO/MOSI wiring --- src/simsoc_hyperram_tb.v | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2