From 5d253d3094e6c19736b635327ca8e9d1095daf37 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 16 Aug 2025 19:17:58 +0200 Subject: [PATCH] WIP --- src/db/db/dbPCellDeclaration.h | 8 +++++--- src/db/db/gsiDeclDbLibrary.cc | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/db/db/dbPCellDeclaration.h b/src/db/db/dbPCellDeclaration.h index 96130a3c7..7db690f4c 100644 --- a/src/db/db/dbPCellDeclaration.h +++ b/src/db/db/dbPCellDeclaration.h @@ -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 via_types () const { diff --git a/src/db/db/gsiDeclDbLibrary.cc b/src/db/db/gsiDeclDbLibrary.cc index 3e353fe6a..6e40c00e2 100644 --- a/src/db/db/gsiDeclDbLibrary.cc +++ b/src/db/db/gsiDeclDbLibrary.cc @@ -719,8 +719,10 @@ Class 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"