Set project compile inputs
Set a project's top module, include directories and defines, then save the settings.
Set compile inputs for the selected project in Cloud 2.1.2.10 or Digital Design Studio 2.1.2.3 for Windows. These settings apply to this project.
Open project settings
Open a project whose settings you can edit. Choose File → Settings → Project settings.
Set the top module
Choose Project → General.
Enter the module name in Top module, or leave it blank for automatic detection.
Project → General holds the Top module field; Current compile inputs shows how many include directories and defines the project has.
Add include directories
Choose Project → Include directories.
Enter a path relative to the project root, such as
rtl/include, and choose Add. You can paste several paths, one per line.Use the arrow buttons to change the search order. Use the remove button to remove a row.
Project → Include directories: enter a path relative to the project root, then choose Add.
Add defines
Choose Project → Defines.
Enter
NAMEorNAME=VALUE, such asDEBUGorWIDTH=32, and choose Add. You can paste several defines, one per line.Edit the Name and Value cells as needed. A define without a value is defined as 1. Use the remove button to remove a row.
Save the project settings
Choose Save after editing. Reopen the project to apply the saved values.