#82 nmos_code.py question
Issue created by eskiyerli
Can you explain to me what does this piece of pycell code is doing? As far as I see, it is just redrawing the same box (rectangle) at the same location as many times as there are gate fingers:
Copy code
for i in range(int(ng)) :
# draw the poly line
xpoly_beg = xcont_end+gatpoly_cont_dist
ypoly_beg = ydiff_beg-gatpoly_Activ_over
xpoly_end = xpoly_beg+l
ypoly_end = ydiff_end+gatpoly_Activ_over
dbCreateRect(self, poly_layer, Box(xpoly_beg, ypoly_beg+diffoffset, xpoly_end, ypoly_end+diffoffset))
I am trying to port this pycell code to Revolution EDA, and I am a bit perplexed.
IHP-GmbH/IHP-Open-PDK
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.