Replacing groups of statements

S

Salman

Guest
Hello,

How do I compactly replace the group of statements like this all over
the place in a large testbench and a similar one for a regrd? Do I use
a function or procedure? I thought both of those could not have wait
statements in them?

regwr <= '1';
wait for 75 ns;
regwr <= '0';
wait for 75 ns;

Thanks in advance.

Salman
 

Welcome to EDABoard.com

Sponsor

Back
Top