Design and demonstrate the finite state machine

Assignment Help Computer Engineering
Reference no: EM131952176

FINAL PROJECT -

Topic: Computer Engineering Digital logic using Veirlog

Objectives - The main objective of the final project is to allow you to put together all of the class material that you have learned so far in order to program the Altera DE2 board to carry out an independent activity. You will have the opportunity to design a circuit to realize one digital system that accepts input from switches and outputs to LEDs and 7-segment displays.

Project Selection - A project is suggested below. If you do not like the suggested project, you have the option of specifying your own project. If there is something that you have always wanted to do, now is your chance. Your project MUST be of appropriate complexity as determined by the lab TAs. The minimum requirements are that your project MUST: 1) include a finite state machine, 2) include a register file, 3) include some combinational logic circuits, and 4) be demonstrated on the Altera DE2-115 board provided in the lab.

Project Description: Handheld Calculator

In this project, we would like to design a digital system that turns the Altera DE2-115 board into a simple handheld calculator. The schematic of the system is presented in the following figure:

1107_figure.png

The system contains four registers R0 - R3, each of which stores a 5-bit unsigned integer. Several basic operations acting on the registers should be implemented. A 3-bit input OP specifies an operation to be performed and a 2-bit input k specifies a parameter with a value between 0 and 3. The inputs OP and k should first be set up when the signal PERFORM is 0. Then the signal PERFORM can be set to 1, and the specified operation will be performed. After that, the signal PERFORM can be reset to 0 to prepare for another operation. The Reset signal will set all registers to 0 and the control FSM to its initial state. Switches/buttons can be used to specify the inputs. The values stored in all four registers should be displayed in decimal by 7-segment displays.

The required basic operations are listed in the table below.

OP

Operation

000

R0 ← 0, R1 ← 1, R2 ← 2, R3 ← 3

001

R0 ← k

010

R0 ← Rk

011

Rk ← R0

100

R0 ← R0 + Rk

101

R0 ← R0 - Rk

10

R0 ← R0 x Rk

111

R0 ← 2Rk

The system should contain a datapath circuit and a control circuit. The datapath should contain the four 5-bit registers organized as a register file. The register file should have one input port and one output port with the following input and output signals:

R0 - R3: Contents of registers 0 through 3 (displayed via 7-segment displays).

WA: Write register address

LD_DATA: Input data to be written to the register identified by WA

WR: Write enable

RA: Read register address

DATA: Content of the register identified by RA

Besides, the datapath should contain an arithmetic unit (some combinational logic circuits implementing some arithmetic functions) to support the operations. The control circuit should be a finite state machine which produces the control signals to direct the datapath to execute the operations step-by-step.

Each of the below steps must be in its own design file. Demonstrate each step individually to receive credit.

a. Design and demonstrate that the 5-bit wide 4-register file works by writing and reading from the register file. You should use the 7-segment displays to show the contents of the register file.

b. Design and demonstrate the arithmetic unit to support the operations.

c. Design and demonstrate the finite state machine for the control circuit. Show that it produces the correct output.

d. Put together all the individual components in Parts a, b, c, and demonstrate the complete handheld calculator. You must design at least two test plans. Each test plan should demonstrate all 8 operations.

e. Final Report (see file "CPRE281 FinalProject_WhatToSubmit.pdf").

Attachment:- Final Project Assignment Files.rar

Reference no: EM131952176

Questions Cloud

