delorie.com/archives/browse.cgi | search |
--001a113ec6ac3afa49051b0b61e8 Content-Type: text/plain; charset=UTF-8 On Thu, Jul 16, 2015 at 1:45 PM, DJ Delorie <dj AT delorie DOT com> wrote: > > > What happens if the same segment in different instances of a > > subcircuit has different properties, for example? > > Does our heirarchy system even have a way of parameterizing > subcircuits? I mean, if you had a subcircuit for a generic low-pass > filter, could you specify the cutoff in the parent somehow? > This is called elaboration or uniquification in the ic world. If you instantiate a component x times with different attributes then you need to expand it to x copies that each show one set of attributes. It is a step you must do before flatting. We also need a way to support adding schematcs to a schematic as well as symbols. If you are doing a stereo amp then you do one schematic of a channel with XXX in every instance name and net name. Then you add that schematic to your design by macro replacing xxx with right and again replacing xxx with left to get both channels. John Eaton --001a113ec6ac3afa49051b0b61e8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo= te">On Thu, Jul 16, 2015 at 1:45 PM, DJ Delorie <span dir=3D"ltr"><<a hr= ef=3D"mailto:dj AT delorie DOT com" target=3D"_blank">dj AT delorie DOT com</a>></span= > wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br> > What happens if the same segment in different instances of a<br> > subcircuit has different properties, for example?<br> <br> </span>Does our heirarchy system even have a way of parameterizing<br> subcircuits?=C2=A0 I mean, if you had a subcircuit for a generic low-pass<b= r> filter, could you specify the cutoff in the parent somehow?<br> </blockquote></div><br><br></div><div class=3D"gmail_extra">This is called = elaboration or uniquification in the ic world. If you instantiate a compone= nt x times with different attributes then you need to expand it to x copies= that each show one set of attributes. It is a step you must do before flat= ting. <br><br><br></div><div class=3D"gmail_extra">We also need a way to su= pport adding schematcs to a schematic as well as symbols. If you are doing = a stereo amp then you do one schematic of a channel with XXX in every insta= nce name and net name. Then you add that schematic to your design by macro = replacing xxx with right and again replacing xxx with left to get both chan= nels.<br><br><br></div><div class=3D"gmail_extra">John Eaton<br><br><br><br= ></div></div> --001a113ec6ac3afa49051b0b61e8--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |