Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

How to Stop code execution

Hello all..

In my code(Model sim), if i select "Run All" then it goes infinite time.(Ie its not stopping at the end of my clock cycle but goes infinite loop and for seeing output i have to stop(Simulation -> break) it then and then only i can see out put.

How can i stop it at the end of my code..

for exmaple..

architecture behav of FA_calc is

-----

-----

if (clk = '1' and clk'event) then

do something...

......

end if;

end process;

Sd : process(mydata)

begin

-----

-----

end if;

end process Sd1;

end behav;

it should be stop at the end of end behv but its goes to infinite time.How to stop it at then edn of endbehav.

Thanking you.

3 Replies