Determine the purpose of the feedback loop design : Decide if taking a "risk management" approach is suitable for protecting the nation's critical infrastructure. Support your response.
Why is the senior management of hca pursuing a lbo : How is HCA performing? What are the challenges for HCA going forward? Would any of these challenges be resolved by a LBO?
Formulate your reactions to the about the article : The purpose of this assignment is to engage you with a topic of current political relevance in the state of Texas and relate it to the content.
Freeman auto achieve to meet their operating profit goal : What sales must Freeman Auto achieve to meet their operating profit goal? Answer Format: Currency: Round to: 2 decimal places.
Design and demonstrate the finite state machine : Cpr E 281 FINAL PROJECT - Design and demonstrate the finite state machine for the control circuit. Show that it produces the correct output
Why did you choose the given type of appeal : Why did you choose this type of appeal? How has your messaging integrated cultural relevance with your public health campaign message?
What is the gross profit for the firm : A firm reports sales of $1,048,900.00, Cost of Goods (COGS) of $598,600.00, Selling and Administrative expense of $99,150.00, and depreciation expense
Describe each of the health care organizations selected : Include the following in your presentation: Describe each of the health care organizations selected. Cite at least 1 peer-reviewed, scholarly.
What branch of government seemed to play the important role : What branch of government seemed to play the most important role in dispute resolution in the three disputes (legislative, executive, or judicial)? Be specific.

Reviews

len1952176

4/21/2018 5:36:31 AM

Topic: Computer Engineering Digital logic using Veirlog. Detailed Question: All code is written/run on the Quartus Prime version 16 environment. All *.v code is Verilog HDL. All code is written for the Cyclone IV EP4CE115F29C7.

len1952176

4/21/2018 5:36:24 AM

The project description below outlines all the necessary details for the project. You must follow all the details listed in the project description. Your implementation, at a minimum, should satisfy all the implementation features and constraints as specified in this document. This means that if you do not implement a certain feature or reduce the complexity of the project you will not receive points as indicated in the RUBRIC. You are allowed to work beyond the basic functionality with a chance to get bonus points as long as the implementation improves upon the specified design. Please first discuss any such changes with the lab TAs.

len1952176

4/21/2018 5:36:18 AM

You may receive ZERO credit for any design step in the rubric that does not work or produces the wrong output or is not of the given specifications. All components of the final design should WORK and produce the output as per specs to receive significant credit. The credit received will be at the discretion of the TAs. If you have done notably more than the basic requirements described above (e.g., more operations), you may earn up to 10 bonus points. Before implementing your idea, please first consult with the lab TAs to see if it is worthy of any bonus point.

Write a Review

Computer Engineering Questions & Answers

  Write a java class that can take any red-black tree

Write a Java class that can take any red-black tree and convert it into its corresponding (2,4) tree and can take any (2,4) tree and convert it.

  Write the xhtml to configure a password form control

Write the XHTML to configure a password form control with the name of pword. Write the XHTML to configure a form tag to invoke server-side processing.

  Weaknesses of both virtualization and cloud computing

Review the literature and analyze the strengths and weaknesses of both virtualization and cloud computing in providing secure and trusted systems

  Create the logic for a game that simulates rolling two dice

Create the logic for a game that simulates rolling two dice by generating two numbers between 1 and 6 inclusive. The player chooses a number between 2 and 12.

  Describe an efficient algorithm for determining elements

Describe an efficient algorithm for determining if A and B contain the same set of elements. What is the running time of this method?

  Prepare an opening statement that specifies organization

The graphically depicted solution is not included in the required page length. Explain what the client can expect from your services.

  What are the two most significant families of operating

question 1 what is a dac? how much do they cost? who cares?question 2 what are the two most important families of

  Oriented programming paradigm is considered a better choice

express why the object oriented programming paradigm is considered a better choice than the structured programming paradigm. Does it reflect our "natural" way of thinking or do you find it artificial?

  Give an example of a program where consistency has caused

Can you give an example of a program where consistency has caused too many problems? Is there a program you have used in your own work environment where consistency has caused problems?

  Generate a class named realtorcommission

generate a class named RealtorCommission. Fields include the sale price of a house, the sales commission rate, and the commission. Create two constructors.

  Plan an algorithm that finds k smallest numbers

plan an algorithm that finds k smallest numbers of the whole G sorted in ascending order and has time complexity O(m*lg(m)) and spatial complexity O(m).

  Which method would most efficient and under what conditions

Suppose a system with a user population of 100 terminals plans to use short packets. Which method would be the most efficient and under what conditions?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd