• 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. Unbound Variable 'red' in ASCII Technology File

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 393
  • 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

Unbound Variable 'red' in ASCII Technology File

JJ202502261359
JJ202502261359 6 months ago

I created a layer for MTL1 and connected the packet to red as shown below.
Then, I executed the "Compile an ASCII technology file" and linked the *.tf file.

drDefineColor(
;( DisplayName ColorName Red Green Blue Blink )
( display red 255 0 0 )
)

drDefinePacket(
;(Display PacketName Stipple LineStyl Fill Outline fillSt)
(display red blank solid red red x )
)

layerDefinitions(
techLayers(
;( LayerName Layer# Abbreviation )
;( --------- ------ ------------ )
;User-Defined Layers:
( MTL1 100 MTL1 )
) ;techLayers

techLayerPurposePriorities(
;( LayerName Purpose )
;( --------- ------- )
( MTL1 drawing )
) ;techLayerPurposePriorities

techDisplays(
;( LayerName Purpose Packet Vis Sel Con2ChgLy DrgEnbl Valid )
;( --------- ------- ------ --- --- --------- ------- ----- )
( MTL1 drawing red t t t t t )
) ;techDisplays

) ;layerDefinitions

The library manager created the library "test000", but the following errors occurred:

INFO (TECH-180006): Compiling class 'drDefineColor'....
*WARNING* (TECH-280181): *Error* eval: unbound variable - red.
INFO (TECH-180006): Compiling class 'drDefinePacket'....
*WARNING* (TECH-280181): *Error* eval: unbound variable - red.
INFO (TECH-180006): Compiling class 'layerDefinitions'....

What is the cause of this error?

  • Cancel
  • Andrew Beckett
    Andrew Beckett 6 months ago
    JJ202502261359 said:

    drDefineColor(
    ;( DisplayName ColorName Red Green Blue Blink )
    ( display red 255 0 0 )
    )

    drDefinePacket(
    ;(Display PacketName Stipple LineStyl Fill Outline fillSt)
    (display red blank solid red red x )
    )

    This part is not valid tech file syntax. This is from a display.drf file and would not be in the tech file itself. The parser uses the SKILL parser and hence sees the drDefineColor as a class, and is not expecting the word red - either way, it's not going to work.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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