mirror of https://github.com/VLSIDA/OpenRAM.git
Convert unit test 25 to new modules convert
This commit is contained in:
parent
dc1626879e
commit
623c1ac02f
|
|
@ -23,8 +23,8 @@ class multibank_verilog_test(openram_test):
|
|||
OPTS.route_supplies=False
|
||||
OPTS.check_lvsdrc=False
|
||||
OPTS.netlist_only=True
|
||||
from sram import sram
|
||||
from sram_config import sram_config
|
||||
from modules import sram
|
||||
from modules import sram_config
|
||||
c = sram_config(word_size=2,
|
||||
num_words=16,
|
||||
num_banks=2)
|
||||
|
|
@ -47,7 +47,7 @@ class multibank_verilog_test(openram_test):
|
|||
multi_golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)), vfile)
|
||||
self.assertTrue(self.isdiff(vname, multi_golden))
|
||||
|
||||
one_golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)), v1bname)
|
||||
one_golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)), v1bfile)
|
||||
self.assertTrue(self.isdiff(v1bname, one_golden))
|
||||
|
||||
globals.end_openram()
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ module sram (
|
|||
parameter ADDR_WIDTH= 4;
|
||||
|
||||
parameter BANK_SEL = 1;
|
||||
parameter NUM_WMASK = 1;
|
||||
parameter NUM_WMASK = 0;
|
||||
|
||||
`ifdef USE_POWER_PINS
|
||||
inout vdd;
|
||||
|
|
|
|||
Loading…
Reference in New Issue