"Georg" <> wrote in message
news:gm7v0p$4ud$...
> HT-Lab schrieb:
>> "Georg" < <mailto
>> wrote
>> in message news:gm7s9s$sc7$...
>> > Hello everybody,
>> > I'm still pretty new to VHDL and don't really know how to tackle the
>> > following problem:
>> >
>> > I want to do a whole bunch of simulations of some VHDL code I've
>> > written, where each simulation run varies in the values of some
>> > constants defined in the testbench. But I don't want to manually
>> change
>> > the values, recompile and start the whole thing over an over again.
>> Why don't you put your constant values into an array and use a for loop
>> to step through the different values?
>
> Hm, isn't a for loop a sequential statement and only allowed inside
> processes? As said, I have a structural description of the testbench
> without processes.
> Or what exactly do you mean? Bear with me, I'm a newbie...
> Thanks, Georg
>
Yes, you are right, my mistake. However, I would follow the advice already
given and use a process. If you just want to have a quick test then change
your constants into a signal and use the Tcl force command to alter its
value.
Good luck,
Hans
www.ht-lab.com