From b49d0bb13c6de5c501d02ce092f29b76502cac85 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 16 Feb 2024 16:56:51 +0100 Subject: [PATCH] minor doc edits --- doc/xschem_man/tutorial_instance_based_implementation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/xschem_man/tutorial_instance_based_implementation.html b/doc/xschem_man/tutorial_instance_based_implementation.html index f5b9b561..d3a050c7 100644 --- a/doc/xschem_man/tutorial_instance_based_implementation.html +++ b/doc/xschem_man/tutorial_instance_based_implementation.html @@ -225,11 +225,11 @@ m1 y a VSSPIN VSSPIN modn18 w=wn l=lln ad='wn *4.3u' as='wn *4.3u' pd='wn *2+8.6 ...

You see the @modeltag will be substituted looking first in the mos transistor attributes - (but there is no definition there), then in the containing symbol attributes (and there is + (but there is no definition there), then in the containing symbol template attributes (and there is a modeltag=18 definition).

Now suppose you want to place another instance of inv4.sym but with a different modeltag: Since we know that spice does not allow model names to be passed as parameters we need to specialize the - inv4.sym subcircuit to a new inv_1.sym subcircuit. + inv4.sch subcircuit to a new inv_1.sch subcircuit. Therefore we give the attribute schematic=inv4_1.sch to the second inv4 instance. We also set there a different modeltag: modeltag=13