mirror of https://github.com/VLSIDA/OpenRAM.git
PEP8 formatting
This commit is contained in:
parent
bca69b24e3
commit
8e908f016e
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
class psram_1bank_2mux_func_test(openram_test):
|
class psram_1bank_2mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
|
|
@ -36,7 +37,7 @@ class psram_1bank_2mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=2,
|
c = sram_config(word_size=2,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_psram_1bank_4mux_func_test, third port reads are broken?")
|
#@unittest.skip("SKIPPING 22_psram_1bank_4mux_func_test, third port reads are broken?")
|
||||||
class psram_1bank_4mux_func_test(openram_test):
|
class psram_1bank_4mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -37,7 +38,7 @@ class psram_1bank_4mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=2,
|
c = sram_config(word_size=2,
|
||||||
num_words=256,
|
num_words=256,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_psram_1bank_8mux_func_test")
|
#@unittest.skip("SKIPPING 22_psram_1bank_8mux_func_test")
|
||||||
class psram_1bank_8mux_func_test(openram_test):
|
class psram_1bank_8mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -37,7 +38,7 @@ class psram_1bank_8mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=256,
|
num_words=256,
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class psram_1bank_nomux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=2,
|
c = sram_config(word_size=2,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_func_test")
|
||||||
class sram_1bank_2mux_func_test(openram_test):
|
class sram_1bank_2mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_1bank_2mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_func_test")
|
||||||
class sram_1bank_2mux_func_test(openram_test):
|
class sram_1bank_2mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_1bank_2mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.local_array_size = 8
|
OPTS.local_array_size = 8
|
||||||
OPTS.route_supplies = False
|
OPTS.route_supplies = False
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_sparecols_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1bank_2mux_sparecols_func_test")
|
||||||
class sram_1bank_2mux_sparecols_func_test(openram_test):
|
class sram_1bank_2mux_sparecols_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_1bank_2mux_sparecols_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1bank_4mux_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1bank_4mux_func_test")
|
||||||
class sram_1bank_4mux_func_test(openram_test):
|
class sram_1bank_4mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_1bank_4mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=128,
|
num_words=128,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1bank_8mux_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1bank_8mux_func_test")
|
||||||
class sram_1bank_8mux_func_test(openram_test):
|
class sram_1bank_8mux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_1bank_8mux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
if not OPTS.spice_exe:
|
if not OPTS.spice_exe:
|
||||||
debug.error("Could not find {} simulator.".format(OPTS.spice_name),-1)
|
debug.error("Could not find {} simulator.".format(OPTS.spice_name),-1)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_1rw_1r_1bank_nomux_func_test")
|
#@unittest.skip("SKIPPING 22_sram_1rw_1r_1bank_nomux_func_test")
|
||||||
class psram_1bank_nomux_func_test(openram_test):
|
class psram_1bank_nomux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -33,7 +34,7 @@ class psram_1bank_nomux_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_func_test")
|
#@unittest.skip("SKIPPING 22_sram_func_test")
|
||||||
class sram_1bank_nomux_func_test(openram_test):
|
class sram_1bank_nomux_func_test(openram_test):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING 22_sram_func_test")
|
#@unittest.skip("SKIPPING 22_sram_func_test")
|
||||||
class sram_1bank_nomux_sparecols_func_test(openram_test):
|
class sram_1bank_nomux_sparecols_func_test(openram_test):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ class sram_wmask_1w_1r_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=8,
|
c = sram_config(word_size=8,
|
||||||
num_words=16,
|
num_words=16,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ from globals import OPTS
|
||||||
from sram_factory import factory
|
from sram_factory import factory
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
|
|
||||||
#@unittest.skip("SKIPPING sram_wmask_func_test")
|
#@unittest.skip("SKIPPING sram_wmask_func_test")
|
||||||
class sram_wmask_func_test(openram_test):
|
class sram_wmask_func_test(openram_test):
|
||||||
|
|
||||||
|
|
@ -29,7 +30,7 @@ class sram_wmask_func_test(openram_test):
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
import characterizer
|
import characterizer
|
||||||
reload(characterizer)
|
reload(characterizer)
|
||||||
from characterizer import functional, delay
|
from characterizer import functional
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=8,
|
c = sram_config(word_size=8,
|
||||||
num_words=16,
|
num_words=16,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue