Array Semantics
Steven Yi edited this page Oct 28, 2016
·
1 revision
Page to explore array semantics regarding array type and indices. This page will be used to help determine what rates array accessors should operate at for given array sub-types.
- Needs to deal with global arrays
- Needs to deal with non-numeric types, with consideration of future types (e.g., CS7's user-defined types)
- Rate of array accessor (get/set) is determined by the rate of the index. i/c indexes yield init-time array access. k yields perf-time array access.
- asig[x] - only works at perf time, no matter the index type
- ksig[i] - only i-time
- ksig[k] - only k-time
- isig[i] - only i-time
- isig[k] - outputs k-val