This is a VHDL introductionary course to learn HDL by developing data structure algorithms: sorting, search, tree, and graphs.
The main goal is to use GHDL as basis for the development.
Before we start our journey into coding, you may install the development environment.
In Ubuntu enviroments you can run the following commands:
sudo apt-get install ghdl gtkwave
Archies may run:
sudo pacman -S gdhl gtkwave
First insall Rosetta 2:
softwareupdate --install-rosetta
Download the release from ghdl's github for mcode build link
mkdir .macos
cd .macos
mkdir ghdl
curl -L -o ghdl.tar https://github.com/ghdl/ghdl/releases/download/nightly/ghdl-macos-11-mcode.tgz
tar -xf ghdl.tar
rm ghdl.tar
Check the installation:
cd .macos/ghdl/bin
./ghdl --version
# or may run using rosetta 2
arch -x86_64 ./ghdl --help
You can find the versions for MacOS and Windows at sourceforge.
For scripting, used to generate data for verificiation and so on you can install:
python3 -m pip install flake8 pycodestyle black pydantic opencv-python
TODO:
- 00: Introduction
- 01: Structures
- 02: Sorting Algorithms
- 03: Search Algorithms
- 04: Graphs
- 05: Hashing
- 06: Compression
Feel free to copy, modify, change, commit new examples and finish the course :)
MIT License
Copyright (c) 2023 Joed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.