switch1: configuration in switch1.ini Forwards time-triggered messages with VL-ID 100 and rate-constrained messages with VL-ID 101
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
TTEEtherSwitch | compound module |
Module for a TTEthernet Switch with variable number of ports. Contains a configurable best-effort implementation (beRelayUnitType like IMACRelayUnit), TTEPHYPort modules for physical ports, sync module (Sync) and a TTEScheduler module. The switch is configured by the provided TTEthernet XML network configuration (network_configuration parameter) and uses the device_name parameter to find its config. The configuration is done by the BufferManager that deletes itself at runtime. |
Name | Type | Description |
---|---|---|
small_network | network |
Small sample network with three hosts and one switch that shows how to configure the TTEthernet Model. Configuration in omnetpp.ini |
Name | Type | Default value | Description |
---|---|---|---|
hardware_delay | double | 8us |
Name | Value | Description |
---|---|---|
node | ||
display | i=block/switch;bgb=1219,312 |
Name | Direction | Size | Description |
---|---|---|---|
ethg [ ] | inout |
Physical ports of the switch |
Name | Type | Default value | Description |
---|---|---|---|
beswitch.addressTableFile | string |
set to empty string if not used |
|
beswitch.addressTableSize | int |
max size of address table |
|
beswitch.agingTime | double |
max idle time for address table entries (when it expires, entry is removed from the table) |
|
phy.tteOutput.tt_buffers | string | "" |
Comma seperated list of TTBuffers that send messages to this port |
phy.tteInput.ct_marker | int | 0 |
Critical traffic marker of the buffer |
phy.tteInput.ct_mask | int | 0 |
Critical traffic mask of the buffer |
phy.tteInput.incomings | string | "" |
Comma seperated list of ctc modules the input uses |
phy.mac.address | string | "auto" |
MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0. |
phy.mac.duplexMode | bool | true |
must be set to "true", as EtherMACFullDuplex does not support half-duplex operation (parameter is present to reduce the risk of accidental misconfiguration) |
phy.mac.txQueueLimit | int | 1000 |
maximum number of frames queued up for transmission in the internal queue (only used if queueModule==""); additional frames cause a runtime error |
phy.mac.mtu | int | 1500B | |
tteScheduler.tick | double | 80ns |
Length of a tick |
tteScheduler.max_drift | double | 16ps |
Maximum clock drift (e.g 16ps for 200ppm at 80ns per tick) |
tteScheduler.max_drift_change | double | 1ps |
Maximum clock drift change per cycle |
tteScheduler.cycle_ticks | int | 37500 |
Number of ticks for one cycle |
vl_100_ctc.receive_window_start | int |
Beginning of the receive window in number of ticks |
|
vl_100_ctc.receive_window_end | int |
End of the receive window in number of ticks |
|
vl_100_ctc.permanence_pit | int |
permanence point in time in number of ticks |
|
vl_100.destination_gates | string | "" |
Priority of the buffer (currently only used for rate-constrained traffic) int priority=default(-1); Critical traffic ID of the buffer int ct_id=default(0); Critical traffic marker of the buffer int ct_marker=default(0); Critical traffic mask of the buffer int ct_mask=default(0); Comma seperated list of gates where the frames of the buffer are delivered |
vl_100.priority | int | -1 |
Priority of the buffer (currently only used for rate-constrained traffic) |
vl_100.ct_id | int | 0 |
Critical traffic ID of the buffer |
vl_100.ct_marker | int | 0 |
Critical traffic marker of the buffer |
vl_100.ct_mask | int | 0 |
Critical traffic mask of the buffer |
vl_100.sendWindowStart | int | 0 |
Beginning of the send window in number of ticks (Changes to this parameter will get active for future scheduled frames only) |
vl_100.sendWindowEnd | int | 0 |
End of the send window in number of ticks |
vl_101_ctc.bag | int | 0 |
Bandwidth allocation gap in number of ticks (Changes to this parameter will get active for future frames only) |
vl_101_ctc.jitter | int | 0 |
Not used |
vl_101.destination_gates | string | "" |
Priority of the buffer (currently only used for rate-constrained traffic) int priority=default(-1); Critical traffic ID of the buffer int ct_id=default(0); Critical traffic marker of the buffer int ct_marker=default(0); Critical traffic mask of the buffer int ct_mask=default(0); Comma seperated list of gates where the frames of the buffer are delivered |
vl_101.priority | int | -1 |
Priority of the buffer (currently only used for rate-constrained traffic) |
vl_101.ct_id | int | 0 |
Critical traffic ID of the buffer |
vl_101.ct_marker | int | 0 |
Critical traffic marker of the buffer |
vl_101.ct_mask | int | 0 |
Critical traffic mask of the buffer |
vl_101.max_dispatch_delay | int | 0 |
Not used |
vl_101.bag | int | 0 |
Bandwidth allocation gap in number of ticks (Changes to this parameter will get active for future frames only) |
vl_101.jitter | int | 0 |
Not used |
vl_101.size | int | -1 |
Size of the buffer negative means infinite |
vl_101.drop_new | bool | false |
Dropping policy, Should the newest frame instead of the oldest frame be dropped when the buffer is full (see size parameter) |
// // switch1: configuration in switch1.ini // Forwards time-triggered messages with VL-ID 100 and rate-constrained messages with VL-ID 101 // module Switch1 extends TTEEtherSwitch { submodules: vl_100_ctc: TTIncoming { parameters: @display("p=349,60"); } vl_100: TTDoubleBuffer { parameters: @display("p=439,61"); } vl_101_ctc: RCIncoming { parameters: @display("p=349,140"); } vl_101: RCQueueBuffer { parameters: @display("p=439,141"); } connections: vl_100_ctc.out --> vl_100.in; vl_101_ctc.out --> vl_101.in; }