SlideShare a Scribd company logo
1 of 1
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;



entity fa_str is
Port ( a,b,cin : in STD_LOGIC;
s,cout : out STD_LOGIC);
end fa_str;

architecture fa_struct of fa_str is
component ha
port (a,b:in std_logic;
s,c: out std_logic);
end component;
component or21
port (a,b: in std_logic;
y: out std_logic);
end component;

signal t1,t2,t3 : std_logic;



begin

h1: ha port map (a,b,t2,t1);
h2: ha port map (t2,cin,s,t3);
h3: or21 port map (t1,t3,cout);
end fa_struct;

More Related Content

What's hot (20)

Structural modelling
Structural modellingStructural modelling
Structural modelling
 
Controlling Motors for Robot
Controlling Motors for RobotControlling Motors for Robot
Controlling Motors for Robot
 
Vhd lhigh2003
Vhd lhigh2003Vhd lhigh2003
Vhd lhigh2003
 
Codigo fuente
Codigo fuenteCodigo fuente
Codigo fuente
 
Programs of VHDL
Programs of VHDLPrograms of VHDL
Programs of VHDL
 
Keypad program
Keypad programKeypad program
Keypad program
 
LED Blinking logic on LPC1768
LED Blinking logic on LPC1768LED Blinking logic on LPC1768
LED Blinking logic on LPC1768
 
VHDL Programs
VHDL ProgramsVHDL Programs
VHDL Programs
 
4x4
4x44x4
4x4
 
Compteur ARDUINO
Compteur ARDUINOCompteur ARDUINO
Compteur ARDUINO
 
Lec14-CS110 Computational Engineering
Lec14-CS110 Computational EngineeringLec14-CS110 Computational Engineering
Lec14-CS110 Computational Engineering
 
VERILOG CODE FOR Adder
VERILOG CODE FOR AdderVERILOG CODE FOR Adder
VERILOG CODE FOR Adder
 
Vcs15
Vcs15Vcs15
Vcs15
 
3D-DRESD Lorenzo Pavesi
3D-DRESD Lorenzo Pavesi3D-DRESD Lorenzo Pavesi
3D-DRESD Lorenzo Pavesi
 
8051 -5
8051 -58051 -5
8051 -5
 
Practical file
Practical filePractical file
Practical file
 
print even or odd number in c
print even or odd number in cprint even or odd number in c
print even or odd number in c
 
INTEL 8086 MP Architecture
INTEL 8086 MP ArchitectureINTEL 8086 MP Architecture
INTEL 8086 MP Architecture
 
Computer Architecture and Organization lab with matlab
Computer Architecture and Organization lab with matlabComputer Architecture and Organization lab with matlab
Computer Architecture and Organization lab with matlab
 
Digital System Design Lab Report - VHDL ECE
Digital System Design Lab Report - VHDL ECEDigital System Design Lab Report - VHDL ECE
Digital System Design Lab Report - VHDL ECE
 

Viewers also liked

Bemberg presentación
Bemberg presentaciónBemberg presentación
Bemberg presentaciónLydia Jackson
 
David steven rivas grisales uniminuto
David steven rivas grisales uniminutoDavid steven rivas grisales uniminuto
David steven rivas grisales uniminutoDavid Steven Rivas
 
Apresentação 4T09
Apresentação 4T09Apresentação 4T09
Apresentação 4T09RiRossi
 
ValueScope Career Path
ValueScope Career PathValueScope Career Path
ValueScope Career Pathvs-marketing
 
-Mi Religión- translation final draft (1)
-Mi Religión- translation final draft (1)-Mi Religión- translation final draft (1)
-Mi Religión- translation final draft (1)Lydia Jackson
 
Crexendo sales ppt slides for linked in 090910
Crexendo sales ppt slides for linked in 090910Crexendo sales ppt slides for linked in 090910
Crexendo sales ppt slides for linked in 090910drdowning
 
