Test Bench - Design Guide

Guest
I would like to create a test bench to perform read and write cycles of
a design I have made. Would I use one process for the write and
another for the read and then control them from a third? or would I
somehow use procedures, or is there a method I am not thinking of? I am
sure this is done all the time, just looking for some advice on the
best way to go.


Thanks,
Joel
 
Hi,
I believe you will be performing a programming interface to your
design. In such a case it would be better if you have 2 procedure say
Reg_read(addr,data) returning the read value in data and
Reg_write(addr,data) for the write cycle. This will allow you to call
these procedures from a main process to perform a sequnce of
read/writes!

Hope This helps
Sudhi
 

Welcome to EDABoard.com

Sponsor

Back
Top