OpenCores
URL https://opencores.org/ocsvn/usb_fpga_1_11/usb_fpga_1_11/trunk

Subversion Repositories usb_fpga_1_11

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /usb_fpga_1_11/trunk/examples/usb-fpga-1.2/intraffic
    from Rev 2 to Rev 3
    Reverse comparison

Rev 2 → Rev 3

/InTraffic.java
190,7 → 190,7
// upload the bitstream if necessary
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
/intraffic.c
21,7 → 21,7
 
// 1024 (instead of 512) byte bulk transfers.
// According to USB standard they are invalid but usually supported and 25% faster.
//#define[fastmode]
#define[fastmode]
 
#ifdef[fastmode]
// configure endpoint 2, in, quad buffered, 1024 bytes, interface 0
/Makefile
18,7 → 18,7
IHXEXTRADEPS=
 
# Extra files that should be included into th jar archive
EXTRAJARFILES=intraffic.ihx fpga/intraffic.bin
EXTRAJARFILES=intraffic.ihx fpga/intraffic.bit
 
################################
# DO NOT CHANAGE THE FOLLOWING #

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.