SlideShare a Scribd company logo
- Problem: Design a simple ALU using VHDL capable of performing the operations listed on
the table on the left. - The ALU shall be capable of operating on 12-bit, two's complement binary
numbers and activate flags for overflow (O), carry (C), zero (Z), and sign (S) conditions. -
Operations shall be specified via a 4-bit opcode (OC) fed to the ALU along with the operands.
Operands shall be fed to the ALU in the form of 16-bit values in a sequence of one or two cycles,
producing results in the next cycle. - Results shall be in the form [status)[result], where [status] is
a 4-bit code in the form [OCZS] in the four most significant bits and a 12-bit result in the
remaining bits. - Two-operand functions: Require two input cycles. The first cycle feeds operand
A aligned in bits 11 down to 0. Bits 15 down to 12 will include a NOP opcode in the form 1111.
Operand B shall be fed in the same fashion as operand A, replacing the NOP bits with the
opcode of the requested operation.
- Specitying a NOP in the 2nd cycle shall produce an error result Your task is to design and
simulate this ALU with all flags set and an all ones result - One-operand functions: Operate only
on A with opcode - Implement your ALU using VHDL. Simulate its operation specified in the
first cycle instead of NOP. Entering a twousing a file-fed testbench. Verify that the ALU
produces operand opcode in the 1st cycle causes the operand to be correct results for all
supported operations, including the operated on itself. For example, specitying opcode 0011
(MUL) status flags being set correctly for each operation. in the 1 st cycle produces AA=A2 -
Your ALU shall be optimized for speed and perlorm each - Flags shall function as follows:
operation within a single clock cycle. The multiplication - Overliow (OF): Shall be set when the
result of an operation operation should be implemented using a combinational overtlows the
range of values that can be represented in the circuit or a pipeline, as appropriate. ALU output. -
Carry (CF): Shall be set when an operation generates a carry. - Ensure that the input and output
signals are properly out of the most significant bit position. synchronized with the rising edge of
the clock signal. - Zero (ZF): shall be set when the result of an operation is zero. - You should
provide a report with a brief description of your - Sign (SF): Shall be set when the result of an
operation is design, your VHDL code, the simulation results, and a brief negative. discussion of
any challenges or issues that you - Example: Adding A=4A6h to B=54Bh encountered during the
design process. - Cycle 0: F4A6h - The instructor will provide a file with 256 random test -
Cycle 1:054Bh vectors and operations to assess the functionality of your The next cycle (Cycle
2) shall produce the result 19F1 design.

More Related Content

Similar to - Problem Design a simple ALU using VHDL capable of performing the o.pdf

Chapter5 dek3133
Chapter5 dek3133Chapter5 dek3133
Chapter5 dek3133
Hattori Sidek
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
notagain0712
 
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docxCSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
annettsparrow
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
Techglyphs
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
Piyush Rochwani
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
Neelam Kapoor
 
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdfChapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
GABRIELFRANCISCESARI
 
Components logic gates
Components   logic gatesComponents   logic gates
Components logic gates
sld1950
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
Vivek Kumar Sinha
 
Uc 2(vii)
Uc 2(vii)Uc 2(vii)
Uc 2(vii)
Ankita Jaiswal
 
101495802 ee2258-lm-1
101495802 ee2258-lm-1101495802 ee2258-lm-1
101495802 ee2258-lm-1
homeworkping7
 
computer architecture notes
computer architecture notes computer architecture notes
computer architecture notes
tatendakapuya
 
fyp....fyp.....fyp.....
fyp....fyp.....fyp.....fyp....fyp.....fyp.....
fyp....fyp.....fyp.....
VisualBee.com
 
Sequential Logic
Sequential LogicSequential Logic
Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixPro
bkhairullah
 
Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
Naohiko Shimizu
 
7-Segment Display
7-Segment Display7-Segment Display
7-Segment Display
May Ann Mas
 
unit 3.pptx
unit 3.pptxunit 3.pptx
unit 3.pptx
ragu nath
 
Ec1201
Ec1201Ec1201
8051.pdf
8051.pdf8051.pdf

