Refer to Xilinx official documentation: Xiilnx Virtual Cable(XVC),
I'd like to make a similar one for Digilent zybo-z7 development board with non project TCL mode (page 22).
Official Documentations will help you:
git clone [email protected]:curly-wei/xvc-zybo-z7-rsc.git
Founder: DeWei<[email protected]>, RA, HEP-Phys-NTU