mirror of https://github.com/VLSIDA/OpenRAM.git
Use fake sram in memchar
This commit is contained in:
parent
ae107b635f
commit
c7975e3274
|
|
@ -1,4 +1,6 @@
|
|||
import sram_config
|
||||
import OPTS
|
||||
|
||||
|
||||
class fake_sram(sram_config.sram_config):
|
||||
""" This is an SRAM that doesn't actually create itself, just computes
|
||||
|
|
@ -12,10 +14,6 @@ class fake_sram(sram_config.sram_config):
|
|||
# TODO: Get width and height from gds bbox
|
||||
self.width = 0
|
||||
self.height = 0
|
||||
#c = reload(__import__(OPTS.bitcell))
|
||||
#self.mod_bitcell = getattr(c, OPTS.bitcell)
|
||||
#self.bitcell = self.mod_bitcell()
|
||||
# to get the row, col, etc.
|
||||
self.compute_sizes()
|
||||
self.setup_multiport_constants()
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ c = sram_config(word_size=OPTS.word_size,
|
|||
OPTS.netlist_only = True
|
||||
OPTS.check_lvsdrc = False
|
||||
|
||||
# Initialize and create the sram object
|
||||
from sram import sram
|
||||
# Initialize and create a fake sram object
|
||||
import fake_sran as sram
|
||||
s = sram(name=OPTS.output_name, sram_config=c)
|
||||
|
||||
# Characterize the design
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
BSIM3V3.1 Parameter Check
|
||||
Model = p
|
||||
W = 6e-07, L = 8e-07
|
||||
Warning: Pd = 0 is less than W.
|
||||
Warning: Ps = 0 is less than W.
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
ERROR: file testutils.py: line 266: Mismatching files:
|
||||
file1=/tmp/openram_bugra_979_temp//sram_2_16_1_scn4m_subm_TT_5p0V_25C.lib
|
||||
file2=/openram/compiler/tests/golden/sram_2_16_1_scn4m_subm_TT_5p0V_25C_analytical.lib
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (74):
|
||||
type (wmask){
|
||||
!=
|
||||
cell (sram____scnm_subm){
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (75):
|
||||
base_type : array;
|
||||
!=
|
||||
memory(){
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (76):
|
||||
data_type : bit;
|
||||
!=
|
||||
type : ram;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (77):
|
||||
bit_width : ;
|
||||
!=
|
||||
address_width : ;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (78):
|
||||
bit_from : ;
|
||||
!=
|
||||
word_width : ;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (79):
|
||||
bit_to : ;
|
||||
!=
|
||||
}
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (80):
|
||||
}
|
||||
!=
|
||||
interface_timing : true;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (81):
|
||||
|
||||
!=
|
||||
dont_use : true;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (82):
|
||||
cell (sram____scnm_subm){
|
||||
!=
|
||||
map_only : true;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (83):
|
||||
memory(){
|
||||
!=
|
||||
dont_touch : true;
|
||||
|
||||
ERROR: file testutils.py: line 268: MISMATCH Line (84):
|
||||
type : ram;
|
||||
!=
|
||||
area : ;
|
||||
|
||||
Loading…
Reference in New Issue