From 2942d0652a89646c5225bee15dd55cc3b0871766 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Mon, 13 Apr 2020 13:01:12 +0200 Subject: [PATCH] fix Briey verilator --- src/test/cpp/briey/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/cpp/briey/main.cpp b/src/test/cpp/briey/main.cpp index 2243dce..0ee7c45 100644 --- a/src/test/cpp/briey/main.cpp +++ b/src/test/cpp/briey/main.cpp @@ -401,7 +401,7 @@ public: sdramIo->ADDR = &top->io_sdram_ADDR ; sdramIo->DQ_read = (CData*)&top->io_sdram_DQ_read ; sdramIo->DQ_write = (CData*)&top->io_sdram_DQ_write ; - sdramIo->DQ_writeEnable = &top->io_sdram_DQ_writeEnable; + sdramIo->DQ_writeEnable = (CData*)&top->io_sdram_DQ_writeEnable; Sdram *sdram = new Sdram(sdramConfig, sdramIo); axiClk->add(sdram);