-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompile.sh
More file actions
executable file
·20 lines (16 loc) · 827 Bytes
/
compile.sh
File metadata and controls
executable file
·20 lines (16 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#
# licence: GPLv3 or later
#
#yosys -p "synth_ecp5 -top saturn_core -json saturn_core.json" saturn_core.v
yosys make_saturn.ESP5.ys
YOSYS_STATUS=$?
echo "--------------------------------------------------------------------"
echo "YOSYS_STATUS ${YOSYS_STATUS}"
echo "--------------------------------------------------------------------"
time nextpnr-ecp5 --85k --speed 6 --freq 50 --lpf ulx3s_v20.lpf --textcfg z_saturn_test.config --json z_saturn_test.json
#time nextpnr-ecp5 --um5g-85k --speed 8 --freq 50 --lpf ulx3s_v20.lpf --textcfg z_saturn_test.config --json z_saturn_test.json
echo "--------------------------------------------------------------------"
echo "Running ecppack"
echo "--------------------------------------------------------------------"
time ecppack z_saturn_test.config z_saturn_test.bit