Simple Microprocessor – Design Exercise

INTRODUCTION

1.1 Aims
(i) To gain familiarity with the rapid prototyping systems available to digital designers today using Field Programmable Gate Arrays (FPGAs).
(ii)To gain an in depth knowledge of the internal details of a simple microprocessor at the logic gate level.

1.2 Objectives
(i) To design and simulate a four bit microprocessor for a specific instruction set. The Xilinx Electronic Design Automation (EDA) tools will allow you to enter your design symbolically as logic gates and then simulate its behaviour to verify that it will operate as you expected.
(ii)To implement the design on a Xilinx FPGA and test it using the DIGILENT demonstration board supplied and examine its performance.

ASSESSMENT IS BY INDIVIDUAL WRITTEN REPORT AND PRESENTATION.
As in other projects, your performance in the laboratory (including attendance) will be taken into account.
A library guide can be found at:
http://www.xilinx.com/itp/xilinx10/books/docs/spartan3e_scm/spartan3e_scm.pdf

THE PROJECT
You are one of a team of freelance consultants that specialise in ASIC design. Your company, Homer’s Advanced RISC Machines (HARM) have been approached to tender for a contract to design a new microprocessor chip intended primarily for video applications.
The customer requires a full custom design and expects to fund a team of twenty people for one year. To convince them that your team can achieve this target you have decided to provide them with a reduced specification processor. Two people will design this processor over a period of six weeks. To achieve this target you have decided to implement the processor on a Field Programmable Gate Array (FPGA) and demonstrate it, with performance
details, in the seventh week.
The EDA package chosen is produced by Xilinx and is called ISE. This allows you to enter your design symbolically (schematic capture) and to simulate, to verify design correctness, before going any further. Full timing simulations will provide you with information that will let you decide how fast your design will operate.

SPECIFICATION
The architectural details of the processor are left to you but for the required application you have been asked to provide a solution that uses minimum area. It does not matter how long the processor takes to run a program, but the number of gates used should be a minimum.
The processor must be able to implement the instructions detailed in Appendix A.
The processor must be able to run the test program given in Appendix B.
You must demonstrate a program of your own choice running on the processor.

DESIGN METHODOLOGY
4.1 Top-Down Design
Top-down design is the process of splitting the system specification (the problem) into conceptually simpler sub-problems. Some of the benefits of top-down design are: improved control of the design process, reduced design time by designing in parallel, reduced effort by eliminating poor solutions sooner.
4.2 Synchronous Design
Your design should contain a single system clock. This should be the only clock that connects to the flip-flops in your design. Sequencing is achieved by using flip-flops with an enable line. Xilinx FPGAs have a low skew clock network predefined.

COMPUTER BASICS
A computer is a general purpose, programmable digital system. It can execute a list of instructions, called a program, to perform a diverse range of tasks. A computer consists of a Central Processing Unit (CPU), memory, input and output. A microprocessor may be used as
the CPU of the computer.
The arrangement of the digital components used to implement the microprocessor is called the computer architecture. This is usually specified by its appearance to a programmer at the lowest level. This description is called its Instruction Set Architecture (ISA). The instructions that you are required to implement are given in Appendix A. The architecture for a simple microprocessor can be split into two parts. The DATAPATH and CONTROL

MICROPROCESSOR DESIGN
A microprocessor executes a collection of instructions (program) that tell the processor what to do. The instruction set defines the data path (ALU, SHIFTER, REGISTERS etc.). The controller tells the data path what to do and when to do it. Defining the controller sets the sequencing rules. With four bits in the operation code up to 16 operations may be specified.

CENTRAL PROCESSING UNIT (CPU)
The CPU consists of registers, an Arithmetic Logic Unit (ALU) and a control unit. The ALU carries out the arithmetic (such as ADD, SUBTRACT) and logic (such as AND, OR) operations. Typically the control unit must interpret and sequence the instructions. This is achieved by reading an instruction, retrieving the required data and performing the desired operation by activating the ALU.

An ALU is a combinational circuit, the design of which is usually split into three parts.

1. Design of the arithmetic unit (built around full adders)

2. Design of the logic unit (using multiplexers)

3. Combination of 1 & 2 using a multiplexer to form the ALU. You are advised to use the library component adsu8 for your arithmetic operations and sr8rled for your shifter. Information on the function of these components can be found in the online Xilinx Library manual. http://www.xilinx.com/itp/xilinx10/books/docs/spartan3_scm/spartan3_scm.pdf

