
Process without wait statement
Quote:
>I designed a quick program in VHDL to automatically generate a text file for
>a testbench (stimulus file) to test exhaustively - there are 512
>combinations.
>I managed this successfully, but since I'm obviously doing something VHDL
>wasn't really designed for I get a warning "Process without explicit or
>implicit wait statement - possible infinite loop.".
>The process doesn't have a sensitivity list or wait, since it only executes
>once to write the text file then I force it to stop with 'report "Generation
>complete" severity ERROR;'. I got around this using a 'wait for 1ns;' just
>before the report statement, but I wonder if anyone else uses VHDL for this
>sort of thing and how do you get around the problem?
>Thanks,
>Paul Morgan.
Yes, but I add a "wait;" that waits forever at the end of the process.
--------------------------------------------------------------------------
-----------------------------------------
Ben Cohen ????Publisher, Trainer, Consultant ???(310) 721-4830
Author of following textbooks:
* Component Design by Example ... a Step-by-Step Process Using
??VHDL with UART as Vehicle", ?2001 isbn ?0-9705394-0-1
* VHDL Coding Styles and Methodologies, 2nd Edition, 1999 isbn 0-7923-8474-1
* VHDL Answers to Frequently Asked Questions, 2nd Edition, isbn 0-7923-8115
--------------------------------------------------------------------------
------------------------------------------