Compare commits

..

4 Commits

6 changed files with 12 additions and 32 deletions

1
scripts/.gitignore vendored
View File

@ -5,4 +5,3 @@ lib
lib64 lib64
pyvenv.cfg pyvenv.cfg
__pycache__ __pycache__
gantry

View File

@ -21,11 +21,10 @@ def runDesign(topDef: str, arch: str, lib: str, std: str):
libPath = os.path.join(os.getcwd(), lib) libPath = os.path.join(os.getcwd(), lib)
wavePath = os.path.join(os.getcwd(), "wave") wavePath = os.path.join(os.getcwd(), "wave")
command = [ ## may add -v for verbose command = [ ## may add -v for verbose
"ghdl", "--elab-run", f"--workdir={lib}", f"--work={lib}", f"--std={std}", "ghdl", "-r", f"{topDef}", f"{arch}",
"-o", f"{lib}/{topDef}-{arch}", f"{topDef}", f"{arch}", f"--wave=../wave/{topDef}-{arch}.ghw" ##, "--read-wave-opt=<See"
f"--wave=wave/{topDef}-{arch}.ghw" ##, "--read-wave-opt=<See"
] ]
subprocess.run(command) subprocess.run(command, cwd=libPath)
command = [ command = [
"gtkwave", f"{topDef}-{arch}.ghw", "--rcvar", "gtkwave", f"{topDef}-{arch}.ghw", "--rcvar",
"do_initial_zoom_fit yes"] "do_initial_zoom_fit yes"]

View File

@ -1,4 +0,0 @@
#!/bin/bash
VARS="$@"
COMMAND="ghdl $VARS"
docker run -it -v .:/src -w /src ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04 bash -c "$COMMAND"

View File

@ -1,4 +0,0 @@
#!/usr/bin/fish
docker pull ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04
fish_add_path "$(pwd)"

View File

@ -1,6 +0,0 @@
#!/bin/bash
PWD=$(pwd)
printf "#!/bin/bash \n$PWD/bin/python3 $PWD/gantry.py \$@" > "$PWD/gantry"
chmod +x "$PWD/gantry"

View File

@ -1,14 +1,10 @@
attrs==21.4.0 click==8.1.8
click==8.0.4 markdown-it-py==3.0.0
commonmark==0.9.1 mdurl==0.1.2
dataclasses==0.8 Pygments==2.19.1
importlib-metadata==4.8.3 rich==13.9.4
markdown-it-py==2.0.1 setuptools==75.8.0
mdurl==0.1.0 shellingham==1.5.4
Pygments==2.14.0
rich==12.6.0
shellingham==1.4.0
type-extensions==0.1.2 type-extensions==0.1.2
typer==0.10.0 typer==0.15.1
typing_extensions==4.1.1 typing_extensions==4.12.2
zipp==3.6.0