Hi Xavier, Sorry for replying late as I was on vacation. The short answer is yes, the digital initial block is run first. Here is the relevant descriptions in the LRM2.3: Section 8.3.2 states: For mixed-signal DC analysis, the processes of the analog DC analysis and the digital simulation at time 0 are executed iteratively, starting with the initialization state (including analog and digital) defined in circuit initialization (8.3.1). Section 8.3.1 states: The initialization phase of mixed-signal simulation is the process of initializing the circuit state for analysis tasks such as DC, transient, and AC. It is a one time execution of nodeset statements (3.4.3.2), and then the procedures in analog initial block and Verilog initial block. Note that analog initial block is something new (and still open to be added to chapter 6) and equivalent to digital initial block, which is run before any analysis. Analog initial_step is part of an analysis such as DC in your example. Thanks, --Junwei owner-verilog-ams@server.eda.org wrote on 04-03-2008 18:37:34: > Hi again, > > does anyone have a hint of an answer on this question ? > > Thanks, > Xav > > On Wed, 2008-02-27 at 16:00 +0100, Xavier Bestel wrote: > > Hi, > > > > when you have a design with both a initial block (digital) and an > > initial_step (in the analog block), is there a designated execution > > order ? > > > > Apparently, there's a Kundert testcase where there's a division by a > > digital signal, in the initial_step. That would implicitly mean that the > > initial block should be ran first by the simulator. > > > > However I can't find any thace of this in the LRM. Could someone > > enlighten me please ? > > > > Thanks, > > > > Xav > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Mar 6 17:29:52 2008
This archive was generated by hypermail 2.1.8 : Thu Mar 06 2008 - 17:30:07 PST