clk_freq = 50e6
dram_clk_freq = 100e6
if fpga == 'arty_a7':
- clk_freq = 25.0e6 # urrr "working" with the QSPI core (25 mhz does not)
+ clk_freq = 27.0e6 # urrr "working" with the QSPI core (25 mhz does not)
if fpga == 'ulx3s':
clk_freq = 40.0e6
if fpga == 'orangecrab':
if toolchain == 'yosys_nextpnr':
# add --seed 2 to arty a7 compile-time options
- os.environ['NMIGEN_nextpnr_opts'] = '--seed 1'
+ freq = clk_freq/1e6
+ os.environ['NMIGEN_nextpnr_opts'] = '--seed 3 --freq %.1f' % freq
+ os.environ['NMIGEN_nextpnr_opts'] += ' --timing-allow-fail'
if platform is not None:
# build and upload it