mirror of https://github.com/openXC7/prjxray.git
WIP: archive fuzzer, it looks like it's superfluous as all pips are pseudo
This commit is contained in:
parent
98d0733c42
commit
d3779cf4f2
|
|
@ -15,9 +15,9 @@ RUN_OK = run.ok
|
||||||
TODO_RE=".*"
|
TODO_RE=".*"
|
||||||
|
|
||||||
MAKETODO_FLAGS=--pip-type ${PIP_TYPE} --seg-type $(PIP_TYPE) --re $(TODO_RE) --sides "mid"
|
MAKETODO_FLAGS=--pip-type ${PIP_TYPE} --seg-type $(PIP_TYPE) --re $(TODO_RE) --sides "mid"
|
||||||
N = 1
|
N = 40
|
||||||
|
|
||||||
SEGMATCH_FLAGS=-c 186
|
SEGMATCH_FLAGS=-c 1
|
||||||
|
|
||||||
A_PIPLIST=cfg_center.txt
|
A_PIPLIST=cfg_center.txt
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ def main():
|
||||||
for line in f:
|
for line in f:
|
||||||
tile, pip, src, dst, pnum, pdir = line.split()
|
tile, pip, src, dst, pnum, pdir = line.split()
|
||||||
|
|
||||||
if not tile.startswith('CFG'):
|
if not tile.startswith('CFG_CENTER_MID'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
pip_prefix, _ = pip.split(".")
|
pip_prefix, _ = pip.split(".")
|
||||||
|
|
@ -81,7 +81,7 @@ def main():
|
||||||
for tile, pips_srcs_dsts in tiledata.items():
|
for tile, pips_srcs_dsts in tiledata.items():
|
||||||
tile_type = pips_srcs_dsts["type"]
|
tile_type = pips_srcs_dsts["type"]
|
||||||
# we only do CFG_CENTER_MID for now
|
# we only do CFG_CENTER_MID for now
|
||||||
if tile_type == "CFG_CENTER_TOP":
|
if tile_type != "CFG_CENTER_MID":
|
||||||
continue
|
continue
|
||||||
pips = pips_srcs_dsts["pips"]
|
pips = pips_srcs_dsts["pips"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,10 @@
|
||||||
# SPDX-License-Identifier: ISC
|
# SPDX-License-Identifier: ISC
|
||||||
|
|
||||||
ports = {
|
ports = {
|
||||||
"EFUSE_USR": [
|
# has no inputs
|
||||||
# ("EFUSEUSR", 32), # Output
|
#"EFUSE_USR": [
|
||||||
],
|
# # ("EFUSEUSR", 32), # Output
|
||||||
|
#],
|
||||||
"DNA_PORT": [
|
"DNA_PORT": [
|
||||||
("CLK", 1),
|
("CLK", 1),
|
||||||
("DIN", 1),
|
("DIN", 1),
|
||||||
|
|
@ -63,19 +64,21 @@ ports = {
|
||||||
("USRDONEO", 1),
|
("USRDONEO", 1),
|
||||||
("USRDONETS", 1),
|
("USRDONETS", 1),
|
||||||
],
|
],
|
||||||
"FRAME_ECCE2": [
|
# has no inputs
|
||||||
# ("CRCERROR", 1), # Output
|
#"FRAME_ECCE2": [
|
||||||
# ("ECCERROR", 1), # Output
|
# # ("CRCERROR", 1), # Output
|
||||||
# ("ECCERRORSINGLE", 1), # Output
|
# # ("ECCERROR", 1), # Output
|
||||||
# ("FAR", 26), # Output
|
# # ("ECCERRORSINGLE", 1), # Output
|
||||||
# ("SYNBIT", 5), # Output
|
# # ("FAR", 26), # Output
|
||||||
# ("SYNDROME", 13), # Output
|
# # ("SYNBIT", 5), # Output
|
||||||
# ("SYNDROMEVAL ID", 1), # Output
|
# # ("SYNDROME", 13), # Output
|
||||||
# ("SYNWORD", 7), # Output
|
# # ("SYNDROMEVAL ID", 1), # Output
|
||||||
],
|
# # ("SYNWORD", 7), # Output
|
||||||
"USR_ACCESSE2": [
|
#],
|
||||||
# ("CFGCLK", 1), # Output
|
# has no inputs
|
||||||
# ("DATA", 32), # Output
|
#"USR_ACCESSE2": [
|
||||||
# ("DATAVALID", 1), # Output
|
# # ("CFGCLK", 1), # Output
|
||||||
],
|
# # ("DATA", 32), # Output
|
||||||
|
# # ("DATAVALID", 1), # Output
|
||||||
|
#],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -91,13 +91,13 @@ module top();
|
||||||
for site_type in [
|
for site_type in [
|
||||||
#"EFUSE_USR",
|
#"EFUSE_USR",
|
||||||
#"DNA_PORT",
|
#"DNA_PORT",
|
||||||
|
#"FRAME_ECCE2", # no inputs
|
||||||
|
#"USR_ACCESSE2", # no inputs
|
||||||
"ICAPE2",
|
"ICAPE2",
|
||||||
"BSCANE2",
|
"BSCANE2",
|
||||||
"DCIRESET",
|
"DCIRESET",
|
||||||
"CAPTUREE2",
|
"CAPTUREE2",
|
||||||
"STARTUPE2",
|
"STARTUPE2"]:
|
||||||
"FRAME_ECCE2",
|
|
||||||
"USR_ACCESSE2"]:
|
|
||||||
for _, site in gen_sites(site_type):
|
for _, site in gen_sites(site_type):
|
||||||
print_site(ports[site_type], luts, site, site_type)
|
print_site(ports[site_type], luts, site, site_type)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue