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

Subversion Repositories usb_fpga_1_2

[/] [usb_fpga_1_2/] [trunk/] [examples/] [usb-fpga-1.15/] [1.15d/] [mmio/] [ucecho.c] - Diff between revs 8 and 9

Show entire file | Details | Blame | View Log

Rev 8 Rev 9
Line 23... Line 23...
EP_CONFIG(2,0,BULK,IN,512,2);
EP_CONFIG(2,0,BULK,IN,512,2);
EP_CONFIG(4,0,BULK,OUT,512,2);
EP_CONFIG(4,0,BULK,OUT,512,2);
 
 
// select ZTEX USB FPGA Module 1.15 as target (required for FPGA configuration)
// select ZTEX USB FPGA Module 1.15 as target (required for FPGA configuration)
IDENTITY_UFM_1_15(10.13.0.0,0);
IDENTITY_UFM_1_15(10.13.0.0,0);
 
ENABLE_UFM_1_15X_DETECTION;      // avoids some warnings
 
 
// enables high speed FPGA configuration, (re)use EP 4
// enables high speed FPGA configuration, (re)use EP 4
ENABLE_HS_FPGA_CONF(4);
ENABLE_HS_FPGA_CONF(4);
 
 
// this product string is also used for identification by the host software
// this product string is also used for identification by the host software
#define[PRODUCT_STRING]["memeory mapping example for UFM 1.15"]
#define[PRODUCT_STRING]["memeory mapping example for UFM 1.15"]
 
 
xdata BYTE run;
__xdata BYTE run;
 
 
#define[PRE_FPGA_RESET][PRE_FPGA_RESET
#define[PRE_FPGA_RESET][PRE_FPGA_RESET
    run = 0;
    run = 0;
]
]
 
 

powered by: WebSVN 2.1.0

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