@@ -121,17 +121,14 @@ API's execution environment may use to identify this variable.
121
121
Legal values of _Access_:
122
122
123
123
* 0 [Read] - The execution environment may read the variable from the host but
124
- will never write it. On an FPGA device, only a read memory port is exposed
125
- by the generated IP core.
124
+ will never write it. On an FPGA device, only a read memory port is exposed.
126
125
* 1 [Write] - The execution environment may write the variable from the host
127
126
but will never read it. On an FPGA device, only a write memory port is
128
- exposed by the generated IP core .
127
+ exposed.
129
128
* 2 [Read/Write] - The execution environment may read or write the variable
130
- from the host. On an FPGA device, a read/write memory port is exposed by the
131
- generated IP core.
129
+ from the host. On an FPGA device, a read/write memory port is exposed.
132
130
* 3 [None] - The execution environment may neither read nor write the variable
133
- from the host. On an FPGA device, no memory port is exposed by the generated
134
- IP core.
131
+ from the host. On an FPGA device, no memory port is exposed.
135
132
136
133
If a global *OpVariable* is not decorated with *HostAccessINTEL*, the default
137
134
behavior is [Read/Write].
@@ -145,18 +142,25 @@ _Name_
145
142
| 6148
146
143
a|
147
144
*InitModeINTEL* +
148
- Only valid on global (module scope) *OpVariable*.
145
+ Only valid on global (module scope) *OpVariable* which has an _Initializer_
146
+ operand.
149
147
150
148
This decoration only has an effect when the consumer is an FPGA or similar
151
149
device. The _Trigger_ value tells how the global variable should be
152
150
initialized.
153
151
154
152
Legal values of _Trigger_:
155
153
156
- * 0 [init on device reprogram] - Initialization is performed when the device is
157
- programmed.
158
- * 1 [init on device reset] - Initialization is performed when a reset signal is
159
- sent to the device.
154
+ * 0 [init on device reprogram] - Initialization is performed by reprogramming
155
+ the device. This may require more frequent reprogramming but may reduce
156
+ area.
157
+ * 1 [init on device reset] - Initialization is performed by sending a reset
158
+ signal to the device. This may increase area but may reduce reprogramming
159
+ frequency.
160
+
161
+ If a global *OpVariable* with an _Initializer_ operand is not decorated with
162
+ *InitModeINTEL*, the method by which its value is initialized is implementation
163
+ defined.
160
164
161
165
2+| Literal Number +
162
166
_Trigger_
@@ -178,6 +182,9 @@ Legal values of _Value_:
178
182
* 1 [True] - Access to this memory is through a CSR interface shared with the
179
183
kernel arguments.
180
184
185
+ If a global *OpVariable* is not decorated with *ImplementInCSRINTEL*, the
186
+ interface for the variable is implementation defined.
187
+
181
188
2+| Literal Number +
182
189
_Value_
183
190
| *GlobalVariableDecorationsINTEL*
0 commit comments