URL
https://opencores.org/ocsvn/usb_fpga_1_11/usb_fpga_1_11/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
Line 188... |
Line 188... |
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "intraffic.ihx", force ) + " ms");
|
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "intraffic.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/intraffic.bin" , force ) + " ms");
|
System.out.println("FPGA configuration time: " + ztex.configureFpga( "fpga/intraffic.bit" , force ) + " ms");
|
}
|
}
|
|
|
// read the traffic
|
// read the traffic
|
UsbReader reader = new UsbReader( ztex );
|
UsbReader reader = new UsbReader( ztex );
|
reader.start();
|
reader.start();
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.