Attributes in ato
¶
This page lists all the attributes available in ato
which effect the compiler.
Global Attributes¶
atopile.attributes.GlobalAttributes
¶
Bases: Module
These attributes are available to all modules and interfaces in a design.
lcsc_id
property
writable
¶
Assign the LCSC ID of the module.
If set, this will tell the picker to select that part from LCSC for this block.
manufacturer
property
writable
¶
This module's manufacturer name, as a string.
Only exact matches on the manufacturer's name will be found by the picker.
It's recommended to fill this information based on what ato create component
provides.
mpn
property
writable
¶
This module's manufacturer part number, as a string.
For the picker to select the correct part from the manufacturer, this must be set.
designator_prefix
property
writable
¶
The prefix used for automatically-generated designators on this module.
package
property
writable
¶
The package of the module.
This drives which components can be selected, and what footprint is used.
Must exactly match a known package name.
footprint
property
writable
¶
Explicitly set the footprint to be used for this module.
Setting this will cause this component to be selected and placed on the PCB.
The footprint should be a string, naming the KiCAD ID of the footprint.
override_net_name
property
writable
¶
When set on an interface, this will override the net name of the interface.
This is useful for renaming nets which are automatically generated.
suggest_net_name
property
writable
¶
Suggested net name which will have a higher priority than generated net names.
Components¶
atopile.attributes.Resistor
¶
Bases: Resistor
This resistor is replaces generics/resistors.ato:Resistor
every times it's referenced.
has_ato_cmp_attrs_
¶
atopile.attributes.CommonCapacitor
¶
Bases: Capacitor
These attributes are common to both electrolytic and non-electrolytic capacitors.
atopile.attributes.Capacitor
¶
Bases: CommonCapacitor
This capacitor is replaces generics/capacitors.ato:Capacitor
every times it's referenced.
has_ato_cmp_attrs_
¶
atopile.attributes.Inductor
¶
Bases: Inductor
This inductor is replaces generics/inductors.ato:Inductor
every times it's referenced.