• 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. Functional Verification
  3. problem with e linting with hal

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 15341
  • 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

problem with e linting with hal

myonlyscreen
myonlyscreen over 12 years ago

 Hi all

I am using HAL for e linting and facing a problem with filtering source file for linting.

I am using the a design_info.txt file method to filter files that i don't want to lint.

however, this method works only for the built-in rules and doesn't affect the user defined rules (rules created by me).

Is there a way to fix this behavior of the HAL linter ?   i saw that there is a way to use a callback method for HAL messages, is this the only way to deal with this problem ?

Thanks in advance.

E.M. 

  • Cancel
Parents
  • hannes
    hannes over 12 years ago

    Hello E.M.,

    I've just tried to run with a user defined rule and with source filtering. This seems to work ok for me.
    Maybe there is some detail you are missing. I've added my user defined rule to the hal.def file and
    pass in the source filter via the design_info file. So my command line looks something like this:

    irun -hal ./exmple.e my_rule.e -nosncomp -halargs "-rulefile ./hal.def -design_info ./design_info.txt"

     

    -hannes 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • hannes
    hannes over 12 years ago

    Hello E.M.,

    I've just tried to run with a user defined rule and with source filtering. This seems to work ok for me.
    Maybe there is some detail you are missing. I've added my user defined rule to the hal.def file and
    pass in the source filter via the design_info file. So my command line looks something like this:

    irun -hal ./exmple.e my_rule.e -nosncomp -halargs "-rulefile ./hal.def -design_info ./design_info.txt"

     

    -hannes 

    • 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