Wednesday, February 25, 2015

Latch is not that BAD - Latch Vs Flip-flop

Leave a Comment
Latches are something in your design which always needs attention. There are tools that help designers pin-point existence of latches in their design as ‘must know’ information. And then, it is the designer's responsibility to correct if the latch usage is unintentional, as this could easily have happened due to poor RTL coding practices.

Once the latch existence is acknowledged at synthesis level, then the downstream tools follow those conventions. This statement is suitable for ASICs, but latch existence is not acceptable for FPGAs. It would be fine to say that FPGA tools have more accurate timing analysis for the flop-based designs.

An expert designer knows how to utilize the time-borrowing capability of a latch for slack balancing while optimizing latch based critical paths in the design. Once he or she decides to use latches in a particular design, the engineer has to make sure that the enable signal is stable and valid data is being captured in the latch. This helps to avoid unstable states in the design.
Here are few differences between Latch Vs Flip-flop for your reference below:

Latch
Flip-Flop
Latch is transparent – because input is directly connected to output when enable is high. It means Latch is sensitive to pulse duration (also called soft barrier)
Flip-flop is a pair of latches (master and slave flop).  Flip-flop is sensitive to pulse transition.  The signal only propagates through on the rising/falling edge (also called hard barrier)
Less Area (less gates)
More Area (more gates) because flip-flop contains two latches.
Less Power (less gates)
More Power (more gates)
Fast -
(The longer combinational path can be compensated by shorter path delays in the subsequent logic stages. That’s why, for higher performance, circuits designer are turning to latched based design.)
Slow -
(The delay of a combinational logic path of a design using edge-triggered flip-flops always less than the clock period except for those specified as false paths and multiple-cycle paths. Hence the longest path of a design limits the circuit performance.)
Require more tool manipulation and more hand-calculations to verify that they meet timing
Easy to check design timing using Static Timing Analysis (STA) tools
Cycle-borrowing to gain more setup time on the next register stage, as long as each loop completes in one cycle

To meet the timing in the design, Designers consider latches to adjust timing mismatch.
Data launches on one rising edge, so it must setup before next rising edge. If it arrives late, system fails. If it arrives early, time is wasted due to hard edges in Flops

For ASICs with large clock skew, latches have substantial benefits for reducing the clock period
Even for the high speed pulsed flip-flops with zero setup time, as they are not transparent, the impact of the clock skew is not reduced
Level-sensitive latches reduce the impact of inaccuracy of wire load models and process variation.
Flip-flops demands for the highly accurate wire load model and process
In DFT, Latches needed as a lockup state at the clock domain crossings in the scan chain to avoid unpredictable behavior
In DFT, use flops that can be scanned (controllable and observable)
In FPGA, level-sensitive transparent latches should be avoided in FPGAs
In FPGA, edge-sensitive flip-flops are used exclusively. Timings analysis is more appropriate with flops for FPGA tools
Circuit analysis is complex. You may see last minutes timing mismatch surprises at the implantation stage.
Circuit analysis is easy
High-speed microprocessor designs typically use master-slave latches instead of flip-flops so that logic can be added between the rising and falling clock edges.

Most of these companies have written their own specialized STA tools to verify latch-based designs.
The most commonly used flop in the design world is D type flip-flop.

FSM implementation mostly involves D Flip-flops due to minimum number of logic gates and lesser cost as compared to other types of flip-flops.
For non-timing-critical configuration registers, latches work great, due to fewer gates and less power consumption
For non-power aware design, Flip flops are preffered over Latches
Latch is an asynchronous block. Therefore you must ensure that the combinational functions, which generate input signals for the latch, are race-free. Otherwise they may generate glitches, which may be latched, causing hazards in your system.
A flip-flop, on the other hand, is edge-triggered and only changes state when a control signal goes from high to low or low to high
Latch based design is noisy, because any noise in the enable signal disrupts the latch output easily.
Flip-flop based design is robust

                                             


Authored by: Arbind Kumar Rohilla arbind@atrenta.com  
Read More...

AN INTRODUCTION TO 5G TECHNOLOGY

Leave a Comment
5G mobile telecommunication standards stand for  fifth-generation advancements made in the mobile communications field. These comprise packet switched wireless systems using orthogonal frequency division multiplexing (OFDM) with wide area coverage, high throughput at millimetre waves (10 mm to 1 mm) covering a frequency range of 30 GHz to 300 GHz, and enabling a 20 Mbps data rate to distances up to 2 km. The millimetre-wave band is the most effective solution to the recent surge in wireless Internet usage. These specifications are capable of providing ‘wireless world wide web’ (WWWW) applications.

