UPC EETAC Bachelor's Degree in Telecommunications Systems and in Network Engineering EEL

Chapter 1 problems

     - D1.15 -

3-digit code converter from BCD to binary radix-2

Products

D1.14

D1.16


1. Specifications

Large code converters such as a 3-digit BCD to binary radix-2 (BCD_bin_3digit) can be implemented using hierarchical schematics extracted and adapted from the 74184/74185 datasheet. This is applying plan C2.

The same project B3.15 is proposed in Chapter 3 for learning the basics of μC software organisation and basic digital I/O.

Symbol and truth table

Fig. 1. BCD_bin_3digit symbol and truth table. H (hundreds digit), T (tens digit), U (units digit).

PLA3 specifications include: symbol, truth table, data range, example commercial chips with similar functionality, etc. You may like to add theory to better explain and comprehend these circuits.

Draw the testbench fixture  and an example of timing diagram to be used later as stimulus in the VHDL verification of the synthesised circuit. Consider Min_Pulse = 14.3 ms. You can use as example test vectors for the BCD operand HTU one of the following options (add more numbers if you like):

 

If we liked to test all the circuit, how long would it take to run the full verification?

 


CPLD or FPGA target chip options:

Target option #1.: MAX II

Target option #2.: Cyclone IV

MAX10 chips are not used because Intel Quartus does not generate the "*.sdo" file for running gate-level simulations.


Additional specifications for PLA4_1:

Calculate the propagation delay in a given signal transition using gate-level simulations in VHDL.

Calculate the circuit's longest propagation delay and maximum speed for a given target chip using the timing analyser tool.

 

2. Planning

Studying the 74184 datasheet we see, as pasted in Fig 2, that the basic expandable component is cgoing to be the DM74184 chip that we can translate to VHDL. You can also analyse similar circuit from our product list. For example, in this tutorial DM74185 you can see the dual idea: from binary radix-2 to BCD. For example, in this tutorial project we designed the BCD_bin_mod40 component. The dual circuit from the same datasheet is the Bin_BCD_9bit.

Schematic and truth table of the basic module, extracted from the datasheet

Fig. 2. Ideas and designs from datasheets.

As a first step, you can redraw and adapt these schematics from the datasheet to our CSD conventions as shown in our other similar products. And, as a second step you can design the component DM184 using one of the options below.  

Picture

Fig. 2. Your plan for the BCD_bin_3digit ready for VHDL tranlation.

 


DM74184 component options:

Option #1.: plan A

Picture

Fig. 3a. Your plan for the DM184 using plan A.

Option #2.: plan B

Picture

Fig. 3b. Your plan for the DM184 using plan B.