Similar to - Problem Design a simple ALU using VHDL capable of performing the o.pdf (20)

Chapter5 dek3133
Chapter5 dek3133Chapter5 dek3133
Chapter5 dek3133
 
8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt8051 MMD Chapter 1.ppt
8051 MMD Chapter 1.ppt
 
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docxCSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
CSCMPE 3430, sp16 – Assignment 5 (30 points total) Due S.docx
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdfChapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
Chapter 11 - Laboratory Experiments with Standard ICs and FPGAs.pdf
 
Components logic gates
Components   logic gatesComponents   logic gates
Components logic gates
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
Uc 2(vii)
Uc 2(vii)Uc 2(vii)
Uc 2(vii)
 
101495802 ee2258-lm-1
101495802 ee2258-lm-1101495802 ee2258-lm-1
101495802 ee2258-lm-1
 
computer architecture notes
computer architecture notes computer architecture notes
computer architecture notes
 
fyp....fyp.....fyp.....
fyp....fyp.....fyp.....fyp....fyp.....fyp.....
fyp....fyp.....fyp.....
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixPro
 
Computer design and architecture with simple cpu
Computer design and architecture with simple cpuComputer design and architecture with simple cpu
Computer design and architecture with simple cpu
 
7-Segment Display
7-Segment Display7-Segment Display
7-Segment Display
 
unit 3.pptx
unit 3.pptxunit 3.pptx
unit 3.pptx
 
Ec1201
Ec1201Ec1201
Ec1201
 
8051.pdf
8051.pdf8051.pdf
8051.pdf
 

More from alliedelectronics

(2 pts) A private high school is interested in predicting which stude.pdf
 (2 pts) A private high school is interested in predicting which stude.pdf (2 pts) A private high school is interested in predicting which stude.pdf
(2 pts) A private high school is interested in predicting which stude.pdf
alliedelectronics
 
- Your answer is incorrect. Try again. The following table lists the .pdf
 - Your answer is incorrect. Try again. The following table lists the .pdf - Your answer is incorrect. Try again. The following table lists the .pdf
- Your answer is incorrect. Try again. The following table lists the .pdf
alliedelectronics
 
- We know that there are downsides of having the Internet backbone op.pdf
 - We know that there are downsides of having the Internet backbone op.pdf - We know that there are downsides of having the Internet backbone op.pdf
- We know that there are downsides of having the Internet backbone op.pdf
alliedelectronics
 
- Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
 - Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf - Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
- Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
alliedelectronics
 
