MASM

Getting started with MASM 8086 assembly

Why suddenly 8086 assembly using MASM?
Well, partly because I love exploring random legacy system programming and partly because I stumbled upon this book called “C using Assembly Language” by Steven Holzner (1989). Author has used Quick C and Microsoft Micro Assembler to demonstrate use cases. So here I am, experimenting with stuffs.

Read More

Verilog

Running Verilog code on Linux/Mac

Step by step instructions of to setup and install tools to run and visualize verilog HDL designs on *nix systems.

Read More

FSM in HDL

Implementing an algorithm by modelling an FSM in an HDL

We are going to use Verilog for this project. So, any verilog compiler and simulator should do. Xilinx and ModelSim are really good tools. But since I’m a *nix guy, I’m going to use Icarus Verilog to compile code and gtkwave to view the signal timing diagrams. They are free to use, easy to learn and much more light-weight than other full-fledged options.

Read More