Disconnect instantiation during Simulation

This is a discussion on Disconnect instantiation during Simulation within the vhdl forums in Programming Languages category; Dear All, In my test bench, I have written my test cases as packages, Some of my test cases requires three instantiation of DUT, some test cases requires only one DUT and some requires two. Since am using three RTLs Simulation taking more time. I am not able to vary the n.o. of instantiation by using "generate", because after the instantiation only test cases are called. Is there any way to disconnect the Instantion during simulation? Thanks in advance. Best Regards, Shanmugavel D...

Go Back   Application Development Forum > Programming Languages > vhdl

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-04-2008, 08:36 AM
Shanmugavel D
Guest
 
Default Disconnect instantiation during Simulation

Dear All,

In my test bench, I have written my test cases as packages, Some of my
test cases requires three instantiation of DUT, some test cases
requires only one DUT and some requires two.

Since am using three RTLs Simulation taking more time.

I am not able to vary the n.o. of instantiation by using "generate",
because after the instantiation only test cases are called.

Is there any way to disconnect the Instantion during simulation?

Thanks in advance.

Best Regards,
Shanmugavel D
Reply With Quote
  #2  
Old 08-04-2008, 09:35 AM
Andy
Guest
 
Default Re: Disconnect instantiation during Simulation

On Aug 4, 7:36 am, Shanmugavel D <dshanmuga...@gmail.com> wrote:
> Dear All,
>
> In my test bench, I have written my test cases as packages, Some of my
> test cases requires three instantiation of DUT, some test cases
> requires only one DUT and some requires two.
>
> Since am using three RTLs Simulation taking more time.
>
> I am not able to vary the n.o. of instantiation by using "generate",
> because after the instantiation only test cases are called.
>
> Is there any way to disconnect the Instantion during simulation?
>
> Thanks in advance.
>
> Best Regards,
> Shanmugavel D


The test bench that calls the test cases should be able to set the
value of a constant that can drive a generate statement to instantiate
the correct number of DUTs. Otherwise, top level generics can be set
by command line options on most tools. Such a generic could be passed
down to the appropriate level to drive a generate statement that
instantiates the correct number of DUTs.

Andy
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:53 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.