VHDL code and test cases for embedded system lab. The code is compiled using GHDL and the waveforms is visualized using GTKWave. The development environment used is Visual Studio Code (VSCode).
Ensure you have the following software installed on your system:
- GHDL
- GTKWave
- xilinx
git https://github.com/ashishbasaula/Embeeded-
Follow the instructions on the GHDL GitHub repository to install GHDL on your system.
Follow the instructions on the GTKWave website to install GTKWave on your system.
- Go to the problem directory whose make file you want to create. For eg: If you want to create make file for mux
$ cd mux
- Run the Makefile by running make command as
$ make
- This creates result.vcd and
- You can view content of result.vcd as
$ cat Makefile
- Finally, to observe output in graphical representation, run following command
$ gtkwave result.vcd
This launches the gtkwave and you can now visualize the output waveform by selecting signals.
VHDL LAB/
|-- Decoder/
| |-- code.vhdl
| |-- code_tb.vhdl
| |-- result.vcd
| |-- Makefile
| |-- readme.md
|-- demux/
| |-- ...
|-- d_flip_flop/
| |-- ...
|-- full_adder/
| |-- ...
|-- full_adder_using_half_adder_and/
| |-- ...
|-- gcd/
| |-- ...
|-- jk_flip_flop/
| |-- ...
|-- lcm/
| |-- ...
|-- readme.md