Simulate your design with Modelsim simulator

Assignment Help Computer Engineering
Reference no: EM133121651

Digital Combination Locker

Objective

» Convert a word specification to a Finite State Machine
» Use the Synchronous Design Methodology to derive the VHDL code of the FSM

Specification

We want to design a 3-digit combination lock to allow entry to a locked room. The lock has a reset button, an enter button, and a 16-keypad on which the user can enter one value at a time on the input pin value. When the signal unlock is asserted, an electromechanical relay is released, allowing the door to open.

Operations
The unlock process begins when the operator presses reset. He or she then presses a key, followed by the enter button. This is repeated for the second and the third key digits. After entering the three 4-bit digits, the door will be unlocked or not depending on whether the sequence of key pressed was correct. We will use the following: 7,5,9 as the code sequence.

The process can be retried at any time simply by pressing reset again.

The figure below gives a block diagram of the entire combination lock consisting of the two principal components: data path and controller.

187_Digital Combination Locker.jpg

 

The data path operates on data values, and the controller keeps track of where we are in checking the combination. The data path component consists of the three registers (C1, C2, and C3), a multiplexer, and a comparator. The three registers hold the lock combination which is taken from same input pin value using the appropriate Ld, signal. One can use the keypad to enter a new value and assert a load signal to change a digit of the combination. Once the combination is entered, the controller which can be described as a finite state machine provides the appropriate value for the MUX control to select the appropriate value to be compared with the inputted value.

What needs to be done:

1. Translate the word specification of the controller to Moore finite state machine.

2. Write a synthesizable VHDL code for the entire design (Data Path + Controller). Use a multi-segment VHDL code for the FSM controller. For the datapath, you may also make use of combinational processes, concurrent signal assignment statements, clocked processes to infer the three register Cl, C2, and C3. Note that you should load the values 7,5,9 respectively.

3. Simulate your design with the Modelsim simulator to verify correct functioning for several typical values of the input.

Use the following design entity.
Library IEEE;
USE IEEE.std_logic_1164.all; ENTITY comb lock IS
PORT ( ldl : IN STD_LOGIC;
1d2 : IN STD_LOGIC;
1d3 : IN STD_LOGIC;
value : IN STD_LOGIC VECTOR(3 DOWNTO 0);
enter : IN STD_LOGIC; reset : IN STD_LOGIC; clock : IN STD_LOGIC; unlock : Out STD LOGIC);
END ENTITY;

Reference no: EM133121651

Questions Cloud

Write an in-depth firm performance evaluation : Write an in-depth firm performance evaluation in detail based on the percentage change - showcasing important percentage change figures and its implication on t
Determine the common shares outstanding : The discussion involves the following 2020 information related to Tamarisk Company. Determine the Common shares outstanding
What is the required return on xyz equity : 1. XYZ Inc., an all equity company, has expected earnings over the next year of $2/share (E1 = 2). The company is expected to maintain an earnings retention rat
Find the required return on investment : If the return on the market portfolio were to increase by 10%, what would you expect to happen to the investment's return? What if the market return were to dec
Simulate your design with Modelsim simulator : Convert a word specification to a Finite State Machine - Synchronous Design Methodology to derive the VHDL code of the FSM
New take on the active vs passive investing debate : Read the article "A New Take on the Active vs. Passive Investing Debate" on the Morgan Stanley website and answer the following questions. Please provide explan
Prepare a combined cash budget for Mayfield Health : Prepare a combined cash budget for Mayfield Health Center for the third quarter, with a column for each month and for the quarter total
Describe two of the rights for a stockholder : Finance concerned with what decision? What is the desire concerning value? What is the role of managerial finance?
How much in new fixed assets are required : How much in new fixed assets are required to support this growth in sales? Assume the company wants to operate at full capacity.

Reviews

len3121651

4/9/2022 12:05:38 AM

The level is actually Undergraduate Level but I couldn''t find it. Please provide full VHDL codes and DO file codes necessary and adding comments for me to understand would be greatly appreciated

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