#!/bin/bash # # licence: GPLv3 or later # #yosys -p "synth_ecp5 -top saturn_core -json saturn_core.json" saturn_core.v yosys saturn-core.ESP5.ys YOSYS_STATUS=$? echo "--------------------------------------------------------------------" echo "YOSYS_STATUS ${YOSYS_STATUS}" echo "--------------------------------------------------------------------" nextpnr-ecp5 --gui --85k --speed 6 --freq 5 --lpf ulx3s_v20.lpf --textcfg empty_lfe5u-85f.config --json saturn-core.json --save saturn-core.ecp5