mirror of https://github.com/VLSIDA/OpenRAM.git
24 lines
592 B
Python
24 lines
592 B
Python
"""
|
|
This class should be called in the ptx function to draw addtional layer as some layer may not exist in the freePDK technology
|
|
"""
|
|
import globals
|
|
import design
|
|
import tech
|
|
|
|
#class ptx_port:
|
|
# def __init__(self,name):
|
|
# self.name=name
|
|
# self.width=0
|
|
# self.height=0
|
|
# def draw(self,instance_to_draw,offset,tx_type,height,width,tx=1):
|
|
|
|
#Draw wire to connect mulit active
|
|
|
|
#self.add_rect(tech.layer["metal1"],[contact_offset[0],-wire_to_ptx],width,tech.drc["minwidth_metal1"])
|
|
# BINWU: Fix extra stuff
|
|
#print"Freepdk no drawing required"
|
|
# pass
|
|
|
|
def add_custom_layer(fet):
|
|
pass
|