- Explain how rainbows form (white light from the Sun spreading into .pdf
 - Explain how rainbows form (white light from the Sun spreading into .pdf - Explain how rainbows form (white light from the Sun spreading into .pdf
- Explain how rainbows form (white light from the Sun spreading into .pdf
alliedelectronics
 
- Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
 - Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf - Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
- Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
alliedelectronics
 
- Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
 - Explain how senses impact behavior. Demonstrate your knowledge of h.pdf - Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
- Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
alliedelectronics
 
+COMPUTE FOR YOUR BASIC EARNING PER SHARE BASIC EARNINGS PER SHARE .pdf
 +COMPUTE FOR YOUR BASIC EARNING PER SHARE  BASIC EARNINGS PER SHARE .pdf +COMPUTE FOR YOUR BASIC EARNING PER SHARE  BASIC EARNINGS PER SHARE .pdf
+COMPUTE FOR YOUR BASIC EARNING PER SHARE BASIC EARNINGS PER SHARE .pdf
alliedelectronics
 
(Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
 (Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf (Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
(Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
alliedelectronics
 
(10 points) The home states of a certain group of peopi are distribut.pdf
 (10 points) The home states of a certain group of peopi are distribut.pdf (10 points) The home states of a certain group of peopi are distribut.pdf
(10 points) The home states of a certain group of peopi are distribut.pdf
alliedelectronics
 
(Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
 (Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf (Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
(Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
alliedelectronics
 
(PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
 (PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf (PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
(PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
alliedelectronics
 
(Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
 (Mendelian Genetics) Can independent assortment be demonstrated in a .pdf (Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
(Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
alliedelectronics
 
(Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
 (Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf (Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
(Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
alliedelectronics
 
(Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
 (Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf (Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
(Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
alliedelectronics
 
(g) From working the speed of sound problems above you may see a r.pdf
 (g) From working the speed of sound problems above you may see a r.pdf (g) From working the speed of sound problems above you may see a r.pdf
(g) From working the speed of sound problems above you may see a r.pdf
alliedelectronics
 
(Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
 (Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf (Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
(Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
alliedelectronics
 
(5 points) The average American woman has her first child at the age .pdf
 (5 points) The average American woman has her first child at the age .pdf (5 points) The average American woman has her first child at the age .pdf
(5 points) The average American woman has her first child at the age .pdf
alliedelectronics
 
(b) Suppose we have two countries, England and Spain, which each have.pdf
 (b) Suppose we have two countries, England and Spain, which each have.pdf (b) Suppose we have two countries, England and Spain, which each have.pdf
(b) Suppose we have two countries, England and Spain, which each have.pdf
alliedelectronics
 
(b) Consider a set of processes with the CPU-burst and arrival times .pdf
 (b) Consider a set of processes with the CPU-burst and arrival times .pdf (b) Consider a set of processes with the CPU-burst and arrival times .pdf
(b) Consider a set of processes with the CPU-burst and arrival times .pdf
alliedelectronics
 

More from alliedelectronics (20)

(2 pts) A private high school is interested in predicting which stude.pdf
 (2 pts) A private high school is interested in predicting which stude.pdf (2 pts) A private high school is interested in predicting which stude.pdf
(2 pts) A private high school is interested in predicting which stude.pdf
 
- Your answer is incorrect. Try again. The following table lists the .pdf
 - Your answer is incorrect. Try again. The following table lists the .pdf - Your answer is incorrect. Try again. The following table lists the .pdf
- Your answer is incorrect. Try again. The following table lists the .pdf
 
- We know that there are downsides of having the Internet backbone op.pdf
 - We know that there are downsides of having the Internet backbone op.pdf - We know that there are downsides of having the Internet backbone op.pdf
- We know that there are downsides of having the Internet backbone op.pdf
 
- Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
 - Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf - Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
- Key Terms 13rine the follimiaus terank 1. H Ineneostasis 2. Hormon.pdf
 
- Explain how rainbows form (white light from the Sun spreading into .pdf
 - Explain how rainbows form (white light from the Sun spreading into .pdf - Explain how rainbows form (white light from the Sun spreading into .pdf
- Explain how rainbows form (white light from the Sun spreading into .pdf
 
- Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
 - Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf - Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
- Dentifying Syrphid Fly Larvae - Ground Beetle Adult Attacking - Gro.pdf
 
- Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
 - Explain how senses impact behavior. Demonstrate your knowledge of h.pdf - Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
- Explain how senses impact behavior. Demonstrate your knowledge of h.pdf
 
+COMPUTE FOR YOUR BASIC EARNING PER SHARE BASIC EARNINGS PER SHARE .pdf
 +COMPUTE FOR YOUR BASIC EARNING PER SHARE  BASIC EARNINGS PER SHARE .pdf +COMPUTE FOR YOUR BASIC EARNING PER SHARE  BASIC EARNINGS PER SHARE .pdf
+COMPUTE FOR YOUR BASIC EARNING PER SHARE BASIC EARNINGS PER SHARE .pdf
 
(Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
 (Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf (Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
(Thpe inlegers or decinas ] The propotion of human pregnancies hat la.pdf
 
(10 points) The home states of a certain group of peopi are distribut.pdf
 (10 points) The home states of a certain group of peopi are distribut.pdf (10 points) The home states of a certain group of peopi are distribut.pdf
(10 points) The home states of a certain group of peopi are distribut.pdf
 
(Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
 (Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf (Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
(Related to Checkpoint 9.2) (Yield to maturity) The market price is $.pdf
 
(PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
 (PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf (PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
(PopulationQuantitative Genetics) A (dominant) and a (recessive) are.pdf
 
(Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
 (Mendelian Genetics) Can independent assortment be demonstrated in a .pdf (Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
(Mendelian Genetics) Can independent assortment be demonstrated in a .pdf
 
(Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
 (Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf (Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
(Measuring growth) Thomas, Inc.s rotum on equity is 14 percont and m.pdf
 
(Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
 (Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf (Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
(Measuring growth) Thomas, Inc.s return on equity is 16 percent and .pdf
 
(g) From working the speed of sound problems above you may see a r.pdf
 (g) From working the speed of sound problems above you may see a r.pdf (g) From working the speed of sound problems above you may see a r.pdf
(g) From working the speed of sound problems above you may see a r.pdf
 
(Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
 (Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf (Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
(Figure Fiscal Policy II) Use Figure Fiscal Policy II. Suppose that.pdf
 
(5 points) The average American woman has her first child at the age .pdf
 (5 points) The average American woman has her first child at the age .pdf (5 points) The average American woman has her first child at the age .pdf
(5 points) The average American woman has her first child at the age .pdf
 
(b) Suppose we have two countries, England and Spain, which each have.pdf
 (b) Suppose we have two countries, England and Spain, which each have.pdf (b) Suppose we have two countries, England and Spain, which each have.pdf
(b) Suppose we have two countries, England and Spain, which each have.pdf
 
(b) Consider a set of processes with the CPU-burst and arrival times .pdf
 (b) Consider a set of processes with the CPU-burst and arrival times .pdf (b) Consider a set of processes with the CPU-burst and arrival times .pdf
(b) Consider a set of processes with the CPU-burst and arrival times .pdf
 

Recently uploaded

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 

Recently uploaded (20)

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 

- Problem Design a simple ALU using VHDL capable of performing the o.pdf

  • 1. - Problem: Design a simple ALU using VHDL capable of performing the operations listed on the table on the left. - The ALU shall be capable of operating on 12-bit, two's complement binary numbers and activate flags for overflow (O), carry (C), zero (Z), and sign (S) conditions. - Operations shall be specified via a 4-bit opcode (OC) fed to the ALU along with the operands. Operands shall be fed to the ALU in the form of 16-bit values in a sequence of one or two cycles, producing results in the next cycle. - Results shall be in the form [status)[result], where [status] is a 4-bit code in the form [OCZS] in the four most significant bits and a 12-bit result in the remaining bits. - Two-operand functions: Require two input cycles. The first cycle feeds operand A aligned in bits 11 down to 0. Bits 15 down to 12 will include a NOP opcode in the form 1111. Operand B shall be fed in the same fashion as operand A, replacing the NOP bits with the opcode of the requested operation. - Specitying a NOP in the 2nd cycle shall produce an error result Your task is to design and simulate this ALU with all flags set and an all ones result - One-operand functions: Operate only on A with opcode - Implement your ALU using VHDL. Simulate its operation specified in the first cycle instead of NOP. Entering a twousing a file-fed testbench. Verify that the ALU produces operand opcode in the 1st cycle causes the operand to be correct results for all supported operations, including the operated on itself. For example, specitying opcode 0011 (MUL) status flags being set correctly for each operation. in the 1 st cycle produces AA=A2 - Your ALU shall be optimized for speed and perlorm each - Flags shall function as follows: operation within a single clock cycle. The multiplication - Overliow (OF): Shall be set when the result of an operation operation should be implemented using a combinational overtlows the range of values that can be represented in the circuit or a pipeline, as appropriate. ALU output. - Carry (CF): Shall be set when an operation generates a carry. - Ensure that the input and output signals are properly out of the most significant bit position. synchronized with the rising edge of the clock signal. - Zero (ZF): shall be set when the result of an operation is zero. - You should provide a report with a brief description of your - Sign (SF): Shall be set when the result of an operation is design, your VHDL code, the simulation results, and a brief negative. discussion of any challenges or issues that you - Example: Adding A=4A6h to B=54Bh encountered during the design process. - Cycle 0: F4A6h - The instructor will provide a file with 256 random test - Cycle 1:054Bh vectors and operations to assess the functionality of your The next cycle (Cycle 2) shall produce the result 19F1 design.