7
mirror of https://github.com/EEVengers/ThunderScope.git synced 2025-04-08 06:25:30 +00:00

Only use .bin for flashing

This commit is contained in:
Aleksa Bjelogrlic 2024-10-18 15:46:18 -04:00
parent 94031201a9
commit 0778f849d5

View File

@ -1,18 +1,15 @@
mkdir prebuilt_bitstreams
cd prebuilt_bitstreams
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a100t.bin -O thunderscope_a100t.bin
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a100t.bit -O thunderscope_a100t.bit
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a200t.bin -O thunderscope_a200t.bin
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a200t.bit -O thunderscope_a200t.bit
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a50t.bin -O thunderscope_a50t.bin
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a50t.bit -O thunderscope_a50t.bit
if [ "$1" == "a50t" ]; then
openFPGALoader --fpga-part xc7a50tcsg324 -f -c digilent_hs2 thunderscope_a50.bit
openFPGALoader --fpga-part xc7a50tcsg324 -f -c digilent_hs2 thunderscope_a50.bin
elif [ "$1" == "a100t" ]; then
openFPGALoader --fpga-part xc7a100tfgg484 -f -c digilent_hs2 thunderscope_a100.bit
openFPGALoader --fpga-part xc7a100tfgg484 -f -c digilent_hs2 thunderscope_a100.bin
elif [ "$1" == "a100t" ]; then
openFPGALoader --fpga-part xc7a200tfbg484 -f -c digilent_hs2 thunderscope_a200.bit
openFPGALoader --fpga-part xc7a200tfbg484 -f -c digilent_hs2 thunderscope_a200.bin
else
echo "Valid arguments are: a50t a100t a200t"
fi