[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.3.1 Parent Part

Parts can also inherit parameters from previously defined parts using the following syntax. In this case specified integer and string values override parameter values from the parent part. New memory definitions are added to the definitions inherited from the parent. If, however, a new memory definition refers to an existing one of the same name for that part then, from v7.1, the existing memory definition is extended, and components overwritten with new values. Assigning NULL removes an inherited SPI instruction format, memory definition, control stack, eeprom or flash instruction, e.g., as in memory "efuse" = NULL;

Example format for part inheritance:

   part parent <id>                              # quoted string
       id               = <id> ;                 # quoted string
       <any set of other parameters from the list above>
     ;

This document was generated on January 8, 2023 using texi2html 5.0.