# Top-level Module/Entity
Some rules apply/do not apply to top-level module/entity, or they apply differently. For instance, see
rule: Only allowed port modes should be used: 'in', 'out' and, for top level entities only, 'inout'.
To define the top-level module/entity of your project, log in to the Linty web interface, browse your project, go to
**Project Settings > General Settings > HDL** and update the **sonar.hdl.topModule** property.