Monday, 15 July 2013

Design of Binary to Excess3 Code Converter using with-select Concurrent Statement (VHDL Code).

Design of Binary to Excess3 Code Converter using with-select statement (Data Flow Modeling Style)-


Output Waveform : Binary To Excess3 Code Converter


VHDL Code-

-------------------------------------------------------------------------------
--
-- Title       : Binary_to_Excess3
-- Design      : vhdl_test
-- Author      : Naresh Singh Dobal
-- Company     : nsd
--
-------------------------------------------------------------------------------
--
-- File        : Binary to Excess3 using with-select.vhd


library IEEE;
use IEEE.STD_LOGIC_1164.all;

entity Binary_to_Excess3 is
     port(
         din : in STD_LOGIC_VECTOR(3 downto 0);
         dout : out STD_LOGIC_VECTOR(3 downto 0)
         );
end Binary_to_Excess3;

architecture Binary_to_excess3_arc of Binary_to_Excess3 is
begin

    with din select
    dout <= "0011" when "0000",
            "0100" when "0001",
            "0101" when "0010",
            "0110" when "0011",
            "0111" when "0100",
            "1000" when "0101",
            "1001" when "0110",
            "1010" when "0111",
            "1011" when "1000",
            "1100" when "1001",
            "ZZZZ" when others;

end Binary_to_excess3_arc;

3 comments :

Harsh Kumar said...

this method is which type of modelling in VHDL

EduDrive Services said...

Work from Home Job as a Subject Expert (SE) with minimum earnings of INR 35000/- to 40000/- (525$ - 625$) per month
We are recruiting B. Tech. and M. Tech. graduates from Electrical Engineering, Electronics Engineering with the knowledge in subjects Electromagnetic Field Theory, Control Systems, Signals and Systems with MATLAB, Digital Signal Processing with MATLAB, Microprocessors and Microcontrollers, Analog and Digital Communication, Antenna & Microwave.
If you want to be one of our expert then email us your detailed CV with your expertise subjects from Electrical and Electronics Engineering at edudrive.services@gmail.com.
https://edudriveservices.wordpress.com/

Anonymous said...

@harsh_kumar The modelling followed by the above programme is dataflow.

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes