Solution code of past 9 questions of embedded system on vhdl
This is done in ubuntu operating system.
sudo apt update
sudo apt install ghdl
sudo apt install gtkwave
sudo apt install software-properties-common apt-transport-https wget
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code
Install the "VHDL" extension from the Visual Studio Code marketplace.
sudo apt install make
- Create a directory for each assignment/question.
- Within each directory, add three files:
code.vhdl
: Main VHDL code file.testbench.vhdl
: Testbench VHDL code file.Makefile
: Makefile for easier compilation and execution.
- Open a terminal and navigate to the directory containing the assignment/question.
- Run the
make
command to compile and execute the code.make
- To visualize the results using
gtkwave
:gtkwave result.vcd
- If any errors occur, clean the project:
make clean
- Navigate to the directory of the assignment/question:
cd path/to/assignment_directory
- Run the
make
command:make
- View the results in
gtkwave
:gtkwave result.vcd
- Clean the project if necessary:
make clean
Contributions to this project are welcome! To contribute, please fork this repository, make your changes, and submit a pull request.
For any questions or concerns, please contact Pragati Basnet at pragatibasnet123@gmail.com or Abhishek Laudari Bhat at laudariavsk123@gmail.com