Modelsim

Thread Starter

Prodigy

Joined Oct 25, 2004
1
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

Joined Apr 20, 2004
15,819
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.
 
Top