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

Enhance design editor generated SDC #654

Merged
merged 5 commits into from
May 18, 2024
Merged

Enhance design editor generated SDC #654

merged 5 commits into from
May 18, 2024

Conversation

chungshien-chai
Copy link
Contributor

@chungshien-chai chungshien-chai commented May 18, 2024

Existing extractor already have information about if a clock need to be routed to fabric
Exisitng extractor already generate SDC file which contains set_clock_pin command

This PR

  1. Use the "clock-to-fabric routing" information to filter pin/mode assignment from user.
  2. If the clock is not needed by fabric, extractor will commet it out in design_editor version of SDC
  3. Enhance the code to auto-determine "mode" based on primitive connectivity
  4. In summary: now extractor will ALWAYS generate 3 information of all port
    • set_clock_pin
    • set_mode
    • set_io

Testing:

Copy link
Contributor

@behzadmehmood-rs behzadmehmood-rs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@alaindargelas alaindargelas merged commit 660a92b into main May 18, 2024
7 checks passed
@alaindargelas alaindargelas deleted the yosys-fabric-sdc branch May 18, 2024 17:19
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.

3 participants