From b3defd3474643ce998d1f69612108661e9c5a794 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Sat, 8 Feb 2025 14:52:50 -0800 Subject: [PATCH] Fix quotes for old python compatibility --- pyproject.toml | 2 +- src/fpga_sim/fpga_sim.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 97892e6..1f2d296 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.2.0" # REQUIRED, although can be dynamic +version = "0.2.1" # 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: diff --git a/src/fpga_sim/fpga_sim.py b/src/fpga_sim/fpga_sim.py index d9e3a58..4ab539d 100644 --- a/src/fpga_sim/fpga_sim.py +++ b/src/fpga_sim/fpga_sim.py @@ -97,12 +97,12 @@ def fpga_sim_main(): runner.build( verilog_sources=sources, hdl_toplevel=test["toplevel"], - build_dir=f"{test["base_path"]}/sim_build", + build_dir=f"{test['base_path']}/sim_build", waves=test["waves"], defines=defines ) - result_xml = f"../sim_build/{test["name"]}_results.xml".replace(" ", "_") + result_xml = f"../sim_build/{test['name']}_results.xml".replace(" ", "_") sys.path.append(test["base_path"])