Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Ada Code > Generating Ada code > Generating Ada code > Setting up data type mapping for generation - optional (Ada code)
  
Setting up data type mapping for generation - optional (Ada code)
If you create a basic type in the Model, you may have to map it to an Ada type in the Ada_Sync.ini file. For more information, see
To specify data type mappings
1. Using a text editor such as Notepad, open the Ada_Sync.ini file, which resides in the 'PTC Integrity Modeler\Modeler\System\AdaGen' folder.
2. In the [Datatype Mappings] section, insert or change your basic types using the syntax:
<Modeler Type>=<Ada Type>
Where <Modeler Type> is not case sensitive and <Ada Type> is case sensitive.
3. Save and close the Ada_Sync.ini file.
4. If ACS is running, stop and restart the ACS.
To specify a default data type for attributes, parameters and type definitions:
1. Using a text editor such as Notepad, open the Ada_Sync.ini file, which resides in the PTC Integrity Modeler\Modeler\System\AdaGenfolder.
2. In the [Datatype Default] section, set the default value as required.
When an Attribute, Parameter or Type Definition does not have a data type specified, ACS will use the default value you specified.
To specify a default data type for operations:
Using a text editor such as Notepad, open the Ada_Sync.ini file, which resides in the PTC Integrity Modeler\Modeler\System\AdaGenfolder.
In the [Datatype Default] section, set the operationdefault value as required.
When an Operation does not have a data type specified, ACS will use the default value you specified.
* 
The operationdefault value is intentionally blank, so that an Operation with no Data Type specified is generated as a procedure.