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 (August 30, 2025) Simple Microprocessor – Design Exercise. Retrieved from https://universalassignment.com/simple-microprocessor-design-exercise/.
"Simple Microprocessor – Design Exercise." Universal Assignment - August 30, 2025, https://universalassignment.com/simple-microprocessor-design-exercise/
Universal Assignment June 18, 2022 Simple Microprocessor – Design Exercise., viewed August 30, 2025,<https://universalassignment.com/simple-microprocessor-design-exercise/>
Universal Assignment - Simple Microprocessor – Design Exercise. [Internet]. [Accessed August 30, 2025]. Available from: https://universalassignment.com/simple-microprocessor-design-exercise/
"Simple Microprocessor – Design Exercise." Universal Assignment - Accessed August 30, 2025. https://universalassignment.com/simple-microprocessor-design-exercise/
"Simple Microprocessor – Design Exercise." Universal Assignment [Online]. Available: https://universalassignment.com/simple-microprocessor-design-exercise/. [Accessed: August 30, 2025]

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.

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Assignment Help in Parkville – Universal Assignment

Parkville, located just 3 km north of Melbourne CBD, is one of Melbourne’s most prestigious academic hubs. It is home to The University of Melbourne, Monash University (Pharmacy campus), and major research institutes like the Walter and Eliza Hall Institute and the Royal Melbourne Hospital precinct. With such a concentration

Read More »

Assignment Help in Oakleigh East – Universal Assignment

Oakleigh East, located about 17 km south-east of Melbourne CBD, is a peaceful and residential suburb in the City of Monash, known for its family-friendly environment and convenient access to shopping and educational facilities. With nearby institutions like Monash University, Holmesglen Institute, and TAFE Victoria, many students living in Oakleigh

Read More »

Assignment Help in Preston – Universal Assignment

Preston, located about 9 km north of Melbourne’s CBD, is a thriving multicultural suburb that attracts many university and TAFE students. With the presence of Melbourne Polytechnic (Preston Campus) and close proximity to La Trobe University (Bundoora campus) and RMIT University, Preston has a large student population. While the suburb

Read More »

Assignment Help in Point Cook – Universal Assignment

Point Cook, located around 25 km southwest of Melbourne’s CBD, is a fast-growing residential suburb in the City of Wyndham. Known for its modern housing estates, coastal beauty, and cultural diversity, Point Cook is also home to many university and TAFE students. With Victoria University, RMIT, Deakin University, and the

Read More »

Assignment Help in Pascoe Vale South – Universal Assignment

Pascoe Vale South, situated about 9 km north of Melbourne’s CBD, is a quiet, family-friendly suburb within the City of Merri-bek. Known for its leafy streets, community parks, and excellent schools, the suburb is also home to many university students due to its proximity to RMIT University, La Trobe University,

Read More »

Assignment Help in Pascoe Vale – Universal Assignment

Pascoe Vale, located just 10 km north of Melbourne’s CBD, is a thriving suburb in the City of Merri-bek. It is a popular residential area for students due to its proximity to leading universities such as RMIT University, La Trobe University, and the University of Melbourne. With excellent transport links

Read More »

Assignment Help in Prahran – Universal Assignment

Prahran, located just 5 km southeast of Melbourne’s CBD, is one of the city’s most vibrant inner suburbs. Known for its trendy cafes, boutique shopping on Chapel Street, and buzzing nightlife, Prahran also has a large student population. Its close proximity to Monash University (Caulfield campus), Swinburne University of Technology,

Read More »

Assignment Help in Parkdale – Universal Assignment

Parkdale, located around 23 km south-east of Melbourne CBD, is a beautiful beachside suburb in the City of Kingston. Known for its relaxed lifestyle, coastal charm, and proximity to Monash University, Holmesglen Institute, and Deakin University, Parkdale is home to many students balancing academic studies with personal and professional commitments.

Read More »

