2019-06-15 00:06:04 +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
|
2019-06-15 00:06:04 +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
|
2019-06-15 00:06:04 +02:00
|
|
|
|
2019-10-06 03:08:23 +02:00
|
|
|
|
2022-07-13 19:57:56 +02:00
|
|
|
class dummy_bitcell_1port(bitcell_base):
|
2019-06-15 00:06:04 +02:00
|
|
|
"""
|
|
|
|
|
A single bit cell (6T, 8T, etc.) This module implements the
|
|
|
|
|
single memory cell used in the design. It is a hand-made cell, so
|
|
|
|
|
the layout and netlist should be available in the technology
|
|
|
|
|
library.
|
|
|
|
|
"""
|
2020-11-03 22:18:46 +01:00
|
|
|
def __init__(self, name):
|
2020-11-14 17:08:42 +01:00
|
|
|
super().__init__(name, prop=props.bitcell_1port)
|
2019-06-15 00:06:04 +02:00
|
|
|
debug.info(2, "Create dummy bitcell")
|
|
|
|
|
|
2022-12-02 21:14:40 +01:00
|
|
|
def build_graph(self, graph, inst_name, port_nets):
|
|
|
|
|
""" Adds edges based on inputs/outputs. Overrides base class function. """
|
|
|
|
|
pass
|