mirror of https://github.com/openXC7/prjxray.git
Attempt make 041 and 045 work on K7 and Z7.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
a1b24f3a24
commit
59a4c27f2e
|
|
@ -18,6 +18,11 @@ proc print_tile_pips {tile_type filename} {
|
|||
continue
|
||||
}
|
||||
|
||||
# TODO: Support CLK sources from GTX hardblocks.
|
||||
if [string match *GTX* $src_node] {
|
||||
continue
|
||||
}
|
||||
|
||||
if {[llength [get_nodes -uphill -of_objects [get_nodes -of_objects $dst]]] != 1} {
|
||||
set pip_string "$tile_type.[regsub {.*/} $dst ""].[regsub {.*/} $src ""]"
|
||||
if ![dict exists $pips $pip_string] {
|
||||
|
|
|
|||
|
|
@ -107,14 +107,16 @@ def get_paired_iobs(db, grid, tile_name):
|
|||
|
||||
if gridinfo.tile_type.endswith('_L'):
|
||||
inc = 1
|
||||
lr = 'R'
|
||||
else:
|
||||
inc = -1
|
||||
lr = 'L'
|
||||
|
||||
idx = 1
|
||||
while True:
|
||||
gridinfo = grid.gridinfo_at_loc((loc.grid_x + inc * idx, loc.grid_y))
|
||||
|
||||
if gridinfo.tile_type == 'HCLK_IOI3':
|
||||
if gridinfo.tile_type.startswith('HCLK_IOI'):
|
||||
break
|
||||
|
||||
idx += 1
|
||||
|
|
@ -127,7 +129,8 @@ def get_paired_iobs(db, grid, tile_name):
|
|||
gridinfo = grid.gridinfo_at_loc(iob_loc)
|
||||
tile_name = grid.tilename_at_loc(iob_loc)
|
||||
|
||||
assert gridinfo.tile_type.endswith('IOB33')
|
||||
assert gridinfo.tile_type.startswith(lr + 'IOB'), (
|
||||
gridinfo, lr + 'IOB')
|
||||
|
||||
for site, site_type in gridinfo.sites.items():
|
||||
if site_type == 'IOB33M':
|
||||
|
|
|
|||
Loading…
Reference in New Issue