• Home
  • :
  • Community
  • :
  • Blogs
  • :
  • PCB Design
  • :
  • BoardSurfers: Training Insights: Running RAVEL Rules from…

PCB Design Blogs

Niharika1
Niharika1
15 Dec 2020
Subscriptions

Get email delivery of the Cadence blog featured here

  • All Blog Categories
  • Breakfast Bytes
  • Cadence Academic Network
  • Cadence Support
  • Custom IC Design
  • カスタムIC/ミックスシグナル
  • 定制IC芯片设计
  • Digital Implementation
  • Functional Verification
  • IC Packaging and SiP Design
  • Life at Cadence
  • The India Circuit
  • Mixed-Signal Design
  • PCB Design
  • PCB設計/ICパッケージ設計
  • PCB、IC封装:设计与仿真分析
  • PCB解析/ICパッケージ解析
  • RF Design
  • RF /マイクロ波設計
  • Signal and Power Integrity (PCB/IC Packaging)
  • Silicon Signoff
  • Spotlight Taiwan
  • System Design and Verification
  • Tensilica and Design IP
  • Whiteboard Wednesdays
  • Archive
    • Cadence on the Beat
    • Industry Insights
    • Logic Design
    • Low Power
    • The Design Chronicles

BoardSurfers: Training Insights: Running RAVEL Rules from Command Line

 In one of the previous posts, we learnt about How to Run a RAVEL Rule from the GUI. The RAVEL rules that you write can be run from command line or Graphical User Interface (GUI) of Allegro® PCB Editor. You can also run these rules from Allegro® Constraint Manager.

This might get you thinking as to why prefer the complicated and dry command line over the ease and simplicity of GUI? Why remember and type commands when just clicking can enable you to do tasks directly?

In this post, we will talk about why and how to run these rules from command line.

Why run RAVEL rules from command line?

The command line comes with its own interpreted language rather than compiled language, that we generally use. The perks being that you get instant feedback. Since, the machine can interpret the command without having to compile, it saves time and hence, execution is faster. 

In the case of running RAVEL rules from command line, it is convenient for running batch checks where the user does not need to change constraint values or parameters while running the rules. It is also used for developing and debugging RAVEL rules efficiently.

On the other hand, running RAVEL rules from the GUI or from Allegro Constraint Manager allows the user to modify the parameters in the rule, while running it.

Now that we can determine when to use command line, let’s get started.

How to run RAVEL rules from command line

The command used to run these rules is ravel. All you have to do is, go to the command line and type ravel<space>RAVEL_file_name.rav.

The RAVEL file contains the rule, which usually has the constraints to be applied and checked for. However, users do not have permission to modify the values of the constraint parameters while running the rules.

Once you run the command, it will do its work and let you know if the constraints are followed or not. 

What happens in case there are any violations? 

The best part is that it reports errors on the command line itself, as soon as you run the command. 

In addition, the violations can also be identified on the design canvas by externally generated DRC Markers. To view the violations, choose Tools – DRC Browser. Expand External – Externally Determined Violation worksheet to see a list of all the DRC errors. Selecting a violation highlights it on the design canvas.

You can also check these violations in the DRC domain of Allegro Constraint Manager.

 To learn in detail about this flow, watch the How to run a RAVEL Rule from the command line video on the Cadence Support portal. Click the video link now or visit Cadence Support and search for this video under Video Library.

Cadence Training Services now offers a Digital Badge for the popular training courses. These badges indicate proficiency in a certain technology or skill and give you a way to validate your expertise to managers and potential employers. You can add the digital badge to your e-mail signature or any social media platform, such as Facebook or LinkedIn, to highlight your expertise. 

To know more, see the blog post Take a Cadence Masterclass and Get a Badge. 

You might also be interested in the training Learning Map that guides you through recommended course flows as well as tool experience and knowledge-level training modules. Do SUBSCRIBE to be updated about upcoming training modules. If you have any questions about courses, schedules, online, public, or onsite live training, then reach out to Cadence Training. 

I hope this blog helps you in running RAVEL rules from the command line!

Tags:
  • 17.4 |
  • Cadence Online Support |
  • 17.4-2019 |
  • PCB design |
  • Allegro PCB Editor |
  • Allegro |