When you add or create source files, the source files are enabled in the Sources window by default. You can disable source files to prevent them from being elaborated, synthesized, or used in simulation. Enabling and disabling source files at different stages in the design lets you manage different design configurations in a single project.
- To disable source files, select the files in the Sources window, and select the Disable File right-click menu command.
- To enable disabled files, select the files in the Sources window, and select the Enable File right-click menu command.