wiki:WritingRules/NamingGuidelines

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.

Last modified 17 years ago Last modified on Mar 28, 2007, 2:50:56 PM