/gezel_intro

an introduction to gezel a programing language to simulate a finite state machine with datapath

Primary LanguageAssembly

Whats gezel?

According to Wikipedia Gezel is a hardware description language, allowing the implementation of a Finite State Machine + Datapath (FSMD) model.

Since running a gezel code is a little tricky, I decided to guide you for the installtion...

OS

As our sources are .deb this should work for every debian based linux by the way I used ubuntu Jammy Jellyfish and everything went pretty well.

Installtion process

  1. clone this repository
git clone https://github.com/Mehrdadghassabi/gezel_intro.git
  1. change the directory to Sources folder
cd gezel_intro/Sources/
  1. change the install.sh modification
chmod +x install.sh
  1. run the shell code
sudo ./install.sh
  1. change your bin path
export PATH=$:/opt/gezel/bin/

run a code

by running this code you should see Hello world four times.

if you did everythings done properly

fdlsim Hello_World.fdl 4

More example Here & Here

uninstallation process

you dont need the first two step if you havent delete project folder

  1. clone this repository
git clone https://github.com/Mehrdadghassabi/gezel_intro.git
  1. change the directory to Sources folder
cd gezel_intro/Sources/
  1. change the install.sh modification
chmod +x uninstall.sh
  1. run the shell code
sudo ./uninstall.sh