• 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. PCB Design
  3. Rules Checker HDL error trying to compile custom rule

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 165
  • Views 13526
  • Members are here 0
More Content
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

Rules Checker HDL error trying to compile custom rule

EricCraft
EricCraft over 7 years ago

Hello,

I've been trying to create a custom rule (actually any custom rule) and get it to compile, but I get the following error in the .log file after compile.


**Error! [5006] Could not find '-r'
I assume this has something to do with the cp.dat file: 
Here are its contents:
-e
-r "%CDS_SITE%/tools/checkplus_exp/concept/env/logical_env.rle"
-r "C:/temp/customRules/eight.erl"
Thanks in advance for any ideas!
  • Cancel
  • oldmouldy
    oldmouldy over 7 years ago

    Do you have a typo in the file name? ".erl" instead of ".rle"

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • EricCraft
    EricCraft over 7 years ago in reply to oldmouldy

    I believe that is the environment rule file which is a "built-in" rule which is precompiled. We did find that the cp.dat file gets auto-created, but the first -r needs quotes around the path string (which are not added by default)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 7 years ago in reply to EricCraft

    Did you copy the ".rle" files from the installation to your CDS_SITE? The doc says <install_path> which would be usually be CDSROOT, needs setting for 17.2

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Cadence Guidelines

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