Download ABEL Design Manual
Transcript
Hierarchical Design Considerations Hierarchical Design Considerations The following considerations apply to hierarchical design. Prevent Node Collapsing Use the signal attribute ‘keep’ to indicate that the combinational node should not be collapsed (removed). For example, the following ABEL-HDL source uses the 'keep' signal attribute: MODULE sub1 TITLE 'sub-module 1' a,b,c pin; d pin ; e node istype 'keep'; Equations e = a $ b; d = c & e; END Node Collapsing All combinational nodes are collapsible by default. Nodes that are to be collapsed (or nodes that are to be preserved) are flagged through the use of signal attributes in the language. The signal attributes are: Istype 'keep' Do not collapse this node. 'collapse' Collapse this node. Collapsing provides multi-level optimization for combinational logic. Designs with arithmetic and comparator circuits generally generate a large number of product terms that will not fit to any programmable logic device. Node collapsing allows you to describe equations in terms of multi-level combinational nodes, then collapse the nodes into the output until it reaches the product term you specify. The result is an equation that is optimized to fit the device constraints. Selective Collapsing In some instances you may want to prevent the collapsing of certain nodes. For example, some nodes may help in the simulation process. You can specify nodes you do not want collapsed as Istype 'keep' and the optimizer will not collapse them. ABEL Design Manual 42