Docsity

Project on Electric and Computer Engineering | Digital Systems Design | ECE 465, Study Guides, Projects, Research of Digital Systems Design

Toggle sidebar
bg1
ECE 465, Spring 2009, Instructor: Prof. Shantanu Dutt
Project 2 : Due Fri, April 24
1 Goal
The goal of this project is to design an FSM, synthesize it using two different techniques, and compare and
contrast their hardware costs and delays.
2 Design Problem
In this project you need to do the following.
1. Design a Moore FSM for determining the remainder of an 8-bit number

that would
be obtained after division by 3. X is sent in sequentially, LSB first, over a single bit line
.
2. Synthesize the FSM into a sequential circuit using classical binary state-encoding techniques using D
FFs.
3. Synthesize the FSMinto a sequential circuit using one-hot state encoding (also called unary encoding)
techniques (one-hot design generally uses D FFs).
4. Obtain hardware costs (in terms of total gate inputs) and delays for both implementations and compare
them. Though this is only one data point for comparing the two types of implementations, draw
whatever conclusions you can from this comparison.
Hint: The FSM needs to remember: (a) the remainder of the number seen so far (i.e., if the 1st 5 bits

of the number has been sent to the FSM, it needs to determine
 
, and remember
it as a particular state), and (b) the number of bits it has received so far. The latter is needed in order to
determine the next remainder, i.e., it is not enough to know that the remainder so far is, say, 2, as the new
remainder will also depend upon if the next bit to be received is, say, the 4’th bit or the 5’th bit, since the
value that bit represents when it is a ‘1’, depends on the bit position.
Explicitly show the following in your design process:
1. The clearly labeled FSM for this problem. Each state of the FSM should be labeled so as to understand
the “meaning” of the state, i.e., what the state remembers about past inputs. There should be a clear
indication of the reset state.
2. Encoding of the states for the classical (binary-encoded) synthesis technique.
3. Synthesis of the output and next-state logic for the classical synthesis technique using either K-maps
or multi-function QM. The connection of the system reset input to the FFs’ set ot reset inputs should
be shown so that the circuit goes to the reset state, when the system reset signal is active.
1
pf3

Partial preview of the text

Download Project on Electric and Computer Engineering | Digital Systems Design | ECE 465 and more Study Guides, Projects, Research Digital Systems Design in PDF only on Docsity!

ECE 465, Spring 2009, Instructor: Prof. Shantanu Dutt

Project 2 : Due Fri, April 24

1 Goal

The goal of this project is to design an FSM, synthesize it using two different techniques, and compare and contrast their hardware costs and delays.

2 Design Problem

In this project you need to do the following.

  1. Design a Moore FSM for determining the remainder of an 8-bit number

that would

be obtained after division by 3. X is sent in sequentially, LSB first, over a single bit line .

  1. Synthesize the FSM into a sequential circuit using classical binary state-encoding techniques using D FFs.
  2. Synthesize the FSM into a sequential circuit using one-hot state encoding (also called unary encoding) techniques (one-hot design generally uses D FFs).
  3. Obtain hardware costs (in terms of total gate inputs) and delays for both implementations and compare them. Though this is only one data point for comparing the two types of implementations, draw whatever conclusions you can from this comparison.

Hint:  The FSM needs to remember: (a) the remainder of the number seen so far (i.e., if the 1st 5 bits 

of the number has been sent to the FSM, it needs to determine 

, and remember it as a particular state), and (b) the number of bits it has received so far. The latter is needed in order to determine the next remainder, i.e., it is not enough to know that the remainder so far is, say, 2, as the new remainder will also depend upon if the next bit to be received is, say, the 4’th bit or the 5’th bit, since the value that bit represents when it is a ‘1’, depends on the bit position.

Explicitly show the following in your design process:

  1. The clearly labeled FSM for this problem. Each state of the FSM should be labeled so as to understand the “meaning” of the state, i.e., what the state remembers about past inputs. There should be a clear indication of the reset state.
  2. Encoding of the states for the classical (binary-encoded) synthesis technique.
  3. Synthesis of the output and next-state logic for the classical synthesis technique using either K-maps or multi-function QM. The connection of the system reset input to the FFs’ set ot reset inputs should be shown so that the circuit goes to the reset state, when the system reset signal is active.
  1. The clearly drawn one-hot synthesis of the FSM. The connection of the system reset input to the FFs’ set ot reset inputs should be shown so that the circuit goes to the reset state, when the system reset signal is active.

5. Assuming a! -input gate has a delay of! units, determine the delay analytically of the next-state and

output logic units for both implementations. Writing down the final delay number is not enough; we need to know clearly how you arrived at your answer.

  1. Determine the hardware cost in terms of total gate inputs of the next-state and output logic units for both implementations.

2000 points