Category: VHDL

0

VHDL Code for 4-Bit Aynchronous Accumulator

Accumulator work similar to the functionality of counter. The main difference is instead increment the counter value by constant, Accumulator add the input value with the current value. VHDL Code for 4-bit Asynchronous Accumulator TestBench VHDL Code for 4-bit Asynchronous AccumulatorRead More »

Demultiplexer 1 to 4 1

VHDL code for 1 to 4 Demux

Demultiplexer (DEMUX) select one output from the multiple output line and fetch the single input through selection line. It consist of  1 input and 2 power n output. The output data lines are controlled by n selection lines. For Example, if n = 2 thenRead More »

0

VHDL 4 to 1 Mux (Multiplexer)

Multiplexer (MUX) select one input from the multiple inputs and forwarded to output line through selection line. It consist of 2 power n input and 1 output. The input data lines are controlled by n selection lines. For Example, ifRead More »

6

VHDL Code for Debounce Circuit in FPGA

Push Button always got the mechanical property of bouncing state at micro sec. The above figure describes the debouncing  output result,  when the Push Button is pressed. When you pull down the push button from high to low state. It bounceRead More »

0

Synchronous and Asynchronous Reset VHDL

Reset Circuit helps to keep the FPGA in to Known State. There are 2 types Resets commonly employed to Reset FPGA. They are Asynchronous and Synchronous Reset. Asynchronous Reset Asynchronous Reset circuit is independent of free running clock. Which means ResetRead More »

2

VHDL Code for Binary to BCD Converter

Some times we need to display the output in a seven-segment display. For that purpose we will convert binary to BCD. To translate from binary to BCD, we can employ the shift-and-add-3 algorithm: Left-shift the (n-bit) binary number one bit.Read More »

0

VHDL code for 4-bit binary comparator

Binary comparator compare two 4-bit binary number. It is also known as magnitude comparator and digital comparator. Analog form comparator is voltage comparator. The functionality of this comparator circuit is, It consist of 3 outputs Greater, Equal and Smaller. IfRead More »