write in same file with several procedure

Joined
Mar 5, 2007
Messages
19
Reaction score
0
hello,

I want inside several procedure write in same file
but i don't know when i pass the message (TEXT) procedure to process.
Process where i write the line.

-------------------------------------------------------------------------
procedure check_data_setup(signal data:in std_logic_vector;signal sig:in std_logic; tref : in time) is
variable t0,t1,tw :time;
begin
.............
if tw > tref
then
message:="OK";
end check_data_setup;
-----------------------------------------------------------------------
writeFILEcontentRAM : process
file insideRAM : text;
variable l : line;
begin
file_open(insideRAM, "insideRAM.txt", WRITE_MODE);
loop
writeline(insideRAM, l);

end loop;
------------------------------------------------------------------

someone can help me with example.
I hope clear
thank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top