7.1 Instruction Set An instruction manipulates the stored data, and a sequence of instructions constitutes a program. You will need to choose a set of instructions that will be able to carry out the task you have chosen.

7.2 Registers The CPU contains a number of special purpose registers. For example a Program Counter (PC) holds the address of an instruction, Data Registers hold data and the Instruction Register (IR) holds instructions to be decoded by the control logic.

8. Basic Computer Instruction Cycle An instruction cycle consists of fetching an instruction from memory and then executing it. In this simple processor, it will consist of the following steps.

  1. Fetch the instruction from memory into the instruction register. (T0)
  2. Decode the instruction. (T1)
  3. Execute the instruction. (T2)
  4. Update program counter. (T3)

This process is repeated for each instruction. Timing signals are generated to sequence the events in the fetch/execute cycle. For example, you may choose to have four timing slots (T0,T1,T2,T3) available for each instruction cycle, under control of the system clock. Only one timing signal is active at a given time. A ring counter is useful to implement this.

An op code whose address is in the PC is read from memory into the IR. The PC is then incremented to produce the next address. This can be written in register transfer language as:

T0 : IR <= M[PC]

T3 : PC <= PC + 1

Take for example an instruction to load the B register. Let this instruction have a mnemonic LD B to represent the four bit instruction I3, I2, I1, I0. First, assign a four bit op code to this instruction. Let’s use 1010 in this example. We must generate a control signal, say C1, that will enable the B register in that instruction cycle. Also, let’s have the instruction execution in timing slot T2. The op code must be decoded and combined with T2 to produce the desired control signal C1. This is shown in figure 8.2. 5

You must choose a mnemonic for each of your instructions. Each instruction is then given a unique four bit code. The instruction decoder must use this machine code to generate the required control signals at the required time. A 4-to-16 line decoder is useful for this. Finally, you can write a small assembly language program, convert it (by hand) to machine code, store it in a ROM and run your program!

Order Now
No Fields Found.
Universal Assignment (September 25, 2022) Simple Microprocessor – Design Exercise. Retrieved from https://universalassignment.com/simple-microprocessor-design-exercise/.
"Simple Microprocessor – Design Exercise." Universal Assignment - September 25, 2022, https://universalassignment.com/simple-microprocessor-design-exercise/
Universal Assignment June 18, 2022 Simple Microprocessor – Design Exercise., viewed September 25, 2022,<https://universalassignment.com/simple-microprocessor-design-exercise/>
Universal Assignment - Simple Microprocessor – Design Exercise. [Internet]. [Accessed September 25, 2022]. Available from: https://universalassignment.com/simple-microprocessor-design-exercise/
"Simple Microprocessor – Design Exercise." Universal Assignment - Accessed September 25, 2022. https://universalassignment.com/simple-microprocessor-design-exercise/
"Simple Microprocessor – Design Exercise." Universal Assignment [Online]. Available: https://universalassignment.com/simple-microprocessor-design-exercise/. [Accessed: September 25, 2022]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Get 45%* OFF on Assignment Help

Popular Assignments

Find the Greatest Ancient History Assignment Help Instantly

Ancient History Assignment Help Benefits Student Performance! Ancient History assignment help uplifts student understanding and interest in the area. Ancient history can often become confusing for students because it involves understanding events that are hardly relatable to us in the present generation! Universal Assignment is the perfect platform for the

Read More »

Australia’s Best Aboriginal Studies Assignment Help Online

Upgrade your knowledge with the best Experts:  Quick Aboriginal Studies Assignment Help The world’s most rich research on Aboriginal studies takes place at the top educational institutions in Australia. This field involves rich socio-historical research on the Aboriginal indigenous community of Australia. Aboriginal Studies assignment help online can help students

Read More »

Physical Education Assignment Help: Expert Guidance to Boost your Career

Order Physical Education Assignment Help Instantly! Are you a Physical Education student, struggling to submit assignments on time? Universal Assignment Help Service is the perfect place for all your solutions. With expert guidance available from the best professionals, all your assignments will be top-quality. Physical Education involves a strict and

Read More »

Assignment Help in South Africa

