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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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