2019-02-04 09:59:35 +01:00
|
|
|
#!/bin/bash
|
2019-02-06 10:40:55 +01:00
|
|
|
#
|
|
|
|
# licence: GPLv3 or later
|
|
|
|
#
|
|
|
|
|
2019-02-07 06:29:47 +01:00
|
|
|
|
|
|
|
#yosys -p "synth_ecp5 -top saturn_core -json saturn_core.json" saturn_core.v
|
2019-03-02 22:33:58 +01:00
|
|
|
yosys make_saturn.ESP5.ys
|
2019-02-12 14:50:13 +01:00
|
|
|
YOSYS_STATUS=$?
|
|
|
|
echo "--------------------------------------------------------------------"
|
|
|
|
echo "YOSYS_STATUS ${YOSYS_STATUS}"
|
|
|
|
echo "--------------------------------------------------------------------"
|
|
|
|
|
2019-03-15 07:15:26 +01:00
|
|
|
time nextpnr-ecp5 --85k --speed 6 --freq 50 --lpf ulx3s_v20.lpf --textcfg z_saturn_test.config --json z_saturn_test.json
|
2019-03-15 14:54:24 +01:00
|
|
|
#time nextpnr-ecp5 --um5g-85k --speed 8 --freq 50 --lpf ulx3s_v20.lpf --textcfg z_saturn_test.config --json z_saturn_test.json
|
2019-03-15 07:15:26 +01:00
|
|
|
|
|
|
|
echo "--------------------------------------------------------------------"
|
|
|
|
echo "Running ecppack"
|
|
|
|
echo "--------------------------------------------------------------------"
|
|
|
|
time ecppack z_saturn_test.config z_saturn_test.bit
|