• 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. IC 614 and CDS_USE_PALETTE

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 13726
  • 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

IC 614 and CDS_USE_PALETTE

magal
magal over 9 years ago

Hi,

We're currently working on a project with a legacy process, and use IC614.

To make layout work easier, I'm setting the env variable, CDS_USE_PALETTE (pallette doesn't load by default in IC614 and I can't show only "used layers" otheriwse..)

However, this seems to mess up the bindkeyes setting - in what looks a random manner, sometimes they work and sometimes not - as if layer #'s are loaded wrong.

When I'm not setting CDS_USE_PALETTE bindkeyes seem to work fine.

Any help will be appreciated!

Matan

  • Cancel
Parents
  • magal
    magal over 9 years ago

    Hi Andrew.

    My Bindkeyes path is defined in .cdsinit, with as far as my limited understanding knows,one line:

    load(strcat("/home/user/kits/tsmc65/TSMC65bindkeys.il"))

    The bindkeys file content is:

    ; Metal display in layout editor

    hiSetBindKey("Layout" "Ctrl<Key>1" "leiMouseSetEntryLayer(224) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(256) leiMouseSetEntryLayer(39) leiMouseSetEntryLa
    yer(33) leiMouseSetEntryLayer(35) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>2" "leiMouseSetEntryLayer(225) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(257) leiMouseSetEntryLayer(41) leiMouseSetEntryLa
    yer(39) leiMouseSetEntryLayer(40) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>3" "leiMouseSetEntryLayer(226) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(258) leiMouseSetEntryLayer(43) leiMouseSetEntryLa
    yer(41) leiMouseSetEntryLayer(42) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>4" "leiMouseSetEntryLayer(227) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(259) leiMouseSetEntryLayer(45) leiMouseSetEntryLa
    yer(43) leiMouseSetEntryLayer(44) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>5" "leiMouseSetEntryLayer(228) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(260) leiMouseSetEntryLayer(47) leiMouseSetEntryLa
    yer(45) leiMouseSetEntryLayer(46) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>6" "leiMouseSetEntryLayer(229) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(261) leiMouseSetEntryLayer(49) leiMouseSetEntryLayer(47)
     leiMouseSetEntryLayer(48) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>7" "leiMouseSetEntryLayer(230) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(262) leiMouseSetEntryLayer(51) leiMouseSetEntryLayer(49)
     leiMouseSetEntryLayer(50) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>8" "leiMouseSetEntryLayer(231) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(263) leiMouseSetEntryLayer(53) leiMouseSetEntryLayer(51)
     leiMouseSetEntryLayer(52) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>9" "leiMouseSetEntryLayer(232) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(264) leiMouseSetEntryLayer(218) leiMouseSetEntryLayer(53
    ) leiMouseSetEntryLayer(54) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>0" "leiMouseSetEntryLayer(92) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(71) leiMouseSetEntryLayer(77) leiMouseSetEntryLayer(74) h
    iRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>-" "leiMouseSetEntryLayer(240) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(266) leiMouseSetEntryLayer(19) leiMouseSetEntryLayer(20)
     leiMouseSetEntryLayer(33) leiMouseSetEntryLayer(3) leiMouseSetEntryLayer(11) hiRedraw()")

    hiSetBindKey("Layout" "Ctrl<Key>`" "leSetAllLayerVisible(t) hiRedraw()")

    ; Metal selection in layout editor

    hiSetBindKey("Layout" "<Key>1" "leiMouseSetEntryLayer(35) hiRedraw()")
    hiSetBindKey("Layout" "<Key>2" "leiMouseSetEntryLayer(40) hiRedraw()")
    hiSetBindKey("Layout" "<Key>3" "leiMouseSetEntryLayer(42) hiRedraw()")
    hiSetBindKey("Layout" "<Key>4" "leiMouseSetEntryLayer(44) hiRedraw()")
    hiSetBindKey("Layout" "<Key>5" "leiMouseSetEntryLayer(46) hiRedraw()")
    hiSetBindKey("Layout" "<Key>6" "leiMouseSetEntryLayer(48) hiRedraw()")
    hiSetBindKey("Layout" "<Key>7" "leiMouseSetEntryLayer(50) hiRedraw()")
    hiSetBindKey("Layout" "<Key>8" "leiMouseSetEntryLayer(52) hiRedraw()")
    hiSetBindKey("Layout" "<Key>9" "leiMouseSetEntryLayer(54) hiRedraw()")
    hiSetBindKey("Layout" "<Key>0" "leiMouseSetEntryLayer(74) hiRedraw()")
    hiSetBindKey("Layout" "<Key>-" "leiMouseSetEntryLayer(11) hiRedraw()")


    ; Metal toggle in layout editor

    hiSetBindKey("Layout" "ShiftCtrl<Key>1" "leiMouseToggleLayerVisible(256)  leiMouseToggleLayerVisible(33) leiMouseToggleLayerVisible(39) leiMouseToggleLayerVisible(35)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>2" "leiMouseToggleLayerVisible(257)  leiMouseToggleLayerVisible(39) leiMouseToggleLayerVisible(41) leiMouseToggleLayerVisible(40)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>3" "leiMouseToggleLayerVisible(258)  leiMouseToggleLayerVisible(41) leiMouseToggleLayerVisible(43) leiMouseToggleLayerVisible(42)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>4" "leiMouseToggleLayerVisible(259)  leiMouseToggleLayerVisible(43) leiMouseToggleLayerVisible(45) leiMouseToggleLayerVisible(44)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>5" "leiMouseToggleLayerVisible(260)  leiMouseToggleLayerVisible(45) leiMouseToggleLayerVisible(47) leiMouseToggleLayerVisible(46)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>6" "leiMouseToggleLayerVisible(261)  leiMouseToggleLayerVisible(47) leiMouseToggleLayerVisible(49) leiMouseToggleLayerVisible(48)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>7" "leiMouseToggleLayerVisible(262)  leiMouseToggleLayerVisible(49) leiMouseToggleLayerVisible(51) leiMouseToggleLayerVisible(50)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>8" "leiMouseToggleLayerVisible(263)  leiMouseToggleLayerVisible(51) leiMouseToggleLayerVisible(53) leiMouseToggleLayerVisible(52)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>9" "leiMouseToggleLayerVisible(264)  leiMouseToggleLayerVisible(53) leiMouseToggleLayerVisible(218) leiMouseToggleLayerVisible(54)
     hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>0" "leiMouseToggleLayerVisible(92)  leiMouseToggleLayerVisible(71) leiMouseToggleLayerVisible(77) leiMouseToggleLayerVisible(74) h
    iRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>-" "leiMouseToggleLayerVisible(20) leiMouseToggleLayerVisible(19)  leiMouseToggleLayerVisible(33) leiMouseToggleLayerVisible(3) le
    iMouseToggleLayerVisible(11) hiRedraw()")

    Is it possible the using CDS_USE_PALLETTE changes layer numbering???

    Thanks again

    Matan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • magal
    magal over 9 years ago

    Hi Andrew.

    My Bindkeyes path is defined in .cdsinit, with as far as my limited understanding knows,one line:

    load(strcat("/home/user/kits/tsmc65/TSMC65bindkeys.il"))

    The bindkeys file content is:

    ; Metal display in layout editor

    hiSetBindKey("Layout" "Ctrl<Key>1" "leiMouseSetEntryLayer(224) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(256) leiMouseSetEntryLayer(39) leiMouseSetEntryLa
    yer(33) leiMouseSetEntryLayer(35) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>2" "leiMouseSetEntryLayer(225) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(257) leiMouseSetEntryLayer(41) leiMouseSetEntryLa
    yer(39) leiMouseSetEntryLayer(40) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>3" "leiMouseSetEntryLayer(226) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(258) leiMouseSetEntryLayer(43) leiMouseSetEntryLa
    yer(41) leiMouseSetEntryLayer(42) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>4" "leiMouseSetEntryLayer(227) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(259) leiMouseSetEntryLayer(45) leiMouseSetEntryLa
    yer(43) leiMouseSetEntryLayer(44) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>5" "leiMouseSetEntryLayer(228) leSetAllLayerVisi
    ble(nil) leiMouseSetEntryLayer(260) leiMouseSetEntryLayer(47) leiMouseSetEntryLa
    yer(45) leiMouseSetEntryLayer(46) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>6" "leiMouseSetEntryLayer(229) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(261) leiMouseSetEntryLayer(49) leiMouseSetEntryLayer(47)
     leiMouseSetEntryLayer(48) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>7" "leiMouseSetEntryLayer(230) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(262) leiMouseSetEntryLayer(51) leiMouseSetEntryLayer(49)
     leiMouseSetEntryLayer(50) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>8" "leiMouseSetEntryLayer(231) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(263) leiMouseSetEntryLayer(53) leiMouseSetEntryLayer(51)
     leiMouseSetEntryLayer(52) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>9" "leiMouseSetEntryLayer(232) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(264) leiMouseSetEntryLayer(218) leiMouseSetEntryLayer(53
    ) leiMouseSetEntryLayer(54) hiRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>0" "leiMouseSetEntryLayer(92) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(71) leiMouseSetEntryLayer(77) leiMouseSetEntryLayer(74) h
    iRedraw()")
    hiSetBindKey("Layout" "Ctrl<Key>-" "leiMouseSetEntryLayer(240) leSetAllLayerVisible(nil) leiMouseSetEntryLayer(266) leiMouseSetEntryLayer(19) leiMouseSetEntryLayer(20)
     leiMouseSetEntryLayer(33) leiMouseSetEntryLayer(3) leiMouseSetEntryLayer(11) hiRedraw()")

    hiSetBindKey("Layout" "Ctrl<Key>`" "leSetAllLayerVisible(t) hiRedraw()")

    ; Metal selection in layout editor

    hiSetBindKey("Layout" "<Key>1" "leiMouseSetEntryLayer(35) hiRedraw()")
    hiSetBindKey("Layout" "<Key>2" "leiMouseSetEntryLayer(40) hiRedraw()")
    hiSetBindKey("Layout" "<Key>3" "leiMouseSetEntryLayer(42) hiRedraw()")
    hiSetBindKey("Layout" "<Key>4" "leiMouseSetEntryLayer(44) hiRedraw()")
    hiSetBindKey("Layout" "<Key>5" "leiMouseSetEntryLayer(46) hiRedraw()")
    hiSetBindKey("Layout" "<Key>6" "leiMouseSetEntryLayer(48) hiRedraw()")
    hiSetBindKey("Layout" "<Key>7" "leiMouseSetEntryLayer(50) hiRedraw()")
    hiSetBindKey("Layout" "<Key>8" "leiMouseSetEntryLayer(52) hiRedraw()")
    hiSetBindKey("Layout" "<Key>9" "leiMouseSetEntryLayer(54) hiRedraw()")
    hiSetBindKey("Layout" "<Key>0" "leiMouseSetEntryLayer(74) hiRedraw()")
    hiSetBindKey("Layout" "<Key>-" "leiMouseSetEntryLayer(11) hiRedraw()")


    ; Metal toggle in layout editor

    hiSetBindKey("Layout" "ShiftCtrl<Key>1" "leiMouseToggleLayerVisible(256)  leiMouseToggleLayerVisible(33) leiMouseToggleLayerVisible(39) leiMouseToggleLayerVisible(35)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>2" "leiMouseToggleLayerVisible(257)  leiMouseToggleLayerVisible(39) leiMouseToggleLayerVisible(41) leiMouseToggleLayerVisible(40)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>3" "leiMouseToggleLayerVisible(258)  leiMouseToggleLayerVisible(41) leiMouseToggleLayerVisible(43) leiMouseToggleLayerVisible(42)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>4" "leiMouseToggleLayerVisible(259)  leiMouseToggleLayerVisible(43) leiMouseToggleLayerVisible(45) leiMouseToggleLayerVisible(44)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>5" "leiMouseToggleLayerVisible(260)  leiMouseToggleLayerVisible(45) leiMouseToggleLayerVisible(47) leiMouseToggleLayerVisible(46)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>6" "leiMouseToggleLayerVisible(261)  leiMouseToggleLayerVisible(47) leiMouseToggleLayerVisible(49) leiMouseToggleLayerVisible(48)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>7" "leiMouseToggleLayerVisible(262)  leiMouseToggleLayerVisible(49) leiMouseToggleLayerVisible(51) leiMouseToggleLayerVisible(50)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>8" "leiMouseToggleLayerVisible(263)  leiMouseToggleLayerVisible(51) leiMouseToggleLayerVisible(53) leiMouseToggleLayerVisible(52)
    hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>9" "leiMouseToggleLayerVisible(264)  leiMouseToggleLayerVisible(53) leiMouseToggleLayerVisible(218) leiMouseToggleLayerVisible(54)
     hiRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>0" "leiMouseToggleLayerVisible(92)  leiMouseToggleLayerVisible(71) leiMouseToggleLayerVisible(77) leiMouseToggleLayerVisible(74) h
    iRedraw()")
    hiSetBindKey("Layout" "ShiftCtrl<Key>-" "leiMouseToggleLayerVisible(20) leiMouseToggleLayerVisible(19)  leiMouseToggleLayerVisible(33) leiMouseToggleLayerVisible(3) le
    iMouseToggleLayerVisible(11) hiRedraw()")

    Is it possible the using CDS_USE_PALLETTE changes layer numbering???

    Thanks again

    Matan

    • 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