4 bit shift register design in VHDL testbench and output waveform

A 4-bit shift register design in VHDL is illustrated with waveform output. The shift register is made of 4 D Flip Flop. Data enters 1 bit at a time into the first D Flip Flop which is then shifted along the cascaded shift register.

D Flip Flop:

The D Flop Flip is the basic unit of the 4 bit shift register. It is a synchronous flip flop with clock and reset input. The input for data is D and the output is Q.
d flip flop

D Flip Flop:

library ieee;
use ieee.std_logic_1164.all;

entity dff is
port(
D : in std_logic;
CLK : in std_logic;
RST : in std_logic;
Q : out std_logic
);
end dff;

architecture dff_arch of dff is
begin

process (CLK)
begin
if CLKevent and CLK=1 then  --CLK rising edge
if RST =1 then --synchronous RESET active High
Q <= 0;
else
Q <= D;
end if;
end if;
end process;
end dff_arch;

Shift Register:

The shift register below instantiates the above D Flip Flip 4 times for the 4 Flip Flops. The input to the register is Din which is feed to the first D Flip Flop. The out of the shift register is Qout.

shift register
Shift Register Code:

library ieee;
use ieee.std_logic_1164.all;

entity register_design is
port (
Din : in std_logic;
CLK : in std_logic;
RST : in std_logic;
Qout : out std_logic_vector(3 downto 0)
);
end register_design;

architecture register_arch of register_design is

signal q0, q1, q2, q3 : std_logic;

begin
ff1: entity work.dff(dff_arch)
port map (
D => Din,
CLK => CLK,
RST => RST,
Q => q0
);
ff2: entity work.dff(dff_arch)
port map (
D => q0,
CLK => CLK,
RST => RST,
Q => q1
);
ff3: entity work.dff(dff_arch)
port map (
D => q1,
CLK => CLK,
RST => RST,
Q => q2
);
ff4: entity work.dff(dff_arch)
port map (
D => q2,
CLK => CLK,
RST => RST,
Q => q3
);

Qout <= q0&q1&q2&q3;

end register_arch;

Testbench Code:

library ieee;
use ieee.std_logic_1164.all;

entity register_design_tb is
end register_design_tb;

architecture TB_ARCHITECTURE of register_design_tb is

component register_design
port(
Din : in STD_LOGIC;
CLK : in STD_LOGIC;
RST : in STD_LOGIC;
Qout : out STD_LOGIC_VECTOR(3 downto 0) );
end component;

signal Din : STD_LOGIC;
signal CLK : STD_LOGIC;
signal RST : STD_LOGIC;

signal Qout : STD_LOGIC_VECTOR(3 downto 0);

begin

UUT : register_design
port map (
Din => Din,
CLK => CLK,
RST => RST,
Qout => Qout
);

CLK_GEN: process
begin
CLK <= 0;
wait for 5 ns;

CLK <= 1;
wait for 5 ns;

end process;

stimuli : process
begin

Din <= 1 after 20 ns;

RST <= 1 after 70 ns;

Din <= 1 after 90 ns;

wait;

end process;

end TB_ARCHITECTURE;

configuration TESTBENCH_FOR_register_design of register_design_tb is
for TB_ARCHITECTURE
for UUT : register_design
use entity work.register_design(register_arch);
end for;
end for;
end TESTBENCH_FOR_register_design;

Waveform

graph waveform of shift register


In the waveform graph above, the data input is 1 at 20 ns which is propagated through the D flip flops as shown by Qout(3), Qout(2), Qout(1) and Qout(0). At 70 ns Reset signal RST is applied which puts all the D flip flop states to 0.
Read More..

A book on Digital Synthesizers and Transmitters for Software Radio free download

This summary is not available. Please click here to view the post.
Read More..

Interfacing Intel 8086 with Intel 8251 USART and MAX232

