Hi Martin, I think that you have hit the nail on the head. As you say, the transcript (stdout) is started when the simulator executable initializes the environment. The TextIO STD_OUTPUT is not opened until the VHDL simulation task is run from within the tool. The initialization of 'stdout' cannot be defined by the VHDL LRM because we don't know what task is be performed yet. We might actually be going to run a Verilog simulation, cough! cough! splutter! spit! spit! (I know unthinkable really) The TextIO open is not performed until a VHDL simulation is started, or restarted which will involve closing and reopening STD_OUTPUT. On th point regarding your 'mental model' I understand completely. I think it is the 'engineer' in us and I think in the same way: "a task might be doing something, but how's it 'really' doing it!". ;-) Brent. On 24/01/2013 09:16, Martin.J Thompson wrote: >> -----Original Message----- >> From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On >> Behalf Of Walter Gallegos >> Sent: 23 January 2013 18:07 >> To: vhdl-200x@eda.org >> Subject: Re: [vhdl-200x] RFC: std.textio.OUTPUT ? >> >> Martin, >> >> I think we are viewing this from different points, trying to explain my >> point : >> >> To me the simulation session start when I open the simulation tool, >> normally is at this point when the STD_OUTPUT stream is created. >> > [MJT] > Ahhh - I see. To me, the simulation "session" starts each time I reset the simulation time to '0' (when I issue a "restart" command in Modelsim). > > So with your way of thinking, if STD_OUTPUT was opened in APPEND_MODE, then each time you closed and the reopened your simulator you'd see the end of the previous simulation session, and you wouldn't want that. (Nor would I... I think) > > In which case, what we are differing over is not how the files/streams/windows work, but what the definition of a simulation session is... I wonder, does the standard say anything about that? > > Cheers, > Martin > -- Regards, Brent Hayhoe. Aftonroy Limited Telephone: +44 (0)20-8449-1852 135 Lancaster Road, New Barnet, Mobile: +44 (0)79-6647-2574 Herts., EN4 8AJ, U.K. Email: Brent.Hayhoe@Aftonroy.com Registered Number: 1744190 England. Registered Office: 4th Floor, Imperial House, 15 Kingsway, London, WC2B 6UN, U.K. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Jan 24 15:59:05 2013
This archive was generated by hypermail 2.1.8 : Thu Jan 24 2013 - 15:59:06 PST