mirror of https://github.com/openXC7/prjxray.git
Remove asserts checking only artix7 / kintex7.
Lets see how they explode on Zynq. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
219fc2cba3
commit
8d87f2ff95
|
|
@ -55,7 +55,6 @@ for tile, pips_srcs_dsts in tiledata.items():
|
||||||
|
|
||||||
|
|
||||||
def bitfilter(frame_idx, bit_idx):
|
def bitfilter(frame_idx, bit_idx):
|
||||||
assert os.getenv("XRAY_DATABASE") in ["artix7", "kintex7"]
|
|
||||||
if frame_idx == 0 and bit_idx == 48:
|
if frame_idx == 0 and bit_idx == 48:
|
||||||
return False
|
return False
|
||||||
if frame_idx == 1 and bit_idx == 31:
|
if frame_idx == 1 and bit_idx == 31:
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,6 @@ for tile, pips_srcs_dsts in tiledata.items():
|
||||||
|
|
||||||
|
|
||||||
def bitfilter(frame_idx, bit_idx):
|
def bitfilter(frame_idx, bit_idx):
|
||||||
assert os.getenv("XRAY_DATABASE") in ["artix7", "kintex7"]
|
|
||||||
if (frame_idx, bit_idx) in [(0, 48), (1, 31), (0, 32), (1, 35)]:
|
if (frame_idx, bit_idx) in [(0, 48), (1, 31), (0, 32), (1, 35)]:
|
||||||
return False
|
return False
|
||||||
return frame_idx in [0, 1]
|
return frame_idx in [0, 1]
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ for tile, pips_nodes in tiledata.items():
|
||||||
|
|
||||||
|
|
||||||
def bitfilter(frame_idx, bit_idx):
|
def bitfilter(frame_idx, bit_idx):
|
||||||
assert os.getenv("XRAY_DATABASE") in ["artix7", "kintex7"]
|
|
||||||
return frame_idx in [0, 1]
|
return frame_idx in [0, 1]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue