Added in_simulation flag to DDR3 init to allow starting (crippled) sim

This commit is contained in:
Markus Koch 2017-03-02 08:00:41 +01:00
parent c649c073ce
commit 2eacd7041d
1 changed files with 1 additions and 1 deletions

View File

@ -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;