Register

« Back to Glossary Index

To access a variable outside a component you need a specific interface called a register. A register is a subcomponent, that gives you access to a variable that you assign to it. You can access the variable through the Set and Get methods.

You access the register like you would access a variable. For example “My_register:= 27” will call the register’s Set method with 27 as a parameter. It will store the value “27” in the register’s variable.

Normally the system assigns a unique softwire number to a register. A COPP component can display up to 16 registers, each having a softwire number. As a result, if there are more than 16 registers within a component, you can have to access the remaining registers through their Get or Set methods.

« Back to Glossary Index