Operands and parameters
LoopNest- encoded LB0, LB1, or LB2 selector
imm8- unsigned eight-bit bundle-local dimension value
Writes one selected bundle-local LB from a zero-extended eight-bit immediate exactly once.
PTO-BLOCK-C-B-DIMIC.B.DIMI imm8, ->LB0C.B.DIMI imm8, ->LB1C.B.DIMI imm8, ->LB2| Field | Bits | Signedness | Architectural role | Encoded zero |
|---|---|---|---|---|
LoopNest | 2 | encoding-defined | encoded LB0, LB1, or LB2 selector | Code zero selects LB0. |
imm8 | 8 | encoding-defined | unsigned eight-bit bundle-local dimension value | Encoded zero writes numeric zero to the selected LB. |
Loading WaveDrom diagram… The encoding table and WaveJSON remain available below.
| Decoded item | Bit range | Value |
|---|---|---|
| LoopNest | 15:14 | variable |
| imm8 | 13:6 | variable |
| Constant | 5:0 | 6'b111100 |
{
"reg": [
{
"bits": 6,
"name": "6'b111100"
},
{
"bits": 8,
"name": "imm8"
},
{
"bits": 2,
"name": "LoopNest"
}
],
"config": {
"bits": 16,
"fontsize": 13,
"hspace": 640,
"lanes": 1,
"offset": 0
}
}C.B.DIMI imm, ->{LB0, LB1, LB2}
LoopNestimm8Decode and Operation come directly from the instruction owner and remain separated by execution phase.
readonly func InstructionContractMatches_C_B_DIMI( operation: CommandOperation) => booleanbegin return operation == CommandOperation_c_b_dimi_16_3f1b113c76ce;end;pure func InstructionContractDimension_C_B_DIMI( loop_nest: bits(2)) => BundleDimensionIndexbegin assert loop_nest != '11'; return UInt(loop_nest) as BundleDimensionIndex;end;
pure func InstructionContractValue_C_B_DIMI( immediate: bits(8)) => Wordbegin return ZeroExtend{PTO_XLEN}(immediate);end;
readonly func InstructionContractHandler_C_B_DIMI() => CommandSemanticHandlerbegin return CommandHandler_SetBundleDimension;end;// PTO-INSTRUCTION: {"assembly":["C.B.DIMI imm8, ->LB0","C.B.DIMI imm8, ->LB1","C.B.DIMI imm8, ->LB2"],"block":[],"catalog_indices":[53],"catalog_records":[{"asm":"C.B.DIMI imm, ->{LB0, LB1, LB2}","constraints":[{"field":"LoopNest","operator":"not-equal","value":3}],"encoding":[{"index":0,"mask":"0x003f","match":"0x003c","width_bits":16}],"encoding_kind":"C16","fields":[{"name":"LoopNest","pieces":[{"instruction_lsb":14,"value_lsb":0,"width":2}],"signedness":"encoding-defined","width":2},{"name":"imm8","pieces":[{"instruction_lsb":6,"value_lsb":0,"width":8}],"signedness":"encoding-defined","width":8}],"form_id":"c_b_dimi_16_3f1b113c76ce","length_bits":16,"mnemonic":"C.B.DIMI","semantic_family":"CMD","semantic_group":"Bundle Dimension","semantic_handler":"SetBundleDimension","semantic_summary":"Zero-extends imm8 and writes one selected bundle-local LB exactly once.","status":"accepted"}],"classification":["attributes"],"contract":{"block_composition":["Header command after BSTART and before the first body instruction. C.B.DIMI and B.DIM share one write-once presence bit for each of LB0, LB1, and LB2."],"canonical_assembly":["C.B.DIMI imm8, ->LB0","C.B.DIMI imm8, ->LB1","C.B.DIMI imm8, ->LB2"],"defaults":["LoopNest 0, 1, and 2 select LB0, LB1, and LB2. imm8 is always present; encoded zero writes numeric zero and is not omission."],"encoding_class":"standalone-encoded","examples":["C.B.DIMI 0, ->LB0","C.B.DIMI 255, ->LB2"],"exceptions":["LoopNest code 3 raises Fault_IllegalInstruction before changing TPC or bundle state.","Execution outside an active block header or a second write to the same LB across C.B.DIMI and B.DIM raises Fault_BundleControl before changing the first value."],"field_contracts":{},"field_zero_meanings":{"LoopNest":"Code zero selects LB0.","imm8":"Encoded zero writes numeric zero to the selected LB."},"legality":["LoopNest codes 0..2 are assigned to LB0..LB2; code 3 is reserved.","imm8 accepts every unsigned value 0..255 and is zero-extended to the bundle dimension word.","Each selected LB is write-once for one block across full and compressed dimension commands."],"memory_effects":["none"],"operands":[{"field":"LoopNest","role":"encoded LB0, LB1, or LB2 selector"},{"field":"imm8","role":"unsigned eight-bit bundle-local dimension value"}],"ordering":["Placement and duplicate checks precede the LB update. A successful update sets the presence bit and value together, then command dispatch advances TPC by two bytes."],"standalone_opcode":true,"state_effects":["Write ZeroExtend(imm8) to the selected raw LB and set its presence bit.","LB meaning is selected by the completed operation schema; C.B.DIMI assigns no universal row, column, M, N, or K role."]},"depends_on":["PTO-BLOCK-MODEL-SCHEMA-DIMENSIONS"],"id":"PTO-BLOCK-C-B-DIMI","mnemonic":"C.B.DIMI","summary":"Writes one selected bundle-local LB from a zero-extended eight-bit immediate exactly once.","surface":"block"}// PTO-REVIEW: {"review_method":"formal-definition-read","outcome":"FORMAL-COMPLETE","reviewed_fields":["assembly","encoding","defaults","operation","state","memory","ordering","faults","reserved"]}// DOC-BEGIN: decodereadonly func InstructionContractMatches_C_B_DIMI( operation: CommandOperation) => booleanbegin return operation == CommandOperation_c_b_dimi_16_3f1b113c76ce;end;// DOC-END: decode// DOC-BEGIN: operationpure func InstructionContractDimension_C_B_DIMI( loop_nest: bits(2)) => BundleDimensionIndexbegin assert loop_nest != '11'; return UInt(loop_nest) as BundleDimensionIndex;end;
pure func InstructionContractValue_C_B_DIMI( immediate: bits(8)) => Wordbegin return ZeroExtend{PTO_XLEN}(immediate);end;
readonly func InstructionContractHandler_C_B_DIMI() => CommandSemanticHandlerbegin return CommandHandler_SetBundleDimension;end;// DOC-END: operation
C.B.DIMI is a compressed Block-header attribute that writes one selected bundle-local dimension exactly once.
C.B.DIMI is legal only after BSTART in the active header and before the first body operation; standalone or body placement raises Fault_BundleControl.
The accepted carrier uses the C16 encoding class and resolves every displayed field before the command reads bindings or changes state.
C.B.DIMI and B.DIM share one write-once presence bit for each of LB0, LB1, and LB2.
LoopNest — encoded LB0, LB1, or LB2 selector; imm8 — unsigned eight-bit bundle-local dimension value.LoopNest selects LB0..LB2; imm8 is zero-extended, and code 3 is reserved before Block state changes.Placement and duplicate-write checks precede the dimension update.
Success publishes the selected raw LB value and its shared presence bit atomically, then advances TPC by 2 bytes.
Fixed bits, reserved values, selector domains, and required Block placement are checked before architectural effects.
The current owner reports invalid schema, state, address, or continuation conditions through Fault_BundleControl, Fault_IllegalInstruction; no prose on this page creates an additional fault rule.
A second write through either C.B.DIMI or B.DIM rejects before changing the first value or presence bit.
This example demonstrates placement and carrier flow only; exact behavior remains in the current ASL and instruction contract.
C.B.DIMI 0, ->LB0After an active BSTART, this header command writes numeric zero to LB0; the same LB cannot be written again before the Block body.
Bodies come from owning ASL. Dragging or buttons change only this page-session view order.
No NDF clause is attached to this unit.
13 matching entries
PTO-AVS-BLOCK-C-B-DIMI-DECODE-001tests/asl/block/attributes/C.B.DIMI/block-decode-c-b-dimi-canonical-001.asl7e6feff55ba2c331b486030ee107bdef84e0c8faa32113cea68394832ce88ed4PTO-AVS-BLOCK-C-B-DIMI-DUP-001tests/asl/block/attributes/C.B.DIMI/block-fault-c-b-dimi-duplicate-001.asl8400046af05b3e96144cbbd21ccf71909ae2bc739c39262a53bf834be8cd1f01PTO-AVS-BLOCK-C-B-DIMI-PLACE-001tests/asl/block/attributes/C.B.DIMI/block-fault-c-b-dimi-placement-001.aslb4ed8efa7faa7208e89e0b9a2ece1c4d5101cf9f50bedaaa559fa5ff1046498fPTO-AVS-BLOCK-C-B-DIMI-RSVD-001tests/asl/block/attributes/C.B.DIMI/block-fault-c-b-dimi-reserved-001.asle55bd8ab2b0e65efd6fd6e1ed7bcf07794bccaf76b35f08b73fc0581b5020738PTO-AVS-BLOCK-C-B-DIMI-VALUES-001tests/asl/block/attributes/C.B.DIMI/block-bound-c-b-dimi-values-001.asl291f5a8fd57f307a091254e85b20bccd0018b54c8734f90f4952c77fc06a13c4PTO-EVIDENCE-RELEASE-TRACEABILITYPTO-EVIDENCE-RELEASE-TRACEABILITYspec/evidence/release-traceability-readiness.jsonc7327021d39dc67ac5564bc55073b3870a397d79ac8d9648284d56e33bc14a3ePTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREPTO-EVIDENCE-INSTRUCTION-CONTRACT-CLOSUREspec/evidence/instruction-contract-closure.json3ef2bb62421c79dff8fa77a1c7983923b523244b8090812883ef81286ca8106aPTO-EVIDENCE-ARCHITECTURE-READINESSPTO-EVIDENCE-ARCHITECTURE-READINESSspec/evidence/architecture-readiness.json4b0b85199101251bea744e0f3591cc31906909dc80d5ab651c417a936036a004PTO-EVIDENCE-RELEASE-GATE-READINESSPTO-EVIDENCE-RELEASE-GATE-READINESSspec/evidence/release-gate-readiness.jsona0f4d2b6920c08981ea55fd8ef820708a40d4feb5402c5150e8e9ab532d84ce0PTO-EVIDENCE-RELEASE-MANIFESTPTO-EVIDENCE-RELEASE-MANIFESTspec/release-manifest.json1a64c109ed7a90351c41e2a418b3c0ebaf8ad975838986d2101385186b85c0d8Loading ADR-0032…
ADR-0032docs/status/decisions/0032-bundle-command-totality-and-profile-boundaries.mde1f91826817343c0977a565a91e495a15397b83fa2af227124f225821ffa54aeLoading ADR-0052…
ADR-0052docs/status/decisions/0052-direct-tile-and-bundle-catalog-closure.md5fdb38bf480e37affe5075f93b35a57d32803018c986bfe05160f188a19ccaf6Loading ADR-0059…
ADR-0059docs/status/decisions/0059-mnemonic-field-encoding-closure.mdf18d13f735cfaf9f2803c754c5818f4af33d1cc42c489f0d9ce060b07bb3a196{
"classification": [
"attributes"
],
"documentation": "docs/block/attributes/C.B.DIMI.md",
"id": "PTO-BLOCK-C-B-DIMI",
"instruction_contract": {
"artifact": "spec/evidence/instruction-contract-closure.json",
"mnemonic": "C.B.DIMI",
"ndf_clause": "PTO-INST-BLOCK-C-B-DIMI"
},
"mnemonic": "C.B.DIMI",
"readiness_subjects": [
"ADR-0032",
"ADR-0052",
"ADR-0059"
],
"semantic_tests": [
"PTO-AVS-BLOCK-C-B-DIMI-DUP-001",
"PTO-AVS-BLOCK-C-B-DIMI-PLACE-001",
"PTO-AVS-BLOCK-C-B-DIMI-RSVD-001",
"PTO-AVS-BLOCK-C-B-DIMI-VALUES-001"
],
"source": "asl/block/attributes/C.B.DIMI.asl",
"surface": "block",
"tests": [
"PTO-AVS-BLOCK-C-B-DIMI-DECODE-001",
"PTO-AVS-BLOCK-C-B-DIMI-DUP-001",
"PTO-AVS-BLOCK-C-B-DIMI-PLACE-001",
"PTO-AVS-BLOCK-C-B-DIMI-RSVD-001",
"PTO-AVS-BLOCK-C-B-DIMI-VALUES-001"
]
}0.58.5 · Release candidate7dc8b7e5b121d2b2499a2273bebff29e2cd86812e1c951c4e7f90f6fb1f7f23959decaac35a40ad39ad397342914672ebb16cd2f547b0a9a25f325f9e9cd313a57dbfe87b5a79b341895d403e11c248c0db88ea3asl/block/attributes/C.B.DIMI.aslasl/block/attributes/C.B.DIMI.asl