Pages

Wednesday, September 9, 2009

Answers to SystemVerilog Interview Questions - 7

4. What is the need of clocking blocks ?
Ans:-
Clocking block in SystemVerilog are used for specifying the clock signal, timing, and synchronization requirements of various blocks. It separates the timing related information from structural, functional and procedural element of the TB. There are quite a few links on clocking block in the internet. These are links to learn about SV clocking blocks.
  1. AsicGuru :: To the point answer on the need of clocking block
  2. Testbench.in :: Clocking block  
  3. ProjectVeripage :: Clocking block 
  4. Doulos :: Clocking block 
  5. Asicworld :: Clocking block
  6. SystemVerilog Event Regions, Race Avoidance & Guidelines

 5. What are the ways to avoid race condition between testbench and RTL using SystemVerilog?
Ans:-
Short answer : -
  1. Program  block
  2. Clocking block
  3. Enforcement of design signals being driven in non-blocking fashion from program block
Long answer :-
Too long to describe here :). Please refer these doc/sections for more idea/info
  1. Section 16.4 of SV LRM
  2. http://www.testbench.in/SV_24_PROGRAM_BLOCK.html
  3. http://www.sunburst-design.com/papers/CummingsSNUG2006Boston_SystemVerilog_Events.pdf 
  4. VG discussion of the necessity of program block. 

7. What are the types of coverages available in SV ?
Ans:-
Using covergroup : variables, expression, and their cross
Using cover keyword : properties

12. What is the use of the abstract class?
Ans:-

1 comment:

  1. In question What are the types of coverages available in SV? May be the quest or answer is incorrect.
    The questions what are the types of coverage.
    The answer talks about how functional coverage is done!

    ReplyDelete