wiki:WritingRules/NamingGuidelines

Version 1 (modified by Nicolas Pouillon, 17 years ago) (diff)

Separate guidelines

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.