From 20b7ee6aca3661c75446bef8fc39867b4fbb0b73 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 4 Jul 2021 20:11:53 +0200 Subject: [PATCH] Fixed some documentation bugs --- src/lay/lay/doc/manual/lvs_device_extractors.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lay/lay/doc/manual/lvs_device_extractors.xml b/src/lay/lay/doc/manual/lvs_device_extractors.xml index 2c43ca6d3..e1200800f 100644 --- a/src/lay/lay/doc/manual/lvs_device_extractors.xml +++ b/src/lay/lay/doc/manual/lvs_device_extractors.xml @@ -355,15 +355,14 @@ extract_devices(bjt3(model_name), { "C" => collector, "B" => base, "E" => emitte

Most device extractors extract more parameters than they give you by default. - For example, the resitor extractor will not just extract the resistance, but also the length (L) + For example, the resistor extractor will not just extract the resistance, but also the length (L) and width (W) of the resistor stripe and its area (A) and perimeter (P). - By default these additional parameters are declared "secondary" - i.e. they will not - show up in the netlist browser, they will not participate in the device compare and - will not be netlisted. + By default these additional parameters are declared "secondary" - i.e. they will not + participate in the device compare and will not be netlisted.

- Parameters can be declared primary ones by using "enable_parameter" on the device class. + Parameters can be fully enabled by using "enable_parameter" on the device class. Hence it is possible to enable "W" and "L" on a resistor type using the following code:

@@ -372,5 +371,10 @@ dc.enable_parameter("W", true) dc.enable_parameter("L", true) +

+ This will modify the parameters of the generated device class such that "W" and "L" are + fully enabled parameters. +

+