In order to communication over serial lines such as telephone lines we need to connect the microprocessor to a USART. The microprocessor sends parallel 8 bit data to the USART. The USART latches the data byte into its register and inserts start bit, parity bit and one or more stop bits. This character frame is then serialized using Parallel to serial converter and send out in serially by the performing shifting operation. The signal coming out of the USART is TTL signals which has not enough strength to be send over long distance. So this TTL signal is converted to the higher voltage by voltage converter. MAX232 is a device that converts TTL voltages levels(0 to 0.8V for logic 0 and 2V to Vcc for logic 1) to RS232 voltage levels(-3 to -15V for logic 0 and +3 to +15V for logic 1) and from RS232 voltage levels to TTL voltage levels. The output from the MAX232 are thus RS232 signals and connected to a male DB25 connector or 9 DB connector. The DB25 or DB9 connector are connected to the female DB25 or female 9DB connected. The DB25 female/DB9 female connector are connected to the MODEM which is a DCE(Data Communication Equipment).

The following schematic shows how a 8086 microprocessor is interfaced with intel 8251 USART which is in turn connected to the MAX232 transceiver and finally to the DB25 connector.


The overview of the connection was explained previously. Now a more detailed explanation will follow. Looking at the 8251 chip the important pins or signals are the DTR, DSR, RTS and CTS. These are all control signals. The DTR and DSR signals are used to initialize the DTE(microprocessor or CPU or Computer) and the modem. The RTS and CTS are control signals which are inserted before data transfer. The MAX232 has two drivers and two receivers. In the figure above the TxD and RxD are the pins over which the serial data is sent. These are connected to the T1IN and R1OUT respectively. Similarly the RTS and CTS signals are connected to the T2OUT and R2IN.
Read More..

how to create and use functions in VHDL

This is a continuation of the tutorial- how to create and use functions in VHDL. In this tutorial we show how a function can be declared inside an entity section. In the last two tutorials we showed how a function can be declared in a package and how a function can be declared inside the architecture.

The code below is the function we created that accepts two inputs of the type std_logic_vector and outputs one parameter also of the type std_logic_vector.

FUNCTION myAdder(signal f1,f2: STD_LOGIC_vector(3 downto 0)) return std_logic_vector IS
    variable sum_int : integer := 0;
    variable sum : std_logic_vector(3 downto 0) := "0000";
BEGIN
 
    sum_int := to_integer(unsigned(f1)) + to_integer(unsigned(f2));
 
    sum := std_logic_vector(to_unsigned(sum_int,4));
 
    return sum;
 
END FUNCTION myAdder;

As you might already guessed from the two earlier tutorials, once you have create the function VHDL code, the placement of the function is just matter of copying and pasting the code inside a package or architecture declarative part. The placement of function code in entity is similar of that of architecture method. The function code is just placed after the port declaration and the function is called in the architecture after the begin keyword.

 The following shows where to place the function code in the function declaration in entity method:

 library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity function_test is
    port(
    a : in std_logic_vector(3 downto 0);
    b : in std_logic_vector(3 downto 0);
    y : out std_logic_vector(3 downto 0)
    );
 
FUNCTION myAdder(signal f1,f2: STD_LOGIC_vector(3 downto 0)) return std_logic_vector IS
    variable sum_int : integer := 0;
    variable sum : std_logic_vector(3 downto 0) := "0000";
BEGIN
 
    sum_int := to_integer(unsigned(f1)) + to_integer(unsigned(f2));
 
    sum := std_logic_vector(to_unsigned(sum_int,4));
 
    return sum;
 
END FUNCTION myAdder;

end function_test;

architecture model of function_test is

begin
 
    y <= myAdder(a, b);

end model;

 There is difference in the package method though. In the package method, we declared the function header inside the package header and the whole function(header and body) inside the package body.

In case of entity and architecture method, the whole function code(header and body) is declared inside the entity or architecture whichever method is used. 

Read More..

Download Picture Dude image Uploader Upload pictures to facebook quick and easy

Download Picture Dude image Uploader 


Picture Dude Angel Uploader is a chargeless accessible to use Facebook angel uploader ideal for Facebook users. Thiscomputer application takes abroad the accidental annoyance of assuming assorted tasks above-mentioned to uploading a account to Facebook. This Facebook uploader is able to handle any sized angel and automatically resizes it to fit assimilate the site.


Image Uploader is additionally accordant with all angel extensions. These accommodate JPEG, GIF, Bitmap and RAW as able-bodied as others. The affairs will accessible the files and optimize the angel for a Facebook upload. Users can circle the images and actualize subtitles calmly and aural minutes.

