anlogic: implement DRAM initialization
authorIcenowy Zheng <icenowy@aosc.io>
Wed, 19 Dec 2018 02:18:47 +0000 (10:18 +0800)
committerIcenowy Zheng <icenowy@aosc.io>
Wed, 19 Dec 2018 23:56:15 +0000 (07:56 +0800)
commit90d00182cfe358438d777f2ca7abacb4c6a2733c
tree5af285a46aa934a6b8b3a1aa316a26983a1054f4
parent93d44bb9a613b46a80642b8ce71295db18fadbc5
anlogic: implement DRAM initialization

As the TD tool doesn't accept the DRAM cell to contain unknown values in
the initial value, the initialzation support of DRAM is previously
skipped.

Now add the support by add a new pass to determine unknown values in the
initial value.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
techlibs/anlogic/Makefile.inc
techlibs/anlogic/anlogic_determine_init.cc [new file with mode: 0644]
techlibs/anlogic/dram_init_16x4.vh [new file with mode: 0644]
techlibs/anlogic/drams.txt
techlibs/anlogic/drams_map.v
techlibs/anlogic/synth_anlogic.cc