Career Path Tools in Federal Agencies
Career Path Tools in Federal AgenciesCareer Path Tools in Federal Agencies
Career Path Tools in Federal AgenciesLance Anderson
 
2009 APIMEC Presentation
2009 APIMEC Presentation2009 APIMEC Presentation
2009 APIMEC PresentationRiRossi
 
Apresentação the flat macaé clientes (1)
Apresentação the flat macaé clientes (1)Apresentação the flat macaé clientes (1)
Apresentação the flat macaé clientes (1)Mad Mary
 
EDUC 190 Computers in Education Course Syllabus
EDUC 190 Computers in Education Course SyllabusEDUC 190 Computers in Education Course Syllabus
EDUC 190 Computers in Education Course SyllabusJello Macaraeg
 
Monitoreo Base de Datos
Monitoreo Base de DatosMonitoreo Base de Datos
Monitoreo Base de Datoscgvera
 
Tipos de usuarios de los sistemas de información imagen
Tipos de usuarios de los sistemas de información imagenTipos de usuarios de los sistemas de información imagen
Tipos de usuarios de los sistemas de información imagenPedrooac
 

Viewers also liked (17)

Bemberg presentación
Bemberg presentaciónBemberg presentación
Bemberg presentación
 
David steven rivas grisales uniminuto
David steven rivas grisales uniminutoDavid steven rivas grisales uniminuto
David steven rivas grisales uniminuto
 
Apresentação 4T09
Apresentação 4T09Apresentação 4T09
Apresentação 4T09
 
ValueScope Career Path
ValueScope Career PathValueScope Career Path
ValueScope Career Path
 
Rg 283
Rg 283Rg 283
Rg 283
 
-Mi Religión- translation final draft (1)
-Mi Religión- translation final draft (1)-Mi Religión- translation final draft (1)
-Mi Religión- translation final draft (1)
 
Crexendo sales ppt slides for linked in 090910
Crexendo sales ppt slides for linked in 090910Crexendo sales ppt slides for linked in 090910
Crexendo sales ppt slides for linked in 090910
 
Spazio cosenza
Spazio cosenzaSpazio cosenza
Spazio cosenza
 
Digital certificate
Digital certificateDigital certificate
Digital certificate
 
Career Path Tools in Federal Agencies
Career Path Tools in Federal AgenciesCareer Path Tools in Federal Agencies
Career Path Tools in Federal Agencies
 
2009 APIMEC Presentation
2009 APIMEC Presentation2009 APIMEC Presentation
2009 APIMEC Presentation
 
Presentation3HFB
Presentation3HFBPresentation3HFB
Presentation3HFB
 
Section View
Section ViewSection View
Section View
 
Apresentação the flat macaé clientes (1)
Apresentação the flat macaé clientes (1)Apresentação the flat macaé clientes (1)
Apresentação the flat macaé clientes (1)
 
EDUC 190 Computers in Education Course Syllabus
EDUC 190 Computers in Education Course SyllabusEDUC 190 Computers in Education Course Syllabus
EDUC 190 Computers in Education Course Syllabus
 
Monitoreo Base de Datos
Monitoreo Base de DatosMonitoreo Base de Datos
Monitoreo Base de Datos
 
Tipos de usuarios de los sistemas de información imagen
Tipos de usuarios de los sistemas de información imagenTipos de usuarios de los sistemas de información imagen
Tipos de usuarios de los sistemas de información imagen
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

Vhdl

  • 1. library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; entity fa_str is Port ( a,b,cin : in STD_LOGIC; s,cout : out STD_LOGIC); end fa_str; architecture fa_struct of fa_str is component ha port (a,b:in std_logic; s,c: out std_logic); end component; component or21 port (a,b: in std_logic; y: out std_logic); end component; signal t1,t2,t3 : std_logic; begin h1: ha port map (a,b,t2,t1); h2: ha port map (t2,cin,s,t3); h3: or21 port map (t1,t3,cout); end fa_struct;