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 2 |
Rev 3 |
Line 24... |
Line 24... |
|
|
// define endpoints 2 and 4, both belong to interface 0 (in/out are from the point of view of the host)
|
// define endpoints 2 and 4, both belong to interface 0 (in/out are from the point of view of the host)
|
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);
|
|
|
// identify as ZTEX USB FPGA Module 1.2 (Important for FPGA configuration)
|
// select ZTEX USB FPGA Module 1.2 as target (Important for FPGA configuration)
|
IDENTITY_UFM_1_2(1.0.0.0,0);
|
IDENTITY_UFM_1_2(10.11.0.0,0);
|
|
|
// give them a nice name
|
// give them a nice name
|
#define[PRODUCT_STRING]["ucecho for USB FPGA MODULE 1.2"]
|
#define[PRODUCT_STRING]["ucecho for USB FPGA MODULE 1.2"]
|
|
|
// this is called automatically after FPGA configuration
|
// this is called automatically after FPGA configuration
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.