mirror of https://github.com/VLSIDA/OpenRAM.git
Base-verilog
This commit is contained in:
parent
769633a459
commit
a5728cdecc
|
|
@ -7,6 +7,7 @@
|
||||||
#
|
#
|
||||||
import math
|
import math
|
||||||
from tech import spice
|
from tech import spice
|
||||||
|
import verilog_template
|
||||||
|
|
||||||
|
|
||||||
class verilog:
|
class verilog:
|
||||||
|
|
@ -15,7 +16,8 @@ class verilog:
|
||||||
This is inherited by the sram_base class.
|
This is inherited by the sram_base class.
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
self.template = verilog_template('verilog_template.v')
|
||||||
|
self.template.readTemplate()
|
||||||
|
|
||||||
def verilog_write(self, verilog_name):
|
def verilog_write(self, verilog_name):
|
||||||
""" Write a behavioral Verilog model. """
|
""" Write a behavioral Verilog model. """
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue