back.{verilog,rtlil}: fix commit d83c4a1b.

The `ports` argument has been passed implicitly, via `**kwargs`, and
that was broken during the deprecation.

Closes #659.
This commit is contained in:
Catherine 2021-12-14 10:47:04 +00:00
parent a6a13dd612
commit 847e46927b
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ class FHDLTestCase(unittest.TestCase):
mode=mode,
depth=depth,
script=script,
rtlil=rtlil.convert(Fragment.get(spec, platform="formal"), ports=())
rtlil=rtlil.convert_fragment(Fragment.get(spec, platform="formal").prepare())[0]
)
with subprocess.Popen(
[require_tool("sby"), "-f", "-d", spec_name],