parent
4922a73c5d
commit
4948162f33
28 changed files with 108 additions and 88 deletions
|
|
@ -57,7 +57,7 @@ class _MemoryPort(CompatModule):
|
|||
|
||||
@extend(NativeMemory)
|
||||
@deprecated("it is not necessary or permitted to add Memory as a special or submodule")
|
||||
def get_fragment(self, platform):
|
||||
def elaborate(self, platform):
|
||||
return Fragment()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import warnings
|
||||
|
||||
from ...hdl import Fragment
|
||||
from ...back import verilog
|
||||
from .conv_output import ConvOutput
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ def convert(fi, ios=None, name="top", special_overrides=dict(),
|
|||
# TODO: attr_translate
|
||||
|
||||
v_output = verilog.convert(
|
||||
fragment=fi.get_fragment().get_fragment(platform=None),
|
||||
fragment=Fragment.get(fi.get_fragment(), platform=None),
|
||||
name=name,
|
||||
ports=ios or (),
|
||||
ensure_sync_exists=create_clock_domains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue