diff --git a/syntax.adoc b/syntax.adoc index c555df0..3105a0a 100644 --- a/syntax.adoc +++ b/syntax.adoc @@ -235,5 +235,19 @@ including: * TYPE * FUNCTION ** LOCAL variables +* RULE +** WHERE rules: `"schema_name.rule_name.wr:WR1"` +** IP: Informal proposition rules: `"schema_name.rule_name.ip:IP1"` +** entity refs: `"schema_name.rule_name.entity_ref_name"` + +A global rule constrains the entities listed in its `FOR (…)` clause. +Those entities are documented on their own entity tags; the rule's own +remark describes how the rule constrains them. Because a global rule +applies to *all* instances of each entity ref, the standard does not +permit different per-entity-ref text — an entity-ref key carries the +same description for every rule that references it, so it should +generally only be used where a computer-generated description is +acceptable (see the `shape_elements_are_acyclic.Shape_element` example +in `general_design_connectivity_arm.exp`).