-
-
Save gustavohleal/7db1e5b4b03ae94da1630cdc741348ec to your computer and use it in GitHub Desktop.
VHDL Compiler and Simulator
This file contains hidden or 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