Bit Operators in SCV Constraints
ConceptBit operators (bitwise and, bitwise or, bitwise not, bit-select, and slice-select) were not supported by the constraint solver in the SystemC Verification (SCV) Library. The Große/Ebendt/Drechsler paper introduces overloading of the relevant operators and new member functions in the scv_expression class so that bit operators can be used when specifying constraints, allowing more compact formulations of complex constraints that otherwise could not be expressed using only arithmetic, relational, and logical operators.
WIKI
Bit Operators in SCV Constraints
Background
The SystemC Verification (SCV) Library provides constraint-based randomization for SystemC models. Internally, a constraint is represented by its characteristic function, which is true for all solutions of the constraint, and the characteristic function is stored as a reduced, ordered Binary Decision Diagram (BDD). The BDD package CUDD is used by the SCV library for this representation. Internally, an expression is held in the class scv_expression as an expression tree whose leaf nodes are variables or constants and whose non-terminal nodes are marked with operators. The constraint solver operates on individual bits when solving constraints.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →