ffconfig: fix DB error

Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
John McMaster 2017-11-28 16:49:37 -08:00 committed by Tim 'mithro' Ansell
parent 3b303b38ed
commit 6ee294072d
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ with open("design.txt", "r") as f:
is5 = '5' in ff_name
if used:
segmk.addtag(site, "%s.ZINIT" % ff_name, 1 ^ init)
segmk.addtag(site, "%s.ZINI" % ff_name, 1 ^ init)
# CLKINV turns out to be more complicated than origianlly thought
if isff(cel_prim):
@ -112,7 +112,7 @@ with open("design.txt", "r") as f:
the other three primitives have a control input that sets the FF value to one.
Z => inversion
'''
segmk.addtag(site, "%s.ZRESET" % ff_name,
segmk.addtag(site, "%s.ZRST" % ff_name,
cel_prim in ('FDRE', 'FDCE', 'LDCE'))
segmk.compile()