RE: multiple analog blocks
 
Martin,
For the analog continue block, see my
answer to Kevin just a few minutes ago.
> Also following on this I think it might be time
to create a proper
> analog initial block in which bias dependent operations are not
> supported (probes, contributions). 
> 
> In this block initialization would be done. This would mean
> initialization could be done before an analysis ran rather than at
the
> first step and I believe would enable more simulator optimizations
> particularly for compact models.
> 
> I don't think the @initial_step approach works very well particularly
> for compact models.
> 
> example;
> 
> module test_multiple_analog_blocks (p, n);
> inout p, n;
> electrical p, n;
> parameter real res = 1k from (0:inf);
> parameter real cap = 1u from (0:inf);
> 
> real r, c;
> 
> analog initial begin
>    r = res;
> end
> 
> analog begin
> c = cap;
> I(p, n) <+ V(p, n)/r;
> end
> 
> endmodule
> 
> Thanks,
> --Martin
I do support your idea of having a separate
analog initialization block with the given restrictions. We'd finally be
done with @initial_step - this should really only be used for time-domain
modelling/analysis.
It can even use the analog continue
block approach:
analog initial
  begin : init1
    ...
  end
analog initial
  continue : init1
    ...
  end
Cheers,
Marq
Received on Wed Dec 20 02:21:54 2006
 
This archive was generated by hypermail 2.1.8 
: Wed Dec 20 2006 - 02:21:57 PST