Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Full-Speed PRE packet handling #19

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

desowin
Copy link

@desowin desowin commented May 6, 2023

Convert cfilt test code to unit test

RXCmdFilter test code was not updated alongside actual module, most likely due to changed Migen simulator. Create new unit test based on old test code.

Explicitly use ulpi clock in ULPI control module

Do not use ClockDomainsRenamer in ULPI ctrl class. Add all synchronous statements to ulpi clock domain explicitly and use ClockDomainsRenamer only for the FSM.

No funcitonal changes, however the resulting verilog and thus bitstream is slightly different. The only difference in verilog is that signals previously named:

  • platform_clockdomainsrenamer_state
  • platform_clockdomainsrenamer_next_state
    are now respectively named:
  • platform_ulpi_ctrl_state
  • platform_ulpi_ctrl_next_state

Store transceiver speed in packet flags

Use per packet speed information while interpreting packets to show PRE or ERR based on captured speed.

Add option to automatically switch between Full-Speed and Low-Speed packet capture after Full-Speed preamble (PRE packet) is captured.

Fix: #15

desowin added 4 commits May 6, 2023 15:22
RXCmdFilter test code was not updated alongside actual module, most
likely due to changed Migen simulator. Create new unit test based on
old test code.
Do not use ClockDomainsRenamer in ULPI ctrl class. Add all synchronous
statements to ulpi clock domain explicitly and use ClockDomainsRenamer
only for the FSM.

No funcitonal changes, however the resulting verilog and thus bitstream
is slightly different. The only difference in verilog is that signals
previously named:
  * platform_clockdomainsrenamer_state
  * platform_clockdomainsrenamer_next_state
are now respectively named:
  * platform_ulpi_ctrl_state
  * platform_ulpi_ctrl_next_state
Use per packet speed information while interpreting packets to show PRE
or ERR based on captured speed.
Add option to automatically switch between Full-Speed and Low-Speed
packet capture after Full-Speed preamble (PRE packet) is captured.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Full-Speed PRE handling
1 participant