Articles

Affichage des articles du janvier, 2018

Shift Register ( Vhdl )

Image
Shift Register ( Vhdl ) In digital circuits, a shift register is a cascade of flip flops, sharing the same clock, in which the output of each flip-flop is connected to the 'data' input of the next flip-flop in the chain, resulting in a circuit that shifts by one position the 'bit array' stored in it, 'shifting in' the data present at its input and 'shifting out' the last bit in the array, at each transition of the clock input. More generally, a shift register may be multidimensional, such that its 'data in' and stage outputs are themselves bit arrays: this is implemented simply by running several shift registers of the same bit-length in parallel. Shift registers can have both parallel and serial inputs and outputs. These are often configured as 'serial-in, parallel-out' (SIPO) or as 'parallel-in, serial-out' (PISO). There are also types that have both serial and parallel input and types with serial and parallel outp...

controle a PWM output in Arduino using LabView

Image
controle a PWM output in Arduino using LabView What is PWM ? Pulse Width Modulation, or PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. The duration of "on time" is called the pulse width. To get varying analog values, you change, or modulate, that pulse width. If you repeat this on-off pattern fast enough with an LED for example, the result is as if the signal is a steady voltage between 0 and 5v controlling the brightness of the LED. so to create a PWM signal using arduino you just have to write this line : analogWrite (Pin, nb); Pin : is the PWM output nb is a number between [0 , 255] to determin the Duty cycle now how to control it from labview , y...

what is VHDL

                                      what is VHDL ??? The Very High Speed Integrated Circuit (VHSIC) Hardware Description Language (VHDL) is a language that describes the behavior of electronic circuits, most commonly digital circuits. VHDL is defined by IEEE standards. There are two common variants: VHDL-1987 and VHDL-1993. VHDL can be used for designing hardware and for creating test entities to verify the behavior of that hardware. VHDL is used as a design entry format by a variety of EDA tools, including synthesis tools such as Quartus II Integrated Synthesis, simulation tools, and formal verification tools. Adventages :  it allows the behavior of the required system to be described (modeled) and verified (simulated) before synthesis  A VHDL project is multipurpose. Being created once, a calculation block can be used in many other projects A VHDL project is po...

CORDIC Algorithm

Image
CORDIC Algorithm CO ordinate R otation DI gital C omputer Introduction : Most engineers tasked with implementing a mathematical function such as sine, cosine or square root within an FPGA may initially think of doing so by means of a lookup table , possibly combined with linear interpolation or a power series if multipliers are available. However, in cases like this the CORDIC algorithm also known as Volder's algorithm, is a simple and efficient algorithm to calculate hyperbolic and trigonometric functions, The modern CORDIC algorithm was first described in 1959 by Jack E. Volder. It was developed to replace the analog resolver in the B-58 bomber's navigation computer ,also used in Intel 80x87 coprocessor  and Intel 80486 .      This figure shows the different mode of the cordic algorithm. in our project we are intrested in the circular rotation mode. 1- Rotation of a vector by an angle θ: For the time being, le...