Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

SCGT Set State block

 

image-20240904-134425.png

Mask

 

image-20240904-134253.png

 

Description

This block sets the current State of the driver resource identified by the values of State ID as input. State Id value for a specific state as given in in the table below.

Parameters

Node ID

The network supports up to 255 nodes. Each node on the GT network has an associated node ID. Node refers to each GT200 card. When a node transmits a native packet, it sends its node ID as part of the packet header. When a node receives a data packet, it compares its own node ID with the node ID in the received packet header. If the node IDs match, the packet is identified as a native packet and is not retransmitted.

Note that this field becomes read-only when a SCGT Init block is present.

PCI slot

If two or more boards of same type are physically present in the target PC, enter the PCI slot number of the board associated with this driver block (if only one card is present in a target PCI slot no will be 0).

Note that this field becomes read-only when a SCGT Init block is present.

Inputs

  • State ID: Enter the State identifier you want to set.

  • Value: sets the state of the drivers resource based on the associated value of the state ID from the table below.

ID

Name

Value

Description

ID

Name

Value

Description

1

SCGT_NODE_ID

0

Node ID of unit.

2

SCGT_ACTIVE_LINK

1

Unit’s active link. For boards with multiple links (link 0 And 1), you may get/set the active link.

3

SCGT_EWRAP

3

Set to '1' to enable electronic wrap and bypass the Link. Set to '0' to disable.

4

SCGT_WRITE_ME_LAST

4

Set to ‘1’ to specify that writes to shared memory will occur only after corresponding native packets traverse The ring. Set to ’0’ to specify normal operation, where writes to shared memory will not rely on the reception Of native packets.

5

SCGT_UNICAST_INT_MASK

5

Set to ‘1’ to enable receives of Unicast Interrupts. Set To ‘0’ to disable

6

SCGT_BROADCAST_INT_MASK

6

Bit vector describing which of the 32 Broadcast Interrupts to receive. Bit 0 corresponds to broadcast interrupt 0, and bit 31 corresponds to broadcast Interrupt 31. Set the corresponding bit to ‘1’ to receive The broadcast interrupt, set to ‘0’ otherwise. For example, to receive interrupt 16 set the mask as follows: mask = mask | (1<< 16);

7

SCGT_INT_SELF_ENABLE

7

Set to '1' to enable reception of network interrupts sent By this node. Set to '0' to disable.

8

SCGT_SPY_SM_TRAFFIC_CNT

13

Number of 32-bit data phases transmitted by node SCGT_SPY_NODE_ID.

9

SCGT_SPY_NODE_ID

14

The node ID for which 32-bit data phases will be Counted by SCGT_SPY_SM_TRAFFIC_CNT.

10

SCGT_TRANSMIT_ENABLE

15

Set to '1' to enable native packet transmissions. Set to'0' to disable. Does not affect retransmission of the Network packets.

11

SCGT_RECEIVE_ENABLE

16

Set to '1' to enable network packet reception. Set to '0' To disable. This includes data packets and network interrupt packets. Does not affect retransmission of the network packets.

12

SCGT_RETRANSMIT_ENABLE

17

Set to '1' to enable retransmission of foreign network traffic. Set to '0' to disable.

13

SCGT_LASER_0_ENABLE

18

Set to '1' to enable laser. Set to '0' to disable.

14

SCGT_LASER_1_ENABLE

19

Set to '1' to enable laser. Set to '0' to disable.

15

SCGT_D64_ENABLE

23

Set to '1' to enable 64-bit PCI data transfers by the GT DMA engine. Set to '0' to allow only 32-bit PCI data transfers by the GT DMA engine.

16

SCGT_BYTE_SWAP_ENABLE

24

Set to '1' to enable byte swapping on accesses to GT memory. Set to '0' to disable.

17

SCGT_WORD_SWAP_ENABLE

25

Set to '1' to enable swapping of 32-bit words on 64-bit accesses to GT memory. Set to '0' to disable.

Outputs

This block has no outputs.

Characteristics and Limitations

Direct Feedthrough

N/A

Discrete sample time

N/A

XHP support

Yes

Work offline

No

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter