LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Usb > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Dalton Marris<dmarris@c...>
    Date: Mon Nov 22 23:14:32 CET 2004
    Subject: [usb] Question regarding EP fifo full and NACK
    Top
    I have created a new test for the USB 1.1 OpenCores testbench by
    modifying the original "out0" task. I commented out the "fork" and
    "join" lines (558 and 621) so that all of the data is written to the
    fifo before anything is read out of it. With a fifo depth of 256, I
    would expect the test to pass until the total number of bytes written to
    the fifo is more than 256. With that said, when no_pack = 3 (actually 4
    packets) and pl_size = 64, a total of 4 x 64 = 256 bytes will be written
    to the fifo. This will fill the fifo, but just to it's maximum depth.
    When this scenario occurs, the testbench fails, and I get the following
    error message:

    ERROR: ACK mismatch. Expected: d2, Got: 5a (2748140.0 ns)

    I have verified that I am indeed getting a NACK back. Shouldn't I be
    able to fill the fifo, as long as I don't try to overfill it, without
    generating a NACK?

    Regards,
    Dalton

    Follow upAuthor
    [usb] Question regarding EP fifo full and NACKRahul Kumar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.