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.

i need material for how to write testbenches

Status
Not open for further replies.

mallikmarasu

Member level 3
Joined
Dec 21, 2006
Messages
58
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,703
hi
i need some material for how to write test benches and how many types of testbenches are there.


regards,
Mallikarjun,
Design Engineer
 

There is a book called "Writing Testbenches "By Kluwer Publications

in the upload section..............

if you have enough points you can download it...............

all the best
 

mallikmarasu said:
hi
i need some material for how to write test benches and how many types of testbenches are there.


regards,
Mallikarjun,
Design Engineer

Not sure if you've seen it - my company offers a 1-day training with labs on exactly this topic, check out www.noveldv.com for Comprehensive Functional Verification We have a public class coming up within this month in Bangalore, if interested email to: cvc.training <> gmail.com

Ajeetha, CVC
www.noveldv.com
 

Hi Mallikarjun,
the above said book is of g8 help.
what else you can do is follow the documentaton provided along tool u r using.
synopsys or cadence. that will be nice
-manmohan
 

What exactly u want???
Just a test bench r u want to build a Verification environment???
 

hi
suppose if i want to simulate module i need a testbench
till now i am writing testbench by forcing the values by considering all cases
to inputs of modules in intial block
if more cases r there to test it is not possible to write all the cases in initial block.
then how can i test module covering of all cases
for example,
i have some 30 inputs ,
if i want to test all the cases i have to write 2 power 30 cases.
i think it is not possible.
how can i cover all the cases
 

Hi,
you can check for
1. all one ,make zeros,then again all ones
2. all zeros, make all one, then again all ones

or if it dont solve your problem.
make a class and randomize the inputs, in that case you dont have to bother abt inputs, and even you cabn get hard-to-find test cases.
 

hi
i need some material for how to write test benches and how many types of testbenches are there.

regards,
Mallikarjun,

hi there are somany techniques available.

using task writing testbenches is more reliable.
and insted of hard delays use repeate keyword.

thease are some basic techniques..

Added after 5 minutes:

mallikmarasu said:
hi
i need some material for how to write test benches and how many types of testbenches are there.

task read_res;
input [3:0] block_no;
input [7:0] reg_addr;
begin
@(posedge clk) din <= { 4'h3, block_no};
@(posedge clk) din <= reg_addr;
@(posedge clk) din <= 8'h0;
end
endtask

then call this task using initial read_res(4'h1,8'h1); end
 

"writing efficient testbenches" is recomanded
 

The above book is mostuseful to start!!
Just go thru it and once u r comfortable then
go for the material provided by the tools
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top