system verilog - Usage of non continuous values in 'dist' for constraint random stimulus -


system verilog support continuous range inside 'dist'. example

y dist { [1:1000] :/ 40, 1500 :/ 60 } 

does support multiple random elements. example

{1,3,2,6} :/ 40 

is possible use 'inside' in 'dist' ?

the answer both questions is: no. have @ constraint distribution syntax in systemverilog 3.1a language reference manual (12.4.4 distribution)


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -