# 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'](https://demo.linty-services.com/coding_rules?open=vhdl%3AVHDL025&rule_key=vhdl%3AVHDL025) . 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.