Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
P
Platform-independent core collection
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 12
    • Issues 12
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Projects
  • Platform-independent core collection
  • Issues
  • #43

Closed
Open
Opened Sep 27, 2023 by Adrian Byszuk@abyszuk
  • Report abuse
  • New issue
Report abuse New issue

generate_cdc_constraints.tcl creates faulty constraints with path segmentation

In some scenarios the tools/generate_cdc_constraints.tcl script creates constraints that will trigger critical implementation warnings in Vivado:

 [Constraints 18-515] set_max_delay: Path segmentation by forcing 'some_starting_regs/O' to be timing startpoint. [/path/to/gencores_constraints.xdc:1]
Resolution: Use valid startpoint to avoid path segmentation such as the clock pin of a register.

This is a legitimate warning and such constraints will ignore the source clock skew and insertion delays, while still taking into account the destination clock skew.
image
The proper startpoint is always a C/CLK clock input of a sequential element.
More info about the path segmentation can be found in Xilinx documentation, specifically UG903 "Vivado Design Suite User Guide: Using Constraints" -> Ch.5 Timing Exceptions -> Path Segmentation

It's true that generated constraints contain -datapath_only switch that should ignore src/dst clock skew, but it's not clear how path segmentation interacts with that switch. Moreover, having N critical warning after implementation is always bad and may obfuscate other issues for anyone analyzing their design.

CC: @andreda @twlostow @marqueta

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
bug
Assign labels
  • View project labels
Reference: project/general-cores#43