2021-08-18 20:21:52 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
#
|
2022-11-30 23:50:43 +01:00
|
|
|
# Copyright (c) 2016-2022 Regents of the University of California
|
2021-08-18 20:21:52 +02:00
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
|
2022-11-27 22:01:20 +01:00
|
|
|
from openram import debug
|
|
|
|
|
from openram.modules import bitcell_base
|
|
|
|
|
from openram.tech import cell_properties as props
|
2021-08-18 20:21:52 +02:00
|
|
|
|
|
|
|
|
|
2022-07-13 19:57:56 +02:00
|
|
|
class sky130_dummy_bitcell(bitcell_base):
|
2021-08-18 20:21:52 +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.
|
|
|
|
|
"""
|
|
|
|
|
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")
|