5 Ways to Make Your Assignments Error-Free Assignments are a crucial part of every student’s life as they help them to enhance knowledge about the subjects and also improve academic grades, writing skills, time management skills, research skills, etc. Usually, due to internships, part-time jobs, and other co-curricular activities, students

Read More »

Instant Engineering Assignment Help in Ukraine

Engineering is a vast field of study that consists of several branches. While studying various branches of engineering in the best Ukraine universities, students are required to compose several types of assignments to improve their academic scores. There are many different reasons due to why students seek engineering assignment help

Read More »

[SOLVED] AHS205: The Australian Healthcare System within a Global Context

AHS205: The Australian Healthcare System within a Global Context Part A 1. Healthcare professionals include registered nurses, physicians, dentists, physician assistants, and veterinarians. Registered nurse: The key function which the nurses play in treating the patient with depression include monitoring the clinical progress, improving the compliances of treatment, assessment for

Read More »

[SOLVED] Assignment: Pressure ulcer in ICU in UK

1- Critique different types of evidence ( the area I’ve chosen is pressure ulcer in ICU)2- Analyse what constitutes Best Evidence for practice in the UK3- Critically reflect on the BENEFITS and LIMITATIONS of evidence based practice (EBP) within nursing practice. Using Randomised Controlled Trial (RCT)Student will critique a qualitative

Read More »

[SOLVED] Assignment The lasting negative impact of Colonialism within contemporary Indian Economy and Industry

The lasting negative impact of Colonialism within contemporary Indian Economy and Industry Famine in India and colonialism During the period of colonialism, root causes of famine within India include government policies, population imbalance, crop failure, inflation and war. Increased mortality, epidemic, starvation and regional malnutrition follow and accompany famine within

Read More »

[SOLVED] OSQs: The Psychology of Competition: A Social Comparison Perspective

The Psychology of Competition: A Social Comparison Perspective OSQs Outlines Competitiveness and Social Comparison – The passage is all about reducing differences in the society and developing factors to do social comparison – Situational and individual factors have been highlighted to increase competitiveness The framework highlighting situational and individual factors

Read More »

 [SOLVED] Letter of advice 5126LAW: ASSESSMENT ITEM 3

Law Letter of Advice 25 January 2022 Ms. Amelia Hart 4 Cornet Street, Yeronga Re: Domestic Violence and parenting matter- Hart & Hart Dear Amelia, We do confirm that we have been asked to provide you with advice regarding the parenting and domestic violence matter during the appointment on 24

Read More »

5126LAW: ASSESSMENT ITEM 3  Letter of Advice Problem

5126LAW: ASSESSMENT ITEM 3  Information about this assignment:  This assessment piece requires you to prepare:  1. An initial letter of advice;  2. A draft Application for a Protection Order (Form DV1); and  3. Draft Written Submissions.  Initial letter of advice  Ensure that the initial letter of advice is addressed to

Read More »

HC1021 INTERPERSONAL AND E-COMMUNICATION Assignment T3 [SOLVED]

Student Number: (enter on the line below) Student Name: (enter on the line below) HC1021INTERPERSONAL AND E-COMMUniCATION final assessmeNt Trimester 3, 2021 Assessment Weight: 50 total marks Instructions: All questions must be answered by using the answer boxes provided in this paper. Completed answers must be submitted to Blackboard by

Read More »

COMM1001 Communication in Organisations

Assessment 4 – Written report (1200 Words) 50% Due Week 14 – By 5pm Friday Sept 27th Your full recorded interview from Assessment 3, becomes the basis of your report for Assessment 4 Drawing on the content from your interview and the academic literature related to the three communication topics

Read More »

MBA703 – The Economic Environment – Trimester 2 2022 Assessment Task 2

