From 4327ba380d35a346bc3f883c49217c13bd272214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20=C3=96rtenberg?= Date: Wed, 12 Feb 2025 10:36:50 +0100 Subject: [PATCH] fixed gantry module import --- scripts/gantry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gantry.py b/scripts/gantry.py index 8e17038..514eca8 100644 --- a/scripts/gantry.py +++ b/scripts/gantry.py @@ -1,5 +1,5 @@ import typer -import elab +import elab as elaborate import build_env from typing_extensions import Annotated @@ -28,7 +28,7 @@ def elab( std: Annotated[str, typer.Option(help="Which VHDL standard to use. 87, 93, 93c, 00, 02 or 08", autocompletion=complete_vhdl_ver)] = "93c" ): print(f"Elaborating {topdef} with arch {arch} in library {library}. VHDL {std}") - return elab.elabDesign(topdef, arch, library, std) + return elaborate.elabDesign(topdef, arch, library, std) @software.command(help="Simulates elaborated design in GHDL and views waves in gtkwave. Automatically runs `gantry elab` on the same top def and arch.") def run( @@ -38,7 +38,7 @@ def run( std: Annotated[str, typer.Option(help="Which VHDL standard to use. 87, 93, 93c, 00, 02 or 08", autocompletion=complete_vhdl_ver)] = "93c" ): print(f"Running (and synthesizing if needed) {topdef} with arch {arch} in library {library}. VHDL {std}") - return elab.runDesign(topdef, arch, library, std) + return elaborate.runDesign(topdef, arch, library, std) @hardware.command() def build():