Assignment Help in Oakleigh South – Universal Assignment

Oakleigh South, located about 20 km south-east of Melbourne CBD, is a suburban area in the City of Kingston, known for its family-friendly environment, parks, and convenient access to educational facilities. With nearby institutions like Monash University, Holmesglen Institute, and TAFE campuses, students in Oakleigh South often require professional assignment

Read More »

Assignment Help in Ormond – Universal Assignment

Ormond, located about 12 km south-east of Melbourne CBD, is a well-connected residential suburb in the City of Glen Eira. Known for its proximity to Monash University Caulfield Campus, Holmesglen Institute, and local schools, Ormond attracts both local and international students. With increasing academic demands, many students search for assignment

Read More »

Assignment Help in Oakleigh – Universal Assignment

Oakleigh, located about 14 km south-east of Melbourne CBD, is a lively suburb in the City of Monash, known for its multicultural community, shopping precincts, and proximity to educational institutions. With access to Monash University, Holmesglen Institute, and nearby TAFE campuses, many students in Oakleigh seek professional assignment help in

Read More »

Assignment Help in Oak Park – Universal Assignment

Oak Park, located about 12 km north of Melbourne CBD, is a suburban area in the City of Moreland, known for its peaceful residential streets, schools, and local amenities. With access to nearby institutions such as RMIT University, University of Melbourne, and TAFE campuses, many students in Oak Park seek

Read More »

Assignment Help in Nunawading – Universal Assignment

Nunawading, located about 20 km east of Melbourne CBD, is a thriving suburb in the City of Whitehorse, known for its leafy streets, shopping centres, and proximity to educational institutions. With access to Deakin University, Box Hill Institute, and nearby TAFE campuses, students in Nunawading often seek professional assignment help

Read More »

Assignment Help in Notting Hill – Universal Assignment

Notting Hill, located about 22 km south-east of Melbourne CBD, is a residential suburb in the City of Monash, known for its peaceful environment and proximity to shopping centres, schools, and educational institutes. With access to nearby campuses like Monash University, Holmesglen Institute, and TAFE Victoria, many students in Notting

Read More »

Assignment Help in Northcote – Universal Assignment

Northcote, located about 7 km north-east of Melbourne CBD, is a vibrant suburb known for its multicultural community, trendy cafes, and lively student population. With easy access to RMIT University, University of Melbourne, and nearby TAFE institutes, Northcote has become a popular area for students pursuing higher education. Many students

Read More »

Assignment Help in North Melbourne – Universal Assignment

North Melbourne, located just 2 km north-west of Melbourne CBD, is a bustling inner-city suburb known for its historic architecture, multicultural community, and proximity to major educational institutions. With easy access to RMIT University, University of Melbourne, and nearby TAFE campuses, students in North Melbourne often require professional assignment help

Read More »

Assignment Help in Noble Park – Universal Assignment

Noble Park, located about 25 km south-east of Melbourne CBD, is a thriving suburb in the City of Greater Dandenong. Known for its multicultural community, shopping centres, and schools, Noble Park is home to a growing student population. With access to nearby institutions like Monash University, Chisholm Institute, and TAFE

Read More »

Assignment Help in Niddrie – Universal Assignment

Niddrie, located about 10 km north-west of Melbourne CBD, is a bustling suburb known for its residential communities, shopping centres, and schools. With easy access to Victoria University, RMIT, and nearby TAFE institutes, Niddrie is home to many students who often seek assignment help in Niddrie to manage academic workloads

Read More »

Assignment Help in Narre Warren South – Universal Assignment

Narre Warren South, located 38 km south-east of Melbourne CBD, is a growing suburb in the City of Casey. Known for its residential communities, schools, and green spaces, Narre Warren South is home to many students who pursue higher education at nearby institutions such as Monash University Clayton Campus, Federation

Read More »

Assignment Help in Narre Warren North – Universal Assignment

