Ken Kundert wrote: > Kevin Cameron wrote: > >> You are confusing the issues. The problem is if you have >> >> module A ... >> electrical a,b; >> analog V(a,b) <+ 5; >> analog V(a,b) <+ 6; >> endmodule >> >> Which would work under Marq's proposed rules giving V(a,b) == 11, but if >> you split it into submodules: >> >> module A ... >> electrical a,b; >> B; >> C; >> endmodule >> >> module B.. >> analog V(A.a,A.b) <+ 5; >> endmodule >> module C >> analog V(A.a,A.b) <+ 6; >> endmodule >> >> That fails because the contributions are now considered as being in >> parallel. >> > > Kevin, > Why are you assuming that OOMR contributions would combine in > parallel? That was not the original intent, nor does it seem to square > with the LRM, which says ... > > "From within an analog block, it is possible to use hierarchical name > referencing to access signals on an external branch, but not external > analog variables or parameters. When accessing external branches, a > branch signal (its potential or flow) can be monitored (probed); for > source branches, contributions can be made to the output signal." > > While it is not very explicit, it does say that external contributions > are made to the existing branch. There is no mention of creating a new > parallel branch. > I think you are making my point: Why should the two version above behave differently? If I rewrite it again: module A ... electrical a,b; B(a,b); C(a,b; endmodule module B(electrical a, electrical b); analog V(a,b) <+ 5; endmodule module C (electrical a, electrical b); analog V(a,b) <+ 6; endmodule - why should that behave differently? Note: while these are obvious cases, I'm more worried that it will appear in larger models where small voltages are being injected for noise or correction, and the behavior change would be subtle. Kev. > -Ken > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Apr 19 11:57:06 2007
This archive was generated by hypermail 2.1.8 : Thu Apr 19 2007 - 11:57:13 PDT