Skip to content

dual clock sdc exist, causing TCLCMD-1594 error - #904

Merged
cedard234 merged 2 commits into
masterfrom
dw/genus/duplicate_sdc
Jul 13, 2026
Merged

dual clock sdc exist, causing TCLCMD-1594 error#904
cedard234 merged 2 commits into
masterfrom
dw/genus/duplicate_sdc

Conversation

@cedard234

Copy link
Copy Markdown
Contributor

Related PRs / Issues

Type of change:

  • Bug fix
  • New feature
  • Other enhancement

Impact:

  • Change to core Hammer
  • Change to a Hammer plugin
  • Other

Contributor Checklist:

  • Did you set master as the base branch?
  • Did you state the type-of-change/impact?
  • Did you delete any extraneous prints/debugging code?
  • (If applicable) Did you add documentation for the feature?
  • (If applicable) Did you update the poetry.lock file if you updated the requirements in pyproject.toml?
  • (If applicable) Did you add a unit test demonstrating the PR?
  • (If applicable) Did you run this through the e2e integration tests?
  • (If applicable) Did you update the submodules in e2e/ if this feature depends on updated plugins?

Fix duplicate create_clock warning in PAR (TCLCMD-1594/958)

When a post-synthesis SDC (gcd.mapped.sdc) is present, Hammer's MMMC script loaded both clock_constraints_fragment.sdc (generated from vlsi.inputs.clocks) and the synthesis SDC, both of which define create_clock for the same clock. This caused Innovus to warn that the clock definition was being overwritten.

Fix: in generate_mmmc_script(), filter out clock_constraints_fragment.sdc from the SDC list when a post-synthesis SDC is present, since the synthesis SDC already carries the clock definition. The pin constraints fragment is still included. Behavior is unchanged when no post-synthesis SDC exists (e.g. running PAR standalone).

@cedard234
cedard234 requested a review from harrisonliew July 11, 2026 18:26
@cedard234 cedard234 self-assigned this Jul 11, 2026
@cedard234 cedard234 added enhancement Cadence Specific to a Cadence tool labels Jul 11, 2026
@cedard234
cedard234 added this pull request to the merge queue Jul 13, 2026
Merged via the queue into master with commit 516aedb Jul 13, 2026
4 checks passed
@cedard234
cedard234 deleted the dw/genus/duplicate_sdc branch July 13, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cadence Specific to a Cadence tool enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants