URL
https://opencores.org/ocsvn/usb_fpga_1_2/usb_fpga_1_2/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 5 |
Line 135... |
Line 135... |
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "ucecho.ihx", force ) + " ms");
|
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "ucecho.ihx", force ) + " ms");
|
}
|
}
|
|
|
// upload the bitstream if necessary
|
// upload the bitstream if necessary
|
if ( force || ! ztex.getFpgaConfiguration() ) {
|
if ( force || ! ztex.getFpgaConfiguration() ) {
|
System.out.println("FPGA configuration time: " + ztex.configureFpga( "fpga/ucecho.bin" , force ) + " ms");
|
System.out.println("FPGA configuration time: " + ztex.configureFpga( "fpga/ucecho.bit" , force ) + " ms");
|
}
|
}
|
|
|
|
|
// claim interface 0
|
// claim interface 0
|
ztex.trySetConfiguration ( 1 );
|
ztex.trySetConfiguration ( 1 );
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.