Skip to content

Instantly share code, notes, and snippets.

@TheZoq2
Last active April 22, 2016 14:34
Show Gist options
  • Save TheZoq2/8d1a46fd96838a9cd55f8cdae8fcf305 to your computer and use it in GitHub Desktop.
Save TheZoq2/8d1a46fd96838a9cd55f8cdae8fcf305 to your computer and use it in GitHub Desktop.
#Kör en gång
ghdl -i *.vhd
Kör skriptet för att kompilera
#F;r att starta gtkwave
gtkwave wave.ghw
ctrl+shift+r laddar om waven.
#!/bin/bash
#./script_name entity_name <time><unit>
#./script_name gpu_tb 1ms
WAVE_PATH=wave.ghw
ghdl -m $1
ghdl -r $1 --stop-time=$2 --wave=$WAVE_PATH
#gtkwave $WAVE_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment