mirror of https://github.com/openXC7/prjxray.git
fixes and debug prints
This commit is contained in:
parent
fae0201cd4
commit
1fe4d34b08
|
|
@ -73,7 +73,7 @@ TILEGRID_TDB_DEPENDENCIES += ioi18/$(BUILD_FOLDER)/segbits_tilegrid.tdb
|
|||
endif
|
||||
|
||||
# These kintex parts give an empty design
|
||||
ifneq (${XRAY_FABRIC}, $(filter ${XRAY_FABRIC}, xc7k160t xc7k325t xc7k480t))
|
||||
ifneq (${XRAY_FABRIC}, $(filter ${XRAY_FABRIC}, xc7k160t xc7k325t xc7k480t xc7vx415t))
|
||||
TILEGRID_TDB_DEPENDENCIES += orphan_int_column/$(BUILD_FOLDER)/segbits_tilegrid.tdb
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ def parse_addr(line, only_frame=False, get_base_frame=False):
|
|||
|
||||
|
||||
def load_db(fn):
|
||||
print("===> opening file " + fn)
|
||||
for l in open(fn, "r"):
|
||||
l = l.strip()
|
||||
# FIXME: add offset to name
|
||||
|
|
@ -79,7 +80,7 @@ def load_db(fn):
|
|||
if not bitidx_up:
|
||||
bitidx = 0
|
||||
assert bitidx == 0, l
|
||||
assert frame % 0x80 == 0, "Unaligned frame at 0x%08X" % frame
|
||||
assert frame % 0x80 == 0, "Unaligned frame at 0x%08X in tile %s" % (frame, tile)
|
||||
yield (tile, frame, wordidx)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ def gen_sites():
|
|||
sites, _ = zip(*sorted(zip(sites, sites_y), key=lambda x: x[1]))
|
||||
|
||||
if gridinfo.tile_type[0] == 'L':
|
||||
int_grid_x = loc.grid_x + 3
|
||||
int_grid_x = loc.grid_x + 2
|
||||
pad_grid_x = loc.grid_x - 1
|
||||
int_tile_type = 'INT_L'
|
||||
else:
|
||||
int_grid_x = loc.grid_x - 3
|
||||
int_grid_x = loc.grid_x - 2
|
||||
pad_grid_x = loc.grid_x + 1
|
||||
int_tile_type = 'INT_R'
|
||||
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ def main():
|
|||
|
||||
clk_pins = pins_json["clk_pins"].split()
|
||||
data_pins = pins_json["data_pins"].split()
|
||||
print("pins json: ", str(pins_json))
|
||||
pins = {
|
||||
0: clk_pins[0],
|
||||
1: data_pins[0],
|
||||
|
|
|
|||
Loading…
Reference in New Issue