Skip to content

Commit

Permalink
fuzzers: Fuzz DELAYF LOADNMUX
Browse files Browse the repository at this point in the history
Signed-off-by: David Shah <dave@ds0.me>
  • Loading branch information
gatecat committed Nov 18, 2019
1 parent 5d1cfae commit 715b1cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fuzzers/ECP5/066-iodelay/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ def get_substs(mode="", settings={}, program={}, route=""):
settings={"DEL_VALUE": todecstr(x),
"WAIT_FOR_EDGE": "DISABLED"}),
empty_bitfile)

nonrouting.fuzz_enum_setting(cfg, "IOLOGIC{}.LOADNMUX".format(iol), ["1", "LOADN"],
lambda x: get_substs(program=({"LOADNMUX": "LOADN"} if x == "LOADN" else {})),
empty_bitfile, False)

fuzzloops.parallel_foreach(jobs, per_job)

Expand Down

0 comments on commit 715b1cd

Please sign in to comment.