Home|Digital Logic

Everything related to digital logic: HDL, logic gates, FPGA, etc.

Floating Point Numbers in Digital Systems

Overview Floating point is a way of  representing rational numbers in digital systems. The floating point numbers are represented  in a manner similar to scientific notation, where a number is represented as normalized significand and a multiplier: c x be  Scientific notation c - normalized significand  (the absolute value of c is between 1 and 10 e.g

2019-05-18T23:29:57+03:00By |Categories: Digital Logic|Tags: |1 Comment

Logical Vs. Arithmetic Shift

Logical Shift and Arithmetic Shift are bit manipulation operations (bitwise operations). Logical Shift A Left Logical Shift of one position moves each bit to the left by one. The vacant least significant bit (LSB) is filled with zero and the most significant bit (MSB) is discarded. A Right Logical Shift of one position moves each bit to the right

2019-05-18T23:31:31+03:00By |Categories: Digital Logic|14 Comments

Frequency Measurement Using Counters

Frequency can be measured using a simple synchronous counter that is counting the number of edges of an input signal over a defined period of time. This period of time is usually referred to as gate time. Fig. 1 Frequency measurement block diagram During the gate time the counter is enabled and incoming pulses

2019-05-18T23:34:58+03:00By |Categories: Digital Logic|Tags: |0 Comments

Overflow in Digital Systems

Each integer number used in digital hardware is represented in binary form using a fixed number of bits (memory space for storing the number).  Due to the fixed number of bits, there is a limited number of unique values that can be represented. Fig. 1. Storage size and unique values The relation between the range and

2019-05-18T23:35:17+03:00By |Categories: Digital Logic|Tags: |0 Comments
Go to Top