[SOLVED] CPE526-Homework 1 Simulating Multiple Architectures

15.99 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

Consider a code converter circuit that converts BCD 84-2-1 to BCD 8421.

 

B3B2B1B0          E3E2E1E0

0 0 0 0                   0 0 0 0

0 0 0 1                   1 1 1 1

0 0 1 0                   1 1 1 1

0 0 1 1                   1 1 1 1

0 1 0 0                   0 1 0 0

0 1 0 1                   0 0 1 1

0 1 1 0                   0 0 1 0

  • 1 1 1             0 0 0 1
  • 0 0 0                1 0 0 0

1 0 0 1                   0 1 1 1

1 0 1 0                   0 1 1 0

1 0 1 1                   0 1 0 1

1 1 0 0                   1 1 1 1

1 1 0 1                   1 1 1 1

1 1 1 0                   1 1 1 1

1 1 1 1                   1 0 0 1

 

 

B3B2B1B0 represents the 4-bit BCD 84-2-1 input and E3E2E1E0 represents the 4-bit BCD 8421 output. For invalid BCD 84-2-1 inputs, all 1s are output as an error indication. You will find a zip file in Canvas that contains the following:

  1. A VHDL entity declaration for the converter.
  2. An algorithmic behavioral architectural body for the converter.
  3. A data flow behavioral architectural body for the converter.
  4. A structural architectural body for the converter.
  5. A test bench entity that ties the entity to a pulse generator that generates all possible combinations of the inputs.
  6. Three configuration files

i.Test bench for the behavioral architecture

ii.Test bench for the dataflow architecture

iii.Test bench for the structural architecture

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.