• 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. drawing/logo in a schematic view

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 127
  • Views 8571
  • 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

drawing/logo in a schematic view

Aldo2
Aldo2 over 13 years ago

Hello,

is there a way to import/generate a drawing/logo in a schematic view?

Thank you

Aldo 

  • Cancel
Parents
  • drdanmc
    drdanmc over 8 years ago
    Thanks for the code here Andrew. I was looking for the same thing. I ran into a couple of issues that were not too hard to solve but thought I'd share them in case others hit them.

    Here is the top of my XPM file:

    /* XPM */
    static char *tmp[] = {
    /* columns rows colors chars-per-pixel */
    "538 126 2 1 ",
    " c #050708",
    ". c None",
    /* pixels */
    "... ......

    In this case, it is a space character used for the first color. The code which parses that color definition doesn't seem to deal well with the space. The other thing I ran into is the particular XPM file I had came from a PNG which was black on transparent. I used ImageMagick's convert utility to create the xpm with "convert mylogo.png mylogo.xpm" and ended up with the "None" for the color associated with".". As a quick workaround I just edited the XPM file to avoid those two issues.

    What I'm now left with is two challenges.

    1) I'm trying to figure out if there is a lpp which is likely to always be filled. Since this is for a logo which will go in a title block symbol, I will want it to work fairly well without regards to the PDK currently in use.

    2) I'm having troubles trading off sufficient resolution to make the logo look good with getting it the right size to fit in the title block. Back in CDDB days, there was a 'mag' property I could put on a symbol to size it to whatever was needed. It seems OA doesn't have that. When I pick a pixel size small enough my resolution is a bit lacking. Any suggestions? I've actually been thinking about trying to see if I can use potrace (maybe from within inkscape) and generate points on a polygon instead of using square pixels to approximate a curve.

    -Dan
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • drdanmc
    drdanmc over 8 years ago
    Thanks for the code here Andrew. I was looking for the same thing. I ran into a couple of issues that were not too hard to solve but thought I'd share them in case others hit them.

    Here is the top of my XPM file:

    /* XPM */
    static char *tmp[] = {
    /* columns rows colors chars-per-pixel */
    "538 126 2 1 ",
    " c #050708",
    ". c None",
    /* pixels */
    "... ......

    In this case, it is a space character used for the first color. The code which parses that color definition doesn't seem to deal well with the space. The other thing I ran into is the particular XPM file I had came from a PNG which was black on transparent. I used ImageMagick's convert utility to create the xpm with "convert mylogo.png mylogo.xpm" and ended up with the "None" for the color associated with".". As a quick workaround I just edited the XPM file to avoid those two issues.

    What I'm now left with is two challenges.

    1) I'm trying to figure out if there is a lpp which is likely to always be filled. Since this is for a logo which will go in a title block symbol, I will want it to work fairly well without regards to the PDK currently in use.

    2) I'm having troubles trading off sufficient resolution to make the logo look good with getting it the right size to fit in the title block. Back in CDDB days, there was a 'mag' property I could put on a symbol to size it to whatever was needed. It seems OA doesn't have that. When I pick a pixel size small enough my resolution is a bit lacking. Any suggestions? I've actually been thinking about trying to see if I can use potrace (maybe from within inkscape) and generate points on a polygon instead of using square pixels to approximate a curve.

    -Dan
    • 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