2020-12-08 19:34:24 +01: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-12-08 19:34:24 +01: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-12-08 19:34:24 +01:00
|
|
|
|
|
|
|
|
|
2022-07-13 19:57:56 +02:00
|
|
|
class row_cap_bitcell_1port(bitcell_base):
|
2020-12-08 19:34:24 +01:00
|
|
|
"""
|
2022-07-22 18:52:38 +02:00
|
|
|
Row end cap cell.
|
2020-12-08 19:34:24 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
def __init__(self, name="row_cap_bitcell_1port"):
|
2022-07-14 02:19:09 +02:00
|
|
|
bitcell_base.__init__(self, name, prop=props.row_cap_1port)
|
2020-12-08 19:34:24 +01:00
|
|
|
debug.info(2, "Create row_cap bitcell 1 port object")
|
|
|
|
|
|
|
|
|
|
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
|