OBajaj>>
>> Hence, is it possible to use SVA (System Verilog Assertions), specifically >> "properties" within a class, or am I limited to using modules if I >> want to use properties?
Unfortunately NO. You can however use a virtual interface, pass class variables into that interface, have SVA on that interface. We showed this in our SNUG Paper, VMM adoption book etc. (See: www.noveldv.com, www.systemverilog.us for details).
DAVE>>
>> The reason it that most implementations perform some level of synthesis in >> order to evaluate SVA expressions
Dave - why should language restrict this based on implementation details. For example E allows this nicely and is really quite useful. Whenever I speak to a regular E user here, they stumble upon this issue and find it quite disappointing.
Can this be considered for a future enhancement?
Thanks Ajeetha, CVC www.noveldv.com |