From 071e923c100a3f45d78512f9c95ad9c0039ce642 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 6 Jul 2020 12:51:24 +0200 Subject: [PATCH] Add write transactions in the simulation testbench --- gram/simulation/simsoctb.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gram/simulation/simsoctb.v b/gram/simulation/simsoctb.v index a8d3c8d..df7d997 100644 --- a/gram/simulation/simsoctb.v +++ b/gram/simulation/simsoctb.v @@ -160,6 +160,11 @@ module simsoctb; wishbone_write(32'h00009000 >> 2, 8'h01); // DFII_CONTROL_SEL #2000; + // Write + wishbone_write(32'h10000000 >> 2, 32'h12345678); + #10000; + wishbone_write(32'h10000100 >> 2, 32'h00000000); + #10000; wishbone_read(32'h10000000 >> 2, tmp); end -- 2.30.2