DUE DATE AND TIME:                        Friday, 23 September 2022, by 8:00pm (AEST) PERCENTAGE OF FINAL GRADE:                                                            40% WORD COUNT:                                   2000 words Description This assignment is based on an article published in the AFR titled “Australia must have a new macroeconomic framework”. Please read the article and answer the following questions (using

Read More »

IT510 Systems Analysis and Design Module Preview

This guide contains a preview of the materials for all module courses in this series: IT510M1: Systems Planning, Analysis, and Logic Processes IT510M2: Data Organization Process IT510M3: System Physical Attributes IT510M4: Written Proposals for System Analysis and Design Be sure to follow the detailed directions found within the actual module

Read More »

BULAW5915 Assignment

Information about the Assignment:   Due date   Sunday, 23:59, 18 September 2022 (Week 9) How to submit   The assignment must be submitted in word format through the submission link on Moodle.   Topics covered by Assignment Topic 4   Maximum word limit   2500 words   Total marks

Read More »

Biomedical Physiology and Engineering assignment

Stent grafts for coronary arteries were first used in the mid 1980’s.  I want you to review the developments in stent graft technology since that time and discuss the natural response of the body to angioplasty and stent placement and how biomedical engineers have responded to the adverse events encountered

Read More »

NRSG374 Assessment Task 1, 2022

ASSESSMENT TASK 1 Professional Development Resource: Narrated PowerPoint Due date: Thursday 15th September 2022 at 4pm Weighting: 50% Length and/or format: Narrated PowerPoint equivalent to 1500 Words +/- 10%8-10 Slides Including Title Page and ReferencesDiagrams and images can be used please include references as per APA7No longer than 8 mins

Read More »

2110AFE – PROBLEM-SOLVING ASSIGNMENT (T 2, 2022)

WEIGHT:          This assessment is worth 30% of the total marks for this course. WORD LIMIT: Your answer to Question 1 (Hypothetical ILAC Question) must be no longer than 1000 words. Your answer to Question 2 & 3 must be no longer than 1000 words. INSTRUCTIONS TO STUDENTS: Students may refer

Read More »

HRM 4801 Managing and Developing People

The following table provides an example of the overview of the assessment requirements. Assessment 1 : Individual reflexive review The following table provides an overview of the assessment requirements. Assignment brief : Individual reflexive review Module code HRM 4801 Module title Managing and Developing People Submission date, time 01.12.2020 :

Read More »

BUS4023 BUSINESS ETHICS

Course/ Module: BUSINESS ETHICS SEGI Course Code: BUS4023 UCLAN Module Code: (if applicable) Lecturer name: William Tan Coursework Submission Date:                         Individual Assessment 1: Week 7 Individual Assessment 2: Week 9 ASSESSMENT METHODS Number of Assessments Form of Assessment     % weighting Size of Assessment/Duration/ Word count Category of

Read More »

Human Subjects Case Studies

Case Study 1 – Research involving adults with terminal illness Dr. Abbott, an oncologist at a major teaching hospital, has been asked to put forward a number of her patients for participation in a clinical trial of a new cancer treatment. Mr. Day is a terminally ill patient with a

Read More »

BA Stage 3 Level 7 Special Education and Differentiation

Assignment Brief and Marking Scheme Programme: Module: Semester: Date of Title Issue: Assignment Deadline: Assignment Submission Details:   Module Credits: Weighting for this Assignment: BA Stage 3 Level 7 Special Education and Differentiation 1 05/10/20 26/11/20 Submit both the essay and the completed IEP in electronic format (PDF) to Moodle.

Read More »

PART II: Media Analysis and Reflection Submission

Students are also required to submit a Media Analysis and Reflection in relation to the media segment (see below) for the Media Discussion Forum. In approximately 350 to 500 words, please expand the synopsis you have provided as a Leader on the Discussion Forum. In this expanded version, you should

Read More »

Philosophy227 Take Home Essay Questions

Philosophy227 Take Home Essay Questions Carel argues that one can be happy – that one’s life can be meaningful – even if one is terminally ill. What is her argument? Do you agree? Is death harmful? Articulate a reason for thinking that death is harmful. Identity an argument against the

Read More »

General Psychology Assignment

Question Mark Travers in his article posted by Psychology Today dated 8th Sept, 2020 posed a question; “Are dating apps a breeding ground for dark personality?” in which new research suggests that the answer is likely yes (Johannes Kepler University). Dark personality triad comprises personality traits of Narcissism, Machiavellianism and

Read More »

Portfolio Planning Tool

Planning for a Target Position: Use this sheet to identify your Key Skill Areas. Add more Key Skill Areas or additional rows if needed.  Within each key skill area, indicate your skills, knowledge, and abilities along with the work samples/evidence you have to prove it, the skill type, source and

Read More »

Can't Find Your Assignment?

Open chat
1
Free Assistance
Universal Assignment
Hello 👋
How can we help you?