CSE306 Asssignment 1-Specification for 4-bit ALU Simulation Solved

30.00 $

Category:

Description

Rate this product

 

CSE306

Specification for 4-bit ALU Simulation

  • The functional design specification for each group of each section can be found in Appendix A. First, read carefully the specification of your group. Then, go through the next specifica- tions/instructions of this section.
  • Required Flags:

    – Carry
    – Sign
    – Overflow – Zero

  • Flags will be affected as per the rules of Assembly Language.
  • Any SSI (AND, OR, NOT, XOR etc.) and MSI (MUX, Decoder, Adder etc.) chip can be

    used.

  • Emphasis should be given on efficiency of design and minimization of ICs used.
  • Late submission will result in reduced marking.
  • For simulation you can use any simulation software.
  • While demonstration you must bring your group specification.

    Report Preparation Guideline

    Your have to write a Report containing the followings: • Introduction
    • Problem Specification with assigned instructions
    • Truth Table & Required k-maps

• Block Diagram
• Complete Circuit diagram
• ICs used with count as a chart

1

  • Simulator used along with the version number
  • Discussion

    Submission Guideline

  • A submission link will be opened on Moodle for submitting your ALU simulation. Make a folder file containing all your simulation project files along with the soft copy of your report. The naming format of the folder should be your section name followed by your group id (e.g., B1 Group7). Zip the folder and use the zipped file for submission. Please ensure a single submission from each group.

    Submission Deadline: For all sections: March 28, 2021 (Sunday) at 11.59pm.

    Version

    This section contains the version of the assignment. It starts with Version 0. If we find some major problems in this assignment description file, then we shall change this pdf. If that case, we shall increase the version number and list the changes in this section. So, keep an eye on this version number of the pdf in the moodle to see whether the version is changed or not. If it is changed, the first read this section to see where the changes have been made and whether it is applicable for your group. On the other hand, if the changes are minor (for example, correcting the grammatical mistakes), then version number will not be changed.

    Version 0

    This is the initial version of the problem description pdf.

2

Appendix A

Functional design specifications for each group of each section

For Section A1

cin
cs2 cs1 cs0

Functions for

000

Add

Group 1

Decrement A

Group 2

Transfer A

Group 3

Group 4

Subtract with borrow

Decrement A

001

Transfer A

Subtract with borrow

Add

010

Add with carry

Transfer A

Subtract

Transfer A

011

Increment A

Subtract

Increment A

Add with carry

1×0

AND

OR

AND

Complement A

1×1

XOR

Complement A

OR

XOR

Control Signals cs2 cs1 cs0

A B

inputs

Output

ALU

cin
cs2 cs1 cs0

Functions for

Group 5

Group 6

000

Add

Decrement A

010

Transfer A

Subtract with borrow

100

Add with carry

Transfer A

110

Increment A

Subtract

x01

x11

OR

Complement A

AND

XOR

For Section A2

cin
cs2 cs1 cs0

Functions for

000

Add

Transfer A

Group 1

Group 2

Group 3

Group 4

Decrement A

Subtract with borrow

Decrement A

001

Subtract with borrow

Transfer A

Add

100

Add with carry

Transfer A

Subtract

Transfer A

101

Increment A

Subtract

Increment A

Add with carry

x10

AND

OR

AND

Complement A

x11

XOR

Complement A

OR

XOR

Control Signals cs2 cs1 cs0

A B

inputs

Output

ALU

cin
cs2 cs1 cs0

Functions for

Group 5

Group 6

000

Subtract with borrow

Decrement A

010

Transfer A

Add

100

Subtract

Transfer A

110

Increment A

Add with carry

x01

x11

OR

AND

XOR

Complement A

For Section B1

cin cs2 cs1 cs0

Functions for

000

Add

Group 1

Decrement A

Transfer A

Group 2

Group 3

Group 4

Subtract with borrow

Decrement A

001

Add with carry

Subtract

Transfer A

01x

AND

OR

AND

Complement A

100

Transfer A

Subtract with borrow

Transfer A

Add

101

Increment A

Subtract

Increment A

Add with carry

11x

XOR

Complement A

OR

XOR

Control Signals cs2 cs1 cs0

A B

inputs

Output

ALU

cin
cs2 cs1 cs0

Functions for

Group 5

Group 6

000

Subtract with borrow

Decrement A

010

Subtract

Transfer A

0x1

OR

XOR

100

Transfer A

Add

110

1×1

Increment A

AND

Add with carry

Complement A

For Section B2

cin cs2 cs1 cs0

Functions for

000

Add

Group 1

Decrement A

Transfer A

Group 2

Group 3

Group 4

Subtract with borrow

Decrement A

001

Add with carry

Subtract

Transfer A

010

Transfer A

Subtract with borrow

Transfer A

Add

011

Increment A

Subtract

Increment A

Add with carry

10x

OR

AND

OR

XOR

11x

XOR

Complement A

AND

Complement A

Control Signals cs2 cs1 cs0

A B

inputs

Output

ALU

cin
cs2 cs1 cs0

Functions for

Group 5

Group 6

000

Add

Decrement A

010

Add with carry

Transfer A

0x1

XOR

OR

100

Transfer A

Subtract with borrow

110

1×1

Increment A

AND

Subtract

Complement A

  • Assignment-01-ALU-1d7tyr.zip