mirror of https://github.com/VLSIDA/OpenRAM.git
29 lines
919 B
Python
29 lines
919 B
Python
#!/usr/bin/env python3
|
|
# See LICENSE for licensing information.
|
|
#
|
|
# Copyright (c) 2016-2021 Regents of the University of California
|
|
# All rights reserved.
|
|
#
|
|
|
|
import debug
|
|
from tech import cell_properties as props
|
|
from modules import bitcell_base
|
|
|
|
|
|
class sky130_dummy_bitcell(bitcell_base):
|
|
"""
|
|
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.
|
|
"""
|
|
def __init__(self, version, name=""):
|
|
# Ignore the name argument
|
|
|
|
if version == "opt1":
|
|
cell_name = "sky130_fd_bd_sram__openram_sp_cell_opt1_dummy"
|
|
elif version == "opt1a":
|
|
cell_name = "sky130_fd_bd_sram__openram_sp_cell_opt1a_dummy"
|
|
super().__init__(name, cell_name, prop=props.bitcell_1port)
|
|
debug.info(2, "Create dummy bitcell")
|