Skip to content

Commit c9f02d8

Browse files
authored
Merge pull request #2550 from openXC7/oserdes-datawidths
036-iob-ologic: Also fuzz DATA_WIDTH 10 and 14
2 parents 08353c9 + 2f08afa commit c9f02d8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

fuzzers/036-iob-ologic/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def no_oserdes(segmk, site):
4242
widths = [2, 3, 4, 5, 6, 7, 8]
4343
else:
4444
assert mode == 'DDR'
45-
widths = [4, 6, 8]
45+
widths = [4, 6, 8, 10, 14]
4646

4747
for opt in widths:
4848
segmk.add_site_tag(

fuzzers/036-iob-ologic/generate.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ proc run {} {
9494
set_property BITSTREAM.GENERAL.PERFRAMECRC YES [current_design]
9595
set_property IS_ENABLED 0 [get_drc_checks {REQP-79}]
9696
set_property IS_ENABLED 0 [get_drc_checks {REQP-144}]
97+
set_property IS_ENABLED 0 [get_drc_checks {REQP-150}]
98+
set_property IS_ENABLED 0 [get_drc_checks {REQP-152}]
9799

98100
write_checkpoint -force design_pre_place.dcp
99101

fuzzers/036-iob-ologic/top.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def use_oserdese2(p, luts, connects):
6464
if verilog.unquote(p['DATA_RATE_OQ']) == 'SDR':
6565
data_widths = [2, 3, 4, 5, 6, 7, 8]
6666
else:
67-
data_widths = [4, 6, 8]
67+
data_widths = [4, 6, 8, 10, 14]
6868

6969
p['DATA_WIDTH'] = random.choice(data_widths)
7070

0 commit comments

Comments
 (0)