This Facebook angel uploader has a simple and accessible to cross interface and all advice is accounting in bright abridged language. Download Picture Dude Angel Uploader today and get your images up on Facebook for your accompany to see and enjoy.





  • Home Page : Click Here
  • Works With : Windows XP, Windows 7
  • Free / Paid : Free
  • Download (4.03MB)
Read More..

Intel PRO Wireless and WiFi Link Drivers 14 3 0 6 Vista 32 bit free download

                                               

                                            

The Intel PRO/Wireless 3945ABG Network Connection is an embedded 802.11a/b/g PCIe Mini Card network adapter operating in the 2.4GHz and 5GHz spectrum. The new solution has support for the latest wireless industry standards, and offers a host of features that will enhance todays mobile lifestyle.
This version requires Windows Vista 32 bit.

Title:Intel PRO/Wireless and WiFi Link Drivers 14.3.0.6 Vista 32-bit
Filename:Wireless_14.3.0.6_Dv32.exe
File size:7.11MB (7,451,040 bytes)
Requirements:Windows Vista
Languages:en-US
License:Freeware
Date added:January 17, 2012
Author:Intel Corporation
www.intel.com
MD5 Checksum:06B215B529776E24E0C149C786B250C4


                             




                                                                     



HOW TO DOWNLOAD

CLICK TO THIS LINK 
  FREE DOWNLOAD

Download Intel PRO/Wireless and WiFi Link Drivers 14.3.0.6 Vista 32-bit

Intel PRO/Wireless and WiFi Link Drivers 14.3.0.6 Vista 32-bit

Intel Corporation - 7.11MB (Freeware)






MORE THAN LINK DRIVERS MORE WINDOWS AND LATEST VERSION FREE DOWNLOAD.
CLICK NOW THIS LINK FREE:-
  • Intel PRO/Wireless and WiFi Link Drivers 14.3.0.6 Vista 32-bit
  • Intel PRO/Wireless and WiFi Link Drivers 14.3.0.6 Vista 64-bit
  • Intel PRO/Wireless and WiFi Link Drivers 15.8.0 Win7 32-bit
  • Intel PRO/Wireless and WiFi Link Drivers 15.8.0 Win7 64-bit
  • Intel PRO/Wireless and WiFi Link Drivers 15.8.0 XP 32-bit
  • Intel PRO/Wireless and WiFi Link Drivers 15.8.0 XP 64-bit







Read More..

LINE new communication app from your PC to iPhones Android Windows and Blackberry Free Download

                                            

LINE Description

Make phone calls from your PC to iPhones, Android, Windows, and Blackberry devices. All these with LINE is a new communication app which allows you to make FREE voice calls and send FREE messages whenever and wherever you are, 24 hours a day!

More about LINE’s Features:

★Free Voice Calls!
All LINE smartphone users can enjoy free high quality voice calls, whenever and wherever you are.

Talk for as much as you want and best of all, it’s free!
★Messages Delivered to you Quick!
Instead of taking time to email/sms your friends, use LINE’s message function to send messages easily with colorful icons, photos and even location information.
・Express yourself using stickers and emoji.
・Send photos and voice messages with ease
・Available for PCs and smart-tablets

★Make it YOUR Social Network
・Have fun with LINE’s ‘Home’ feature: Share your moments with all your friends using photos, videos, and location info.
・Use ‘Timeline’ to see what your friends have been up to and what they have posted! Leave comments, messages and enjoy your communication.

Other LINE Features:
★New Sticker Shop! Find all your favorite characters here!
Hilarious and fun stickers featuring famous characters from all over the world can be found here!

★Get the latest info with LINE Official Accounts
Add these accounts as friends and receive messages from popular celebs and singers, as well as money saving coupons from various businesses.
The download manager might recommend you to install additional software like a toolbar. AVG SafeGuard toolbar alerts you before you visit dangerous webpages to make sure your identity, personal information, and computer are protected.

Compatibility: Windows 2000/XP/Vista/7/8 and Mozilla Firefox, Google Chrome and Internet Explorer
                              
  •                                    NameLINE
  •                                    Version3.1.9.34
  •                                    LicenseFree
  •                                    CompatibilityWindows
  •                                    InstallerweDownload Manager
  •                                    Installer compatibilityWindows XP/Vista/7/8 and Mozilla Firefox, Google Chrome and                                                                        Internet Explorer
