Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ovm test environment setting : hdl module vs interface

Status
Not open for further replies.

im&u

Newbie level 4
Newbie level 4
Joined
Jan 21, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,349
Hi!
I am a new user of ovm (I used to work with vhdl/verilog based verification methodology)
I am trying to develop a verification environment for a design that communicates with an external adc( spi protocol: cs, sclk etc)

I have some questions:

As I need a model to emulate the behaviour of the adc,

  • should I design it as a systemverilog module ?
  • or as an interface with tasks that drive/receive data from/to the dut?
  • or I must create an ADC transaction, ADC sequence, ADC sequencer, ADC driver and an ADC interface ?

In this cas the test does not control when to generate a transaction on the adc interface, instead it shall wait for the dut to make a request (cs_n goes low).
In which class shall I put the condition "wait (!cs_n)" ? in the test ? transaction? driver ?

Thank you.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top