VHDL
A latch and a flip-flop are two basic building blocks in digital electronics used to store binary data. The main difference between them is that a latch is level-sensitive: while its enable (often a clock) is active, the output follows the input. A flip-flop is edge-sensitive: it samples the input only on a clock edge and holds the value until the next edge. Key takeaways A latch is transparent while its enable is active and holds when it is…
by
The Editor's Desk
December 18, 2004
Tutorials
A glitch is a momentary error condition on the output of a circuit caused by unequal path delays. It shows up as an extra pulse, or pulses, on the output. In the interval after the inputs have settled and while the outputs are still being established, a glitch can occur if there is a hazard, either functional or logical. Glitches in plain words Signals do not travel through a circuit all at once. Each gate and each wire adds a little delay, …
by
The Editor's Desk
August 08, 2004
Tutorials
Design for low power depends primarily on the characteristics of the design being implemented. If it is a multi-million gate design, we cannot implement any technique that is gate specific; it has to be a global technique. This post lists the global techniques that work at that scale, explains each in plain terms, and then puts numbers on them. Where the power goes A CMOS chip burns power in two ways. Dynamic power is spent every time a no…
by
The Editor's Desk
April 20, 2004
Verilog
Here is a set of classic Verilog interview questions on display values, delays and clock dividers. Try them first; the answers and the reasoning behind them follow after the break. The questions Q1: Given the following Verilog code, what value of "a" is "displayed"? always @(clk) begin a = 0; a <= 1; $display(a); end Q2: Given the following snippet of Verilog code, draw out the waveforms for "clk" …
by
The Editor's Desk
March 12, 2004
Tutorials
Glue logic is the small amount of custom circuitry needed to make two or more off-the-shelf integrated circuits work together: address decoders, chip selects, read and write strobes, wait-state generators and similar interface logic. It was once built from 74-series TTL chips, then from PALs and CPLDs, and today it usually lives inside an FPGA or as small blocks of RTL between IP cores on an SoC. Key takeaways Glue logic adapts interfaces…
by
The Editor's Desk
February 20, 2004
Tutorials
An application-specific integrated circuit, or ASIC, is an integrated circuit (IC) with functionality customized for a particular use (equipment or project), rather than serving for general-purpose use. A chip designed solely to run a cash register is an ASIC. A microprocessor is not, because users can adapt it to many purposes. ASICs give the best performance, power and unit cost for a fixed job, at the price of high up-front design cost and lo…
by
The Editor's Desk
February 19, 2004