2020-05-28 05:03:11 +02:00
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
#
|
2024-01-03 23:32:44 +01:00
|
|
|
# Copyright (c) 2016-2024 Regents of the University of California and The Board
|
2020-05-28 05:03:11 +02:00
|
|
|
# of Regents for the Oklahoma Agricultural and Mechanical College
|
|
|
|
|
# (acting for and on behalf of Oklahoma State University)
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
2022-11-27 22:01:20 +01:00
|
|
|
from openram import debug
|
|
|
|
|
from openram.tech import cell_properties as props
|
2022-07-13 19:57:56 +02:00
|
|
|
from .bitcell_base import bitcell_base
|
2020-05-28 05:03:11 +02:00
|
|
|
|
|
|
|
|
|
2022-07-13 19:57:56 +02:00
|
|
|
class col_cap_bitcell_2port(bitcell_base):
|
2020-05-28 05:03:11 +02:00
|
|
|
"""
|
2022-07-22 18:52:38 +02:00
|
|
|
Column end cap cell.
|
2020-11-03 22:35:34 +01:00
|
|
|
"""
|
2020-05-28 05:03:11 +02:00
|
|
|
|
2020-11-16 22:42:42 +01:00
|
|
|
def __init__(self, name="col_cap_bitcell_2port"):
|
2022-07-14 02:19:09 +02:00
|
|
|
bitcell_base.__init__(self, name, prop=props.col_cap_2port)
|
2020-11-14 17:08:42 +01:00
|
|
|
debug.info(2, "Create col_cap bitcell 2 port object")
|
2020-05-28 05:03:11 +02:00
|
|
|
|
2020-06-22 21:35:37 +02:00
|
|
|
self.no_instances = True
|
2023-03-01 18:25:56 +01:00
|
|
|
|
|
|
|
|
def build_graph(self, graph, inst_name, port_nets):
|
|
|
|
|
"""
|
|
|
|
|
Adds edges based on inputs/outputs.
|
|
|
|
|
Overrides base class function.
|
|
|
|
|
"""
|
|
|
|
|
pass
|