So today we will design a combinational system which will incorporate loops concept. The problem statement is A combinational circuit takes as its inputs the votes from three judges and computes the winner of the competition. Each judge has two switches, one for contestant A and one for another contestant B. Each judge must assign... Continue Reading →

As we saw the loops concept yesterday, today we will implement another digital system which will determine the number of 1s in the input vector using for loop and outputs the binary representation of this number as the value count. The architecture must describe a combinational circuit and not the sequential one. Before we start... Continue Reading →

A loop statement contains a sequence of sequential statements that can be repeatedly executed, zero or more times. Consider the iteration scheme of a for loop for identifier in range loop  sequence of statements end loop; In a 'for' loop, the identifier keyword 'for' serves as an implicit declaration of a loop parameter with the... Continue Reading →

The availability of a large variety of codes for the same discrete elements of information results in the use of different codes by different digital systems. It is sometimes necessary to use the output of one system as the input of another. A conversion circuit is inserted in between the two systems if each uses... Continue Reading →

In this blog post, we will be learning about logical and arithmetic operators using a system design approach in VHDL. An Arithmetic and Logic Unit is a digital circuit which performs arithmetic, logical and shift operations. It is the fundamental building block of central processing unit (CPU). Let us design a simple ALU using some... Continue Reading →

The comparison of 2 numbers is an operation that determines whether one number is greater than, less than, or equal to the given number. A magnitude comparator is a combinational circuit that compares two numbers A and B and determines their relative magnitudes. The outcome of the comparison is specified by 3 binary variables that... Continue Reading →

These are the basic VHDL building blocks that are used in almost every description. ■ Entity : All designs are expressed in terms of entities. An entity is the most fundamental building block in a design.  ■ Architecture : All entities which can be simulated have an architecture description. An architecture describes the behavior of the entity.... Continue Reading →

VHDL is an acronym for Very high speed integrated circuit (VHSIC) Hardware Description Language. It is a programming language that describes a logic circuit as follows:- (i) Function (ii) Data flow behavior (iii) And/or structure This hardware description is used to configure a programmable logic device (PLD), such as a field programmable gate array (FPGA) with a custom logic design. The general format... Continue Reading →