The WWWW allows a highly flexible network (flexible channel bandwidth between 5 and 20 MHz, optimally up to 40 MHz), and dynamic ad-hoc wireless network (DAWN). This technique employs intelligent antennae (e.g., switched beam antennae and adaptive array antennae) and the flexible modulation method, which helps in obtaining bidirectional high bandwidth, i.e., transfer of a large volume of broadcasting data in giga bytes, sustaining more than 60,000 connections and providing 25 Mbps connectivity.

Users of 5G technology can download an entire film to their tablets or laptops, including 3D movies; they can download games and avail of remote medical services. With the advent of 5G, Piconet and Bluetooth technologies will become outdated. The 5G mobile phones would be akin to tablet PCs, where you could watch TV channels at HD clarity without any interruption.

Key concepts in 
5G technology
Future mobile devices equipped with 5G technology will have:

  1. Wearable devices with artificial intelligence (AI)
  2. Internet Protocol version 6 where the IP address is assigned according to location and the connected network.
  3. The ability to connect the user to different wireless access technologies, like 2.5G, 3G, 4G or 5G mobile networks, as well as Wi-Fi and WPAN (wireless personal area network)—or even any other technology to be developed in the future. This is basically a concurrent data transfer path technique.
  4. Smart radio. In order to share the same spectrum efficiently during a wireless transmission scheme, the system will adaptively find (search) unused spectrum. This dynamic radio resource management will be achieved in a distributed fashion and rely on software defined transmission.
  5. High altitude stratospheric platform station (HAPS) system. This is based on beam division multiple access (BDMA) and group relay techniques.
5G hardware
Ultra wideband networks (UWB). It is already known that Wi-Fi, Wi-Max and cellular wide area communications are long-range radio technologies. But systems like WPAN need short-range radio technology, which helps in achieving higher bandwidths (around 4000 Mbps) but at low energy levels (UWB network) for relaying data from host devices to devices in the immediate vicinity, i.e., distances of around 10 metres or so. This higher bandwidth (4000 Mbps) level is almost 400 times faster than today’s wireless networks. Each network will be responsible for handling user-mobility while the user terminal will make the final choice among different wireless/mobile access network providers for a given service. However, there should be different radio interfaces for each radio access technology (RAT) in the mobile terminal.

Smart antennae. These include the following:

  1. Switched beam antennae. This type of antenna supports radio positioning via angle of arrival (AOA). Information is collected from nearby devices.
  2. Adaptive array antennae (Samsung has used 64 antennae elements). Such antennae promise to improve the capacity of wireless systems by providing improved safety through position-location capabilities. This technique rejects interference through spatial-altering-position location through direction-ending measurements and developing improved channel models through angle-of-arrival channel sounding measurement.
  3. CDMA (code division multiple access) technique. This technique converts audio analogue input signals into digital signals (ADC) in combination with spread spectrum technology. The signal is transmitted using modulation according to some predefined code (pattern), and is demodulated using the same pattern since there can be billions of code patterns which can provide privacy and sufficient security.
5G software
  1. 5G will be a single unified IP standard of different wireless networks and a seamless combination of broadband, including wireless technologies, such as IEEE802.11, LAN, WAN, PAN and WWWW.
  2. 5G will enable software-defined radio, packet layers, implementation of packets, encryption flexibility, etc. 
Chronological evolution of mobile technologies
Although the 1G system (NMT) was introduced in 1981, 2G (GSM) started to come out in 1982, and 3G (W-CDMA)/FOMA first appeared in 2001, the complete development of these standards (e.g., IMT-2000 and UMTS) took almost 10 years. It is still unclear how much time it will take to launch the standards for 5G.

5G technology will ensure the convergence of networks, technologies, applications and services, and can serve as a flexible platform. Wireless carriers will have an opportunity to shorten their return-on-investment periods, improve operating efficiency and increase revenues. In short, this will change people’s lives in numerous ways.
Read More...

Sunday, February 22, 2015

Easy Exams

Leave a Comment
     Our main aim is to help the students in their study. We provide study materials and study notes.  We believe that students who have thirst of knowledge must not face any obstacle in studying. 

     Any one  can visit this blog so as to get the study items for free. 

   We have the following categories.
1) SLC Level                        2) +2 level

3) BSc CSIT                         4) BE (Electronics and computer)



This blog is under construction....
Read More...

Saturday, February 7, 2015

start building your blog now on

Leave a Comment
Read More...

Tuesday, February 3, 2015

Netwon's law of gravitation

Leave a Comment
Newton's law of Gravitation states that "the gravitational force between any 2 bodies is directly proportional to product of their masses and inversely proportional to square of the distance between  them from center of their masses."
Suppose  2 bodies each having their masses"m1" and "m2" and distance between them from center of their masses be "d" then according to Newton's law of gravitation
                                  Gravitational force between them (F)=(G.m1.m2)/d^2 gravitational constant(G):It is defined as force of attraction between 2 bodies of masses 1 kg each separated by distance of 1m from center of their body
Read More...
.