Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about Nytes in Verilog code of USB2.0

Status
Not open for further replies.

bitblue

Newbie level 3
Joined
Dec 19, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,317
When I am reading the Verilog code of USB2.0 device controller, I have a question.
The Rtl code is as follow:
`C_EP0_DA_OWDA: begin //this state is to wait the out data
if (((RxData0 & DataTog) | (RxData1 & ~DataTog)) & CSR0[0])
NextEP0State = `C_EP0_DA_OTRNT; //Nyet
else if ((RxData0 & DataTog) | (RxData1 & ~DataTog))
NextEP0State = `C_EP0_DA_OTRAK;
else if ((RxData0 | RxData1) & CRC16Good & RejectPacket)
NextEP0State = `C_EP0_DA_OTNAK;
else if ((RxData0 | RxData1) & CRC16Good)
NextEP0State = `C_EP0_DA_OTNYT;//Nyte
....
I can not understand the difference of those two Nyte. The first Nyte maybe is indicating that there are not enough space in the endpoint for the next out transfer ,but how is the second Nyte's function? so I wonder whether some friends who are familiar with USB2.o can ask my question. Thanks a lot
 

Re: about USB2.0

hi,
can u send the code of usb 2.0 device controller
i am working on wireless usb which is like as usb 2.0 added some features to usb 2.0 .so i want usb2.0 code .can u send that one.
that is very helpful for me to design my block


regards,
Mallikarjun,
Design Engineer.
 

Re: about USB2.0

the ' may mean data at address... like a $ in c
so its just seeing if there is data and

if there in anything but zero

make the first variable equal to it

used by fifo etc...
 

    bitblue

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top