tools: support CLBLL_L in segprint2fasm and fasm2frame

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
Rick Altherr 2018-01-19 15:12:51 -08:00
parent b0604362e0
commit c894e1f123
2 changed files with 6 additions and 0 deletions

View File

@ -178,6 +178,8 @@ def run(f_in, f_out, sparse=False, debug=False):
return '%s.%s.%s' % (tilej['type'], suffix, value)
tile2dbkey = {
'CLBLL_L': clb2dbkey,
'CLBLL_R': clb2dbkey,
'CLBLM_L': clb2dbkey,
'CLBLM_R': clb2dbkey,
'INT_L': int2dbkey,

View File

@ -37,6 +37,8 @@ def tag2fasm(grid, seg, tag):
which = m.group(1)
value = m.group(2)
site = {
'clbll_l': 'CENTER_INTER_L',
'clbll_r': 'CENTER_INTER_R',
'clblm_l': 'CENTER_INTER_L',
'clblm_r': 'CENTER_INTER_R',
'hclk_l': 'HCLK_L',
@ -56,6 +58,8 @@ def tag2fasm(grid, seg, tag):
raise Exception("Couldn't find tile type %s" % tile_type)
tag2asm = {
'CLBLL_L': clbf,
'CLBLL_R': clbf,
'CLBLM_L': clbf,
'CLBLM_R': clbf,
'INT_L': intf,