1// PTO-UNIT: {"id":"PTO-ARCH-PROGRAMMING-MODEL-CORE-PE-TOPOLOGY","surface":"arch","classification":["programming-model","core-pe-topology"],"depends_on":["PTO-ARCH-OVERVIEW-ARCHITECTURE"]}2// The five-bit scalar namespace contains 24 absolute GPRs and two four-entry3// bundle-local temporary queues (T and U).4constant PTO_SCALAR_REGISTER_COUNT =32;5constant PTO_ABSOLUTE_GPR_COUNT =24;6constant PTO_TEMPORARY_QUEUE_DEPTH =4;7constant PTO_PREDICATE_REGISTER_COUNT =8;8constant PTO_PREDICATE_WIDTH =32;9constant PTO_ACR_COUNT =16;10constant PTO_TILE_REGISTER_COUNT =64;11constant PTO_SHARED_TILE_COUNT =64;12constant PTO_MODEL_MEMORY_AGENTS =4;13constant PTO_MODEL_MEMORY_EVENTS =16;1415// Fixed semantic PE identities are numbered PE0..PE3. The architectural16// four-bit mask keeps PE0 in its high bit, so consumers that index a mask by17// semantic PE identity must use this explicit representation bridge.18purefuncPTOPEMaskBitOfPEIdentity(19 pe_identity:integer{0..3})=>integer{0,1,2,3}20begin21return(3- pe_identity)asinteger{0,1,2,3};22end;23
Architecture behavior
purpose scope
Purpose and scope
This unit collects the fixed namespace sizes used by the PTO programming model and defines the representation bridge between semantic PE identities and the four-bit PE mask.
It is the place to check counts and identity-to-mask indexing. It does not define instruction behavior or memory ordering.
concepts state
Namespaces and identities
The scalar namespace has 32 register encodings, including 24 absolute GPRs and two temporary queues of depth 4. The unit also fixes 8 predicate registers of width 32, 16 ACRs, 64 Tile registers, and 64 Shared Tile registers.
Semantic PE identities are the integers 0 through 3, conventionally read as PE0 through PE3.
rules interactions
Identity-to-mask rule
PTOPEMaskBitOfPEIdentity maps a semantic PE identity to the corresponding mask index by subtracting it from 3.
This bridge is necessary because PE0 occupies the high bit of the four-bit architectural mask: PE0 maps to bit 3, PE1 to bit 2, PE2 to bit 1, and PE3 to bit 0.
boundaries
Model boundaries
PTO_MODEL_MEMORY_AGENTS and PTO_MODEL_MEMORY_EVENTS size the executable model at 4 agents and 16 events. Their PTO_MODEL_ names identify them as model bounds; this page does not generalize those values into additional implementation requirements.
example usage
illustrative indexing example
When a reader starts with semantic PE2, apply the bridge before indexing a mask: 3 - 2 gives mask bit 1. Directly using 2 as the bit index would select the wrong semantic PE.
related owners navigation
Related owners
Architecture overview is the dependency that establishes the top-level architecture identity.
Scalar registers uses the current memory-agent identity for per-PE GPR access.
Tile registers is the named Tile-register programming-model owner.
NDF clauses
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
No NDF clause is attached to this unit.
Evidence index
9 matching entries
Executable evidence1
PTO-ARCH-PROGRAMMING-MODEL-CORE-PE-TOPOLOGY compiles as an independent normative unit