16 lines
850 B
Bash
Executable File
16 lines
850 B
Bash
Executable File
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_a200t.bin -O thunderscope_a200t.bin
|
|
wget https://github.com/EEVengers/thunderscope_litex/releases/download/beta_2-0fd27d5b/thunderscope_a50t.bin -O thunderscope_a50t.bin
|
|
if [ "$1" == "a50t" ]; then
|
|
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.bin
|
|
elif [ "$1" == "a200t" ]; then
|
|
openFPGALoader --fpga-part xc7a200tfbg484 -f -c digilent_hs2 thunderscope_a200.bin
|
|
else
|
|
echo "Valid arguments are: a50t a100t a200t"
|
|
fi
|
|
|