Encapsulating a verilog-style testbench in Systemverilog

Guest
I have a old verilog-style testbench (as modules), for a "core".
I want to "encapsulate" this in a class in some way.

There are tasks in the old testbench i want to "virtualize", so they
can be overridden by inheriting classes.

These virtualized "base" functions should communicate with the "core",
what was done by the old verilog-style testbench directly. But the
"core" is now deeper hidden in hierarchy behind extra modules and
possibly instantiated multiple times.

But unfortunately i can't simply "encapsulate" the old testbench in a
class to do what i described.

Am i thinking in the wrong direction?
What could be a way to achieve my goal?
My experience with SV seems too limited.

Raymund Hofmann
 
On Mon, 25 Feb 2008 16:32:12 -0800 (PST), info2@rayed.de wrote:

I have a old verilog-style testbench (as modules), for a "core".
I want to "encapsulate" this in a class in some way.
Dave Rich presented a paper at DVCon last week, which I co-authored,
dealing with exactly that. Although it doesn't get much mention
in the written paper, Dave's presentation specifically addresses
the question of re-using legacy Verilog testbench code. If you
send me a personal email confirming your valid email address,
I'll return a copy of the paper and slides. Form my email
address by the obvious six-letter replacement for "MYCOMPANY".

The paper will be on our website shortly, I imagine.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 
I have sent you a request by email for the slides and paper as well.

"Jonathan Bromley" <jonathan.bromley@MYCOMPANY.com> wrote in message
news:ano7s3lrgfb8iqo54hb7t26ihs6d5ksq1m@4ax.com...
On Mon, 25 Feb 2008 16:32:12 -0800 (PST), info2@rayed.de wrote:

I have a old verilog-style testbench (as modules), for a "core".
I want to "encapsulate" this in a class in some way.

Dave Rich presented a paper at DVCon last week, which I co-authored,
dealing with exactly that. Although it doesn't get much mention
in the written paper, Dave's presentation specifically addresses
the question of re-using legacy Verilog testbench code. If you
send me a personal email confirming your valid email address,
I'll return a copy of the paper and slides. Form my email
address by the obvious six-letter replacement for "MYCOMPANY".

The paper will be on our website shortly, I imagine.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top