Fix for cocotb 2
This commit is contained in:
@@ -35,7 +35,7 @@ name = "fpga-sim" # REQUIRED, is the only field that cannot be marked as dynami
|
||||
# https://packaging.python.org/guides/single-sourcing-package-version/
|
||||
|
||||
# dynamic = ["version"]
|
||||
version = "0.4.0" # REQUIRED, although can be dynamic
|
||||
version = "0.5.0" # REQUIRED, although can be dynamic
|
||||
|
||||
# This is a one-line description or tagline of what your project does. This
|
||||
# corresponds to the "Summary" metadata field:
|
||||
@@ -122,7 +122,7 @@ classifiers = [
|
||||
# https://packaging.python.org/discussions/install-requires-vs-requirements/
|
||||
dependencies = [
|
||||
"pyyaml",
|
||||
"cocotb",
|
||||
"cocotb>=2",
|
||||
"rtl-manifest>=0.3.1"
|
||||
]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import sys
|
||||
|
||||
import argparse
|
||||
|
||||
from cocotb.runner import get_runner
|
||||
from cocotb_tools.runner import get_runner
|
||||
|
||||
from rtl_manifest import rtl_manifest
|
||||
|
||||
@@ -105,7 +105,7 @@ def fpga_sim_main():
|
||||
build_args.append("--trace-fst")
|
||||
|
||||
runner.build(
|
||||
verilog_sources=verilog_sources,
|
||||
sources=verilog_sources,
|
||||
includes=incdirs,
|
||||
hdl_toplevel=test["toplevel"],
|
||||
build_dir=f"{test['base_path']}/sim_build",
|
||||
|
||||
Reference in New Issue
Block a user