Move alt_reset to syscon
authorMatt Johnston <matt@codeconstruct.com.au>
Thu, 27 Oct 2022 03:23:30 +0000 (11:23 +0800)
committerMatt Johnston <matt@codeconstruct.com.au>
Mon, 31 Oct 2022 06:41:15 +0000 (14:41 +0800)
commit4bd45af739214d8659a4940485500ae508399ecd
tree782c95f76ecd462c4787076d979fb26ef18048e6
parentdfecda3a5fcb42fe6bc8e83621bf976032ff50c9
Move alt_reset to syscon

Instead of connecting core_alt_reset to litedram init_done, it moves to
a syscon register bit. This simplifies top- files and future soc_reset
handling. sdram main.c can unset the alt_reset bit after sdram init.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
13 files changed:
core_dram_tb.vhdl
dram_tb.vhdl
fpga/top-acorn-cle-215.vhdl
fpga/top-antmicro-artix-dc-scm.vhdl
fpga/top-arty.vhdl
fpga/top-genesys2.vhdl
fpga/top-nexys-video.vhdl
fpga/top-orangecrab0.2.vhdl
fpga/top-wukong-v2.vhdl
include/microwatt_soc.h
litedram/extras/litedram-wrapper-l2.vhdl
soc.vhdl
syscon.vhdl