LINE is a new communication app.
Make phone calls from your PC to iPhones, Android, Windows, and Blackberry devices. All these with LINE is a new communication app which allows you to make FREE voice calls and send FREE messages whenever and wherever you are, 24 hours a day!
           

                                        HOW TO DOWNLOAD
                                                 CLICK HARE TO THIS LINK FREE DOWNLOAD      
                                                     







Read More..

Adobe Dreamweaver CS5 With Serial Key And Keygen Free Download

Adobe Dreamweaver  CS5 With Serial Key http://itstarz100.blogspot.com/
Adobe Dreamweaver  CS5 With Serial Key And Keygen Free Download Crack Patch Portable Serial number Licence Key Full Final Registered version Product key Activation Key Activator Code Adobe Dreamweaver is the Microsoft Word of web design applications: universally acknowledged as the market standard, but so expensive almost no one want to upgrade to the latest version. Does Dreamweaver CS5 have a feature set worthy of its price tag? We break it down in this review.

While other applications in Adobes Creative Suite 5 have seen some substantial improvements (Photoshop, Im looking at you), or even modest ones (Premiere, After Effects), Dreamweaver is curiously stagnant. The 64-bit upgrades the other applications have seen dont apply to Dreamweaver, which is still 32-bit (or at least reads as a 32-bit executable in Task Manager). Thats not a huge problem; while working with massive images and high-definition video will task a memory subsystem to the hilt, 64-bit computing just doesnt offer quite as much for HTML coders.
Adobe Dreamweaver  CS5
So whats left? Mostly just some refinements and integrations. Adobes own site is curiously spare about new features in Dreamweaver CS5, and in regular use I honestly havent noticed the difference moving from CS4 to CS5. Dreamweaver CS5 is supposed to make CSS and PHP coding easier and it integrates with many popular Content Management Systems (Wordpress, for example). None of that was wildly apparent.
Downloading links
Adobe Dreamweaver  CS5
Serial keys

Read More..

Free Crack Path and Serial IDM Internet Download Manager 605

IDM is an Download Manager can download any file and program . . . and I think its very Good Program. Because can Download More Faster (for low Internet Conection like me ) and Can continue download. . .( I like it)
But the program and application is not free, so many people use crack and something like this. . .

I have many Crack , License , Key gen Path and other to IDM  605. ....!

if you want to download, Click link Below . . . !

 ONLY FOR US, UK, AUSTRALIA AND CANADA DOWNLOAD.....!
  • download crack Idm 605

  • download Path Idm 605
FOR ALL COUTRY DOWNLOAD....!
  • download crack Idm 605

  • download Path Idm 605





Thanks to use the crack its free
always visit freekeycrack.blogspot.com
Read More..

Key Keygen and Crack Adobe Photoshop Cs5 Free


Adobe Photoshop CS5 Extended software is the ultimate solution for advanced digital imaging, delivering all the editing and compositing capabilities of Photoshop CS5 plus breakthrough tools that let you create and edit 3D and motion-based content.Keep pushing creative boundaries with world-class 2D and 3D design. Use powerful new selection, painting, and warping capabilities to create standout images. Get just the right look for each clients site. Easily select intricate image elements for placing in layout. Create 3D artwork for logos and buttons. Create and enhance 3D and motion-based content and prepare still images and text for all your projects. Work fast with cross-platform 64-bit support, and create stunning HDR images for video backdrops. Design cutting-edge looks for interactive web content and experiences. Create 3D artwork, warped graphics, and realistic painting effects for all your projects.
Whats new in this version:
  • Extraordinary painting effects
  • Content-Aware Fill
  • Complex selections made easy new
  • Puppet Warp
  • Superior HDR imaging
  • Efficient workflow
  • Better media management
  • 3D extrusions with Adobe Repousse
  • State-of-the-art raw image processing
  • Enhanced 3D realism and rich materials
  • Faster performance across platforms
  • Streamlined creative reviews
  • Improved 32-bit file support
if you want to download keygan Photoshop cs5 free download here...!
select download by your really country....!

    US, UK, Canada and Australia Downloads Only . . . !
     Other Country Downloads . . . ! ( All Country Downloads )




    Always Visit:www.Freekeycrack.blogspot.com
    Read More..

    Blog Archive

    Powered by Blogger.