wiki:WritingRules/NamingGuidelines
Last modified 5 years ago Last modified on 03/28/07 14:50:56

Naming conventions

The following conventions are not mandatory, but can help to read the code.

  • All port names should be prefixed with p_
  • All internal register names should be prefixed with r_
  • All member variables should be prefixed with m_

These rules can help understanding variables semantics or having a better syntax highlight.