User's Manual

Table Of Contents
6. CONFIGURING THE TTE-SWITCH LAB SPACE
6.1.1.1 Configuring the Switch
In the network description XML file, a switch device must be created.
For TTE-Tools version 5.3 or below, the device target is TTE-Switch_Controller_Space_ASIC:
1 <device xsi:type="topo:Switch " name=" swlsp_sw0_0">
2 <port name="swlsp_sw0_P0 " targetId =" PHY.25"/ >
3 <port name="swlsp_sw0_P1 " targetId =" PHY.22"/ >
4 <port name="swlsp_sw0_P2 " targetId =" PHY.21"/ >
5 <port name="swlsp_sw0_P3 " targetId =" PHY.7"/ >
6 <port name="swlsp_sw0_P4 " targetId =" PHY.8"/ >
7 <port name="swlsp_sw0_P5 " targetId =" PHY.9"/ >
8 <port name="swlsp_sw0_P6 " targetId =" PHY.10"/ >
9 <port name="swlsp_sw0_P7 " targetId =" PHY.11"/ >
10 <port name="swlsp_sw0_P8 " targetId =" PHY.12"/ >
11 <port name =" swlsp_sw0_P9 " targetId ="PHY .13"/ >
12 <port name="swlsp_sw0_P10 " targetId =" PHY.23"/ >
13 <port name="swlsp_sw0_P11 " targetId =" PHY.24"/ >
14 <port name="swlsp_sw0_P12 " targetId =" PHY.14"/ >
15 <port name="swlsp_sw0_P13 " targetId =" PHY.15"/ >
16 <port name="swlsp_sw0_P14 " targetId =" PHY.16"/ >
17 <port name="swlsp_sw0_P15 " targetId =" PHY.17"/ >
18 <port name="swlsp_sw0_P16 " targetId =" PHY.18"/ >
19 <port name="swlsp_sw0_P17 " targetId =" PHY.19"/ >
20 <port name="swlsp_sw0_P18 " targetId =" PHY.20"/ >
21 <port name="swlsp_sw0_P19 " targetId =" PHY.6"/ >
22 <port name="swlsp_sw0_P20 " targetId =" PHY.5"/ >
23 <port name="swlsp_sw0_P21 " targetId =" PHY.4"/ >
24 <port name="swlsp_sw0_P22 " targetId =" PHY.3"/ >
25 <port name="swlsp_sw0_P23 " targetId =" PHY.2"/ >
26 <port name="swlsp_sw0_P24 " targetId =" PHY.1"/ >
27 <port name="swlsp_sw0_0_P0 " targetId ="PHY.0"/>
28 <syncConfig xsi: type ="sync:AS6802SyncConfig" name ="swlsp_sw0_PSYNC "
targetId ="AS6802 .0" syncRole ="syncCompressionMaster "
syncPriority ="// @syncDomain[ name ='SYNC_DOMAIN_1 ']
/@syncPriority [name=' PRIORITY_1 ']"/>
29 <bestEffortRoute destinationMacAddress ="FF:FF:FF:FF:FF:FF"
addrMask ="FF:FF:FF:FF:FF:FF" srcPorts ="// @device[ name ='swlsp_sw0_0 ']
/@port[name=' swlsp_sw0_0_P0 ']"
dstPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_P1 ']
// @device [name='swlsp_sw0_0 ']/ @port[ name ='swlsp_sw0_P2 ']
// @device [name='swlsp_sw0_0 ']/ @port[ name ='swlsp_sw0_P3 ']"/>
30 <deviceTarget
href ="platform :/plugin/ com. tttech.ttetools. models. targetdevice /data
/TTE_Switch_Controller_Space_ASIC .targetdevice #/"/ >
31 </device >
Listing 1: Mapping the ports
For TTE-Tools above version 5.3, the device target is TTE_Switch_Lab_ Space:
1 This feature will be available upon release of the corresponding
TTE -Tools release .
Synchronization only needs to be configured if time-triggered traffic is to be transmitted in the network.
According to the SAE AS6802 [6] standard, a TTEthernet network can have 1..n synchronization domains
© TTTech Computertechnik AG 2019. All rights reserved.
Confidential and Proprietary Information
29
Document Number:
D-863-M-05-001