mirror of https://github.com/VLSIDA/OpenRAM.git
24 lines
632 B
Python
24 lines
632 B
Python
# See LICENSE for licensing information.
|
|
#
|
|
# Copyright (c) 2016-2019 Regents of the University of California and The Board
|
|
# of Regents for the Oklahoma Agricultural and Mechanical College
|
|
# (acting for and on behalf of Oklahoma State University)
|
|
# All rights reserved.
|
|
#
|
|
from design import design
|
|
class gds_cell(design):
|
|
"""
|
|
A generic GDS design.
|
|
"""
|
|
def __init__(self, name, gds_file):
|
|
self.name = name
|
|
self.gds_file = gds_file
|
|
self.sp_file = None
|
|
|
|
design.__init__(self, name)
|
|
|
|
# The dimensions will not be defined, so do this...
|
|
self.width=0
|
|
self.height=0
|
|
|