From 2eacd7041d6dbfb5340843acb756ca9816c981ba Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Thu, 2 Mar 2017 08:00:41 +0100 Subject: [PATCH] Added in_simulation flag to DDR3 init to allow starting (crippled) sim --- design/top.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/top.vhd b/design/top.vhd index 655fe4e..257053c 100644 --- a/design/top.vhd +++ b/design/top.vhd @@ -132,7 +132,7 @@ begin elsif rising_edge(clk) then if pll_locked = '1' then rst_ddr3_n <= '1'; -- Start DDR3 Controller - if local_init_done = '1' and local_cal_success = '1' then + if (local_init_done = '1' and local_cal_success = '1') or in_simulation then rst <= '0'; -- Start system! end if; end if;