Array
(
    [content] => 
    [params] => Array
        (
            [0] => /forum/threads/thinking-software-at-the-rtl-level.4325/
        )

    [addOns] => Array
        (
            [DL6/MLTP] => 13
            [Hampel/TimeZoneDebug] => 1000070
            [SV/ChangePostDate] => 2010200
            [SemiWiki/Newsletter] => 1000010
            [SemiWiki/WPMenu] => 1000010
            [SemiWiki/XPressExtend] => 1000010
            [ThemeHouse/XLink] => 1000970
            [ThemeHouse/XPress] => 1010570
            [XF] => 2021770
            [XFI] => 1050270
        )

    [wordpress] => /var/www/html
)

Thinking software at the RTL level

Most SoC design teams come up with a uniform RTL coding style, and can even use linting tools to enforce their style guidelines and rules on all team members.
 
The article talked about a gray count sequence algorithm, RTL coding for an FSM to do gray counting in Verilog and VHDL, and how to think about writing RTL code. How we think about RTL effects the code style, and code styles can be checked and enforced.
 
The article talked about a gray count sequence algorithm, RTL coding for an FSM to do gray counting in Verilog and VHDL, and how to think about writing RTL code. How we think about RTL effects the code style, and code styles can be checked and enforced.

The message of the article is that coding styles are not neutral and may put an artificial and suboptimal limit on the available design solutions. For example, if one follows common Verilog coding guidelines ("do not use a blocking assignment in a clocked always block"), the presented design solution is not available.
 
Jan,
What RTL coding styles do you commonly use and why?

Many design teams create an RTL methodology document before they start coding as a guideline.
 
Back
Top