Created
October 23, 2018 23:30
-
-
Save debemdeboas/6858489c35850d9c297c8184935a81ab to your computer and use it in GitHub Desktop.
VHDL Compiler and Simulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Checking syntax..." | |
ghdl -s --ieee=synopsys full_adder.vhd cla_4bits.vhd sum_cla_8b.vhd sub_cla_8b.vhd cod.vhd ULA.vhd ULA_tb.vhd | |
ghdl -a --ieee=synopsys full_adder.vhd cla_4bits.vhd sum_cla_8b.vhd sub_cla_8b.vhd cod.vhd ULA.vhd ULA_tb.vhd | |
echo "Generating executable file..." | |
ghdl -e --ieee=synopsys ulatb | |
ghdl -r --ieee=synopsys ulatb --vcd=ulatbwave.vcd | |
echo "Opening gtkwave..." | |
gtkwave -o -g ulatbwave.vcd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment