fixed gantry module import
This commit is contained in:
parent
13d6b3fa63
commit
4327ba380d
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user