Narre Warren North, located about 36 km south-east of Melbourne CBD, is a fast-growing suburb in the City of Casey. Known for its family-friendly community, excellent schools, and green spaces, the suburb also attracts students pursuing higher education in Melbourne. With access to nearby institutions like Monash University Clayton Campus,

Read More »

Assignment Help in Narre Warren – Universal Assignment

Narre Warren, located about 38 km south-east of Melbourne CBD, is one of the fastest-growing suburbs in the City of Casey. Known for Fountain Gate Shopping Centre, family-friendly communities, and excellent schools, Narre Warren also attracts a large number of students pursuing higher education in Melbourne and surrounding areas. With

Read More »

Assignment Help in Mulgrave – Universal Assignment

Mulgrave, located 21 km south-east of Melbourne CBD, is a vibrant suburb with a mix of residential, business, and educational opportunities. With close access to Monash University Clayton Campus, Holmesglen Institute, and nearby TAFE colleges, Mulgrave attracts a large number of students. Many students here face challenges with assignments and

Read More »

Assignment Help in Mount Waverley – Universal Assignment

Mount Waverley, located 16 km south-east of Melbourne CBD, is a popular residential suburb with excellent schools, universities nearby, and a strong student community. With easy access to Monash University Clayton Campus, Holmesglen Institute, and Deakin University, Mount Waverley has become a hub for students pursuing higher education. To manage

Read More »

Assignment Help in Mordialloc – Universal Assignment

Mordialloc, located 24 km south-east of Melbourne CBD, is a picturesque bayside suburb known for its beaches, boating culture, and community lifestyle. Along with its relaxed environment, it is home to students from nearby institutions such as Monash University, Chisholm Institute, and Holmesglen TAFE. Many of these students seek assignment

Read More »

Assignment Help in Mooroolbark – Universal Assignment

Mooroolbark, located 31 km east of Melbourne’s CBD, is a vibrant suburb in the Yarra Ranges, known for its family-friendly environment, schools, and proximity to tertiary institutions like Swinburne University and Box Hill Institute. Many local and international students live in the area and often seek assignment help in Mooroolbark

Read More »

Assignment Help in Moorabbin – Universal Assignment

Moorabbin, located 15 km southeast of Melbourne’s CBD, is a busy suburb well-known for its business district, schools, and proximity to Monash University, Holmesglen Institute, and other major educational hubs. Many students in Moorabbin balance studies with part-time jobs, making assignment help in Moorabbin a vital service for academic success.

Read More »

Assignment Help in Moonee Ponds – Universal Assignment

Moonee Ponds, located just 7 km northwest of Melbourne’s CBD, is a lively inner-city suburb known for its shopping precincts, schools, and close connection to major universities. Students living in Moonee Ponds enjoy easy access to educational institutions but often struggle with heavy workloads and tight deadlines. That’s why assignment

Read More »

Assignment Help in Montmorency – Universal Assignment

Montmorency, a leafy suburb located 18 km northeast of Melbourne’s CBD, is a peaceful and family-friendly area known for its natural charm, schools, and close-knit community. Students in Montmorency benefit from being near Melbourne’s major universities and colleges, but they often face challenges balancing academics with work and personal life.

Read More »

Assignment Help in Mont Albert North – Universal Assignment

Mont Albert North, a welcoming residential suburb located 13 km east of Melbourne’s CBD, is well-known for its family-friendly community, green spaces, and proximity to leading schools and universities. Many students living here juggle study, part-time jobs, and personal commitments, which can make academic life stressful. That’s where our assignment

Read More »

Assignment Help in Mont Albert – Universal Assignment

Mont Albert, a leafy suburb located 12 km east of Melbourne’s CBD, is known for its quiet residential streets, historic architecture, and excellent access to educational facilities. Many students living in Mont Albert are enrolled in nearby universities, colleges, and TAFE institutes. To support their academic journey, our assignment help

Read More »

Can't Find Your Assignment?