WIP: archive fuzzer, it looks like it's superfluous as all pips are pseudo

This commit is contained in:
Hans Baier 2023-09-27 15:08:12 +07:00
parent 98d0733c42
commit d3779cf4f2
4 changed files with 28 additions and 25 deletions

View File

@ -15,9 +15,9 @@ RUN_OK = run.ok
TODO_RE=".*"
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

View File

@ -51,7 +51,7 @@ def main():
for line in f:
tile, pip, src, dst, pnum, pdir = line.split()
if not tile.startswith('CFG'):
if not tile.startswith('CFG_CENTER_MID'):
continue
pip_prefix, _ = pip.split(".")
@ -81,7 +81,7 @@ def main():
for tile, pips_srcs_dsts in tiledata.items():
tile_type = pips_srcs_dsts["type"]
# we only do CFG_CENTER_MID for now
if tile_type == "CFG_CENTER_TOP":
if tile_type != "CFG_CENTER_MID":
continue
pips = pips_srcs_dsts["pips"]

View File

@ -10,9 +10,10 @@
# SPDX-License-Identifier: ISC
ports = {
"EFUSE_USR": [
# ("EFUSEUSR", 32), # Output
],
# has no inputs
#"EFUSE_USR": [
# # ("EFUSEUSR", 32), # Output
#],
"DNA_PORT": [
("CLK", 1),
("DIN", 1),
@ -63,19 +64,21 @@ ports = {
("USRDONEO", 1),
("USRDONETS", 1),
],
"FRAME_ECCE2": [
# ("CRCERROR", 1), # Output
# ("ECCERROR", 1), # Output
# ("ECCERRORSINGLE", 1), # Output
# ("FAR", 26), # Output
# ("SYNBIT", 5), # Output
# ("SYNDROME", 13), # Output
# ("SYNDROMEVAL ID", 1), # Output
# ("SYNWORD", 7), # Output
],
"USR_ACCESSE2": [
# ("CFGCLK", 1), # Output
# ("DATA", 32), # Output
# ("DATAVALID", 1), # Output
],
# has no inputs
#"FRAME_ECCE2": [
# # ("CRCERROR", 1), # Output
# # ("ECCERROR", 1), # Output
# # ("ECCERRORSINGLE", 1), # Output
# # ("FAR", 26), # Output
# # ("SYNBIT", 5), # Output
# # ("SYNDROME", 13), # Output
# # ("SYNDROMEVAL ID", 1), # Output
# # ("SYNWORD", 7), # Output
#],
# has no inputs
#"USR_ACCESSE2": [
# # ("CFGCLK", 1), # Output
# # ("DATA", 32), # Output
# # ("DATAVALID", 1), # Output
#],
}

View File

@ -91,13 +91,13 @@ module top();
for site_type in [
#"EFUSE_USR",
#"DNA_PORT",
#"FRAME_ECCE2", # no inputs
#"USR_ACCESSE2", # no inputs
"ICAPE2",
"BSCANE2",
"DCIRESET",
"CAPTUREE2",
"STARTUPE2",
"FRAME_ECCE2",
"USR_ACCESSE2"]:
"STARTUPE2"]:
for _, site in gen_sites(site_type):
print_site(ports[site_type], luts, site, site_type)