1 # this supports ECP5 Evaluation Board
4 adapter driver bcm2835gpio
6 #bcm2835gpio_peripheral_base 0x20000000
7 bcm2835gpio_peripheral_base 0x3F000000
9 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
10 # These depend on system clock, calibrated for stock 700MHz
11 # bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET
12 #bcm2835gpio_speed_coeffs 146203 36
13 bcm2835gpio_speed_coeffs 194938 48
15 #bcm2835gpio_peripheral_base 0x3F000000
16 #bcm2835gpio_speed_coeffs 194938 48
21 # JTAG tck tms tdi tdo
22 bcm2835gpio_jtag_nums 26 24 27 25
24 #meh dummy reset to make openocd happy, set to A0 on SMI
25 bcm2835gpio_srst_num 5
26 reset_config srst_only srst_open_drain
29 jtag newtap max2 tap -irlen 11 -expected-id 0x020a20dd
31 svf ./rtl/EPM240_bitstream.svf -quiet