Skip to main content

Posts

Showing posts from November, 2016

System Verilog Questions and Tricks - I

Queues Finite Queues What happens when you read from empty queue? Well, that depends on the what type of que it is. As in, lets say if the que is of the pre defined data type like int, real and others.. the return value will be '0'.  If the que is of a class or any dynamic objects, then the return value will be null. a inta [ $ ]; int fintq [ $ : 2 ]; In the above code, when you pop empty que of class a, then the return value will be NULL pointer When you pop from the Int que, the result will be '0'

Verdi Uses - I

COVERAGE While going through some of the blog posts, i found that the Verdi supports even coverage right out of the box, but from the 2014 Version. Well till now, we relied on the URG reports and the DVE to review the coverage and apply waivers and create exclusion files. Looks verdi supports all the features.. I did not get any hands on the features of this option, soon i will find some time to play around with this option of coverage in Verdi. How to launch the verdi with coverage. $> verdi -cov -covdir <PATH_TO_TB>.simv.vdb -covdir <PATH_TO_TEST1>.simv.vdb -covdir <PATH_TO_TEST2>.simv.vdb...  You can pass multiple covdirs, where in all the results will be merged. References: SYNOPSYS SITE Think Verification  

Visio Tips - I

Connection points for any object: sometimes you need connection points for an object. The default connection points may not be suffice your needs. At that time, you can use the connection point tool in visio This tool allows to add connector points to the shape. To add the connection point, Hold CTRL and click where you need a connection point. Source URL:  Microsoft Visio help for connection point