After create the bit file.
You need to load it to FPGA.
I wrote a load.py to load the bit file.
load.py
#!/usr/bin/env python3
import os
#os.system("openFPGALoader --scan-usb")
#os.system("openFPGALoader ./build/gateware/top1.bit")
#os.system("openFPGALoader -c digilent_hs3 ./build/gateware/top1.bit")
os.system("openFPGALoader -c digilent_hs2 ./build/gateware/top1.bit")
You need to know the cable type.
Run >openFPGALoader --scan-usb
and then pick the right cable type
Mine is digilent_HS2
Run >openFPGALoader -c digilent_hs2 ./build/gateware/top1.bit
Post a comment
Your Information
(Name and email address are required. Email address will not be displayed with the comment.)
Comments