In the previous Verilog tutorial, we learned how to build various logic gates — such as AND, OR, NOR, and NOT — using only the NOR gates in Verilog. As such, we demonstrated that NOR is a universal gate. (If you haven’t been following this Verilog tutorial series in order, we recommend reviewing the previous…
How to use NOR as the universal gate in Verilog
In the previous Verilog tutorial, we learned how to implement various logic gates, including AND, OR, NOR, and NOT, using only NAND gates in Verilog, demonstrating that NAND is a universal gate. (If you haven’t been following this Verilog tutorial series in order, we recommend reviewing the previous tutorials before proceeding with this one. View…
How to design and verify D’Morgan’s Theorem in Verilog-Part 6
In tutorial 5 of this series, we built NAND, NOR, XOR, and XNOR gates using AND, OR, and NOT gates in Verilog. (If you haven’t been following along, we highly recommend reviewing the previous tutorials before proceeding with this one. The first tutorial starts here.) In this tutorial, we’ll: Write a Verilog program to design…
How to design, simulate, and verify all digital gates in Verilog-Part 4
In previous Verilog tutorials (especially Tutorial 3), we learned how to design, simulate, and verify digital circuits using Altera’s MAX+II VHDL/Verilog simulator software. (If you haven’t been following this series sequentially, be sure to review the previous tutorials before proceeding.) In this tutorial, we’ll: Write a Verilog program to build various digital logic gates. Simulate…
How to compile, simulate, and verify a Verilog program using MAX+II-Part 3
In the previous two tutorials, we covered the basics of Verilog and explored several example programs using different modeling styles. In this tutorial, we will focus on how to simulate and verify Verilog programs. To edit, compile, execute (simulate), or verify a Verilog program, you will need a software tool like Xilinx’s ISE, Mentor Graphics’…
What is Verilog, its features, and design flow?- Part 2
Verilog is a hardware description language (HDL) first standardized by the Institute of Electrical and Electronics Engineers (IEEE) in 1995. It plays an essential role in electronic design automation (EDA) tools for designing and documenting digital systems. Verilog is extensively used in the design and verification of digital circuits at various abstraction levels, from the…
What are the fundamentals of Verilog programs?-Part 1
In the previous tutorial, we covered the fundamentals of Verilog, VLSI design flow, and various Verilog modeling styles, including modules and data types. Now, it’s time to dive into the Verilog programming. In this tutorial, we’ll present basic Verilog programs for popular digital circuits. Before we begin, it’s worth reviewing the prerequisites for Verilog programming,…
How to use NAND as a universal gate in Verilog
In tutorial 6 of this series, we built a circuit for D Morgan’s Theorems in Verilog, verifying its output to prove the theorems. (If you haven’t been following along, we highly recommend reviewing the previous tutorials before proceeding with this one. The first tutorial starts here.) In this tutorial, we’ll: Write a Verilog program to…
How to design a digital circuit using VHDL
Digital circuit design is a critical part of electronics. In fact, most electronic components are digital electronic circuits. Even simple integrated circuits (ICs) contain thousands or hundreds of thousands of transistors. Microprocessors and microcontroller ICs typically have millions or billions of transistors. Most ICs are produced in fabs, but digital circuit designs can be made…