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
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