Explore verification standard for aerial vehicles
Keywords:DO-254 ASICs FPGAs coding Clock Domain Crossing
A standard for the world of aviation electronics (avionics) is the RTCA/DO-254, Design Assurance Guidance For Airborne Electronic Hardware. It is a process assurance flow for civilian aerospace design of complex electronic hardware typically implemented using ASICs or big FPGAs. In the USA, the Federal Aviation Administration (FAA) requires that the DO-254 process is followed. In Europe there is an equivalent standard called EUROCAE ED-80.
At first glance the standard seems daunting. It defines how design and verification flows must be strongly tied to both implementation and traceability. In DO-254 projects, HDL coding standards must be documented, and any project code must be reviewed to ensure it follows these standards. They address the following issues:
Catching potential design problems in HDL code that may not normally surface until later in the process and may not be caught by other verification activities.
Supporting error detection, containment and recovery mechanisms.
Enforcing style and readability practices to improve code comprehension, portability, and reviews.
The specific rules or guidelines can be grouped into the following categories:
Coding Practices: Ensure that a safety-critical coding style and good digital design practices are used
Clock Domain Crossing: Addresses potential hazards with designs containing multiple clock zones and asynchronous clock zone transitions
Safe Synthesis: Checks to ensure a proper netlist is created by the synthesis tool
Design Reviews: Checks to make the process of design reviews and code comprehension easier
A specific guideline, "Coding Practice 6" that ensures safe finite-state-machine (FSM) transitions declares:
1. An FSM should have a defined reset state.
2. All unused (illegal or undefined) states should transition to a defined state, whereupon this error condition can be processed accordingly.
3. In an FSM there should be no unreachable states (i.e., those without any incoming transitions) and no dead-end states (i.e., those without any outgoing transitions).
![]() |
Figure: A single event upset (SEU) due to environmental radiation can cause an FSM to perform invalid transitions, and guideline CP6 eliminates this behaviour in DO-254 compliant designs. |
Guideline CP6 is an example of the granularity within the standard. It addresses how you write state machines, the coding style you use and the conformity of the state machines to that style. The figure illustrates how environmental radiation can cause incorrect behaviour, and the need to prevent that.
While reviews can be done manually, an automated approach (when possible) guarantees a more consistent HDL-code quality assessment. It takes a lot of pain out of the process and makes it less daunting. Automating the HDL code assessment process has the added benefit of promoting regular HDL design-checking steps throughout the design development process, as opposed to waiting for gating design reviews in which issues can be overwhelming and more costly to address.
Related Articles | Editor's Choice |
Visit Asia Webinars to learn about the latest in technology and get practical design tips.