File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed
Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 44# license that can be found in the LICENSE file or at
55# https://opensource.org/licenses/ISC
66#
7+ #
78# SPDX-License-Identifier: ISC
89N ?= 2
9- GENERATE_ARGS? ="--oneval 1 --design params.csv --dword 67 --dframe 1B --dbit 18 "
10+ GENERATE_ARGS? ="--oneval 1 --design params.csv --dword 68 --dframe 1A --dbit 23 "
1011include ../fuzzaddr/common.mk
1112
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def gen_sites():
2323 gridinfo = grid .gridinfo_at_loc (loc )
2424 if gridinfo .tile_type in ['CFG_CENTER_MID' ]:
2525 for site_name in sorted (gridinfo .sites .keys ()):
26- if site_name .startswith ("BSCAN_X0Y0 " ):
26+ if site_name .startswith ("ICAP_X0Y0 " ):
2727 yield tile_name , site_name
2828
2929
@@ -41,30 +41,24 @@ def run():
4141 params = {}
4242
4343 sites = list (gen_sites ())
44- jtag_chains = ("1 " , "2 " , "3" , "4 " )
44+ param = ("X8 " , "X16 " , "X32 " )
4545 for (tile_name , site_name ), isone in zip (sites ,
4646 util .gen_fuzz_states (len (sites ))):
4747 params [tile_name ] = (site_name , isone )
4848 print (
4949 '''
5050 (* KEEP, DONT_TOUCH, LOC = "{0}" *)
51- BSCANE2 #(
52- .JTAG_CHAIN ("{1}")
51+ ICAPE2 #(
52+ .ICAP_WIDTH ("{1}")
5353 )
54- BSCANE2_{0} (
55- .CAPTURE(),
56- .DRCK(),
57- .RESET(),
58- .RUNTEST(),
59- .SEL(),
60- .SHIFT(),
61- .TCK(),
62- .TDI(),
63- .TMS(),
64- .UPDATE(),
65- .TDO(1'b1)
54+ ICAP_{0} (
55+ .CSIB(),
56+ .RDWRB(),
57+ .I(),
58+ .O(),
59+ .CLK()
6660 );
67- ''' .format (site_name , jtag_chains [isone ]))
61+ ''' .format (site_name , param [isone ]))
6862
6963 print ("endmodule" )
7064 write_params (params )
You can’t perform that action at this time.
0 commit comments