Skip to content

Navraj12/VHDL_Assignment

Repository files navigation

Embedded-Systems-VHDL-Assignments

Running VHDL Programs in Ubuntu

To run VHDL programs in Ubuntu, follow these steps & type the commands in terminal.

Step 1: Update Package Lists. (Optional but recommended)

sudo apt update

Step 2: Install ghdl.

sudo apt install ghdl -y

Step 3: Install gtkwave.

sudo apt install gtkwave -y

You can check if ghdl and gtkwave have been installed or not by typing the following commands,

ghdl --version
gtkwave --version

If their versions show up they have been installed; otherwise there may have been some problems during installation.

Step 4: Navigate to Program Directory

Use commands like ls and cd to navigate to the directory containing the VHDL program.

Step 5: Compile and Generate Results

make

Step 6: Visualizing the program.

gtkwave result.vcd

Now, gtkwave will open, allowing you to visualize the results (waveform) of your VHDL program.

Step 7: Inside gtkwave select the testbench.

Select testbench

Step 8: Select the listed signals. (By double clicking at each of them)

Select Signals

Step 9: Initialize the visualiztion of waveform by clicking at the tick mark.

Click tick

You can zoom in & zoom out the waveform by clicking '+' & '-' respectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published