Constant vs Variable in Constraint
ConceptAn optimization study, presented in the paper 'Performance of a SystemVerilog Sudoku Solver with VCS', that investigates whether substituting a regular class variable with a constant (or a parameter) in a SystemVerilog constraint improves VCS constraint-solving performance. The evidence concludes that, for the VCS solver, efficiency is largely equivalent across local variables, const class variables, and parameters, and that the const keyword does not reliably map to an immediate-type CPU instruction.
WIKI
Constant vs Variable in Constraint
Context
The comparison between using a constant versus a variable inside a SystemVerilog constraint is examined as OOP optimization 2 in the paper Performance of a SystemVerilog Sudoku Solver with VCS. The motivating question (Question 3 in the paper) is: Are constants more efficient than variables? [1][2]
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →