• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. create schematic warning markers

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 16377
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

create schematic warning markers

danmc91
danmc91 over 10 years ago

IC6.1.6

RHEL5.5

Virtuoso Schematic Editor

I have some code which gets triggered by schematic check and save.  If the code doesn't like something about one of the instances I want to create a warning and add a warning marker.

I have tried

rectId = dbCreateRect(cvId list("marker" "warning") instId->bBox)
;; add appropriate properties to box for proper marker browsing
dbCreateProp(rectId "schDisplay" "string" "Warning Reason")

dbCreateProp(rectId "schCreatedBy" "string" "WarningOwner")
dbCreateProp(rectId "schMarker" "string" "Warning")

and that seemed to work but with IC6 I no longer can see the warning reason when I search for markers.  Also I'd rather use the select box instead of bounding box.

Then I tried:

geCreateMarker(instId, "warning", "WarningOwner", "WarningReason", "WarningReason")

This works in IC616, I can see the reason in the list of markers, and also it uses the select box.  However, I messes up the last extraction time relative to the last modified time so I can't netlist if there is a warning.

I'm invoking the skill code via

schRegPostCheckTrigger('my_skill_procedure)

At the end of my procedure I'm also making a call to

schUpdateUserSRCErrorAndWarn(my_err_count, my_warn_count)

My questions are:

1)  what is the "right" way to add warning markers to the schematic?

2) how can I access a select box for an instance?

3) while we are at it, what is the "right" way to add a warning marker to a layout?

Thanks

-Dan

  • Cancel
Parents
  • skillUser
    skillUser over 10 years ago

    Hi Dan,

    There are a few "ge" prefix functions for creating markers, or you can create them at the lowest level (either schematic or layout) using dbCreateMarker().  In IC6x and IC12x the marker is an object as opposed to the previous "shape" with properties on it. For layout or schematic either of these methods should be the 'right' way.  I have not looked in detail, but isn't the instance bounding box instId~>bBox sufficient as an answer for 2) ?

    I hope this helps you!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 10 years ago

    Hi Dan,

    There are a few "ge" prefix functions for creating markers, or you can create them at the lowest level (either schematic or layout) using dbCreateMarker().  In IC6x and IC12x the marker is an object as opposed to the previous "shape" with properties on it. For layout or schematic either of these methods should be the 'right' way.  I have not looked in detail, but isn't the instance bounding box instId~>bBox sufficient as an answer for 2) ?

    I hope this helps you!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information