Verification Academy
I would like to control no.of ones and zeros in a particular dynamic array by using constraint?
SystemVerilog
Constraint-SystemVerilog
,
SystemVerilog
dave_59
February 5, 2016, 4:13pm
2
In reply to
vamshikrishnaboosam
:
constraint con2 { p.sum() with ($countones(item) ) == x*4; }
show post in topic