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 5 |
Rev 6 |
Line 185... |
Line 185... |
ztex.certainWorkarounds = workarounds;
|
ztex.certainWorkarounds = workarounds;
|
|
|
// upload the firmware if necessary
|
// upload the firmware if necessary
|
if ( force || ! ztex.valid() || ! ztex.dev().productString().equals("memtest example for UFM 1.15") ) {
|
if ( force || ! ztex.valid() || ! ztex.dev().productString().equals("memtest example for UFM 1.15") ) {
|
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "memtest.ihx", force ) + " ms");
|
System.out.println("Firmware upload time: " + ztex.uploadFirmware( "memtest.ihx", force ) + " ms");
|
|
force = true;
|
}
|
}
|
|
|
ztex.vendorCommand (0x60, "Set test pattern", (genMode ? 1 : 0), 0);
|
ztex.vendorCommand (0x60, "Set test pattern", (genMode ? 1 : 0), 0);
|
|
|
// upload the bitstream if necessary
|
// upload the bitstream if necessary
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.