This commit is contained in:
Matthias Koefferlein 2025-08-16 19:17:58 +02:00
parent 0e1ba44eaf
commit 5d253d3094
2 changed files with 9 additions and 5 deletions

View File

@ -735,10 +735,12 @@ public:
* If this list is non-empty, the PCell will be used to implement
* vias of one of the given type.
*
* Such a PCell needs to support the following parameters
* Such a PCell needs to support the following (maybe hidden) parameters
* * "via" (string): the name of the via type
* * "w" (float): the via width (top or bottom layer) in um
* * "h" (float): the via height (top or bottom layer) in um
* * "w_bottom" (float): the bottom wire width in um or 0 if not specified
* * "h_bottom" (float): the bottom wire height in um or 0 if not specified
* * "w_top" (float): the top wire width in um or 0 if not specified
* * "h_top" (float): the top wire height in um or 0 if not specified
*/
virtual std::vector<ViaType> via_types () const
{

View File

@ -719,8 +719,10 @@ Class<PCellDeclarationImpl> decl_PCellDeclaration (decl_PCellDeclaration_Native,
"\n"
"@ul\n"
"@li 'via' (string): the name of the via type requested @/li\n"
"@li 'w' (float): the via width (top or bottom layer) in micron @/li\n"
"@li 'h' (float): the via height (top or bottom layer) in micron @/li\n"
"@li 'w_bottom' (float): the bottom wire width in um or 0 if not specified @/li\n"
"@li 'h_bottom' (float): the bottom wire height in um or 0 if not specified @/li\n"
"@li 'w_top' (float): the top wire width in um or 0 if not specified @/li\n"
"@li 'h_top' (float): the top wire height in um or 0 if not specified @/li\n"
"@/ul\n"
"\n"
"This method has been added in version 0.30.4.\n"