PDA

View Full Version : Modelsim


Prodigy
10-25-2004, 05:41 PM
Hi,

I am new to Modelsim and I have a problem using the Change command.
I want to change the value of a memory block of 255 bytes at once using the change command.

I can use for changing each byte individually, but i dont know how to use it for an array of values.

Please help me asap.

Thanx in advance.

Regards...

beenthere
10-29-2004, 01:59 AM
Hi,

Does the language support loops? A DO-WHILE loop will get you there. Lacking that, you can set up an IF-THEN statement to Change one address at a time and exit after some varaible has incremented up to 255.