Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

Concatenating enumerated types in coverpoint

$
0
0

Hi,

I will explain my query with an example. 

AddrHigh is a 16-bit address which is enumerated as NORMAL, DEVICE etc.. AddrLow is also a 16-bit address which is enumerated as TIMER, UART etc..

 I want to concatenate AddrLow and AddrHigh, and declare bins like below. I don't want to specify binary values instead I want specify bins using enumerated names. Is it possible? If yes, what is the syntax?

 a: coverpoint {AddHigh, AddrLow} {

       //bins

   } 

 


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>