Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Computer Electronics-печатный конспект.doc
Скачиваний:
10
Добавлен:
01.05.2025
Размер:
4.04 Mб
Скачать

3.7 Devices programmed

PLDs are used for storing logic functions. The categories in Fig. 3.1 show that there are three variants: PLAs, PALs and. LCAs. The differences between them are in respect of programming flexibility. PALs (programmable array logic) are the easiest to program. They are therefore particularly popular and are available in a wide range of designs. PLAs (programmable logic arrays) are basically more flexible, but programming them is more complicated. They have therefore ceased to be of major importance. LCAs (logic cell arrays) are very recent components. They can not only be programmed as various individual PLDs, but also with any data paths between those PLDs. This enables them to replace simple gate arrays. They can therefore also be described as user-programmable gate arrays.

When logic functions are implemented using the standard product terms, it is first necessary to AND together the input variables and then form the sum of the products. In order to be able to show these operations clearly, we use the simplified representation in Fig. 3.38. The internal design of PLAs and PALs can then be illustrated very easily, as shown in Fig. 3.39. The input variables of their negation and the intersecting inputs of AND gates form a matrix which enables all the required logical products to be formed. In a corresponding second matrix, the connections between the AND gates and the OR gates can then be established in order to form the required logical sums. This requires only one OR gate per output variable. In the case of a PLA (Fig. 3.39a), both matrices arc user-programmable. In the case of a PAL (Fig. 3.39b), the OR matrix is perma­nently preset (fixed) by the manufacturer, and only the AND matrix can be programmed.

Fig. 3.38 - Simplified representation of the AND and OR operations. The crosses indicate which input is connected. An unconnected input has no effect since it is 1 for the AND operation and 0 for the OR operation.

A PROM can also be understood as a function memory if the address decoder, having a truth table as shown in the left half of Fig. 3.40, is interpreted as an AND matrix. Then we can make use of the representation in Fig. 3.39. For every address applied, only a single AND operation is 1, namely that correspond­ing to the address applied. There are therefore n = 2N product terms, whereas the PLAs and PALs have substantially fewer. Whether the associated function value is 1 or 0 is determined by the programming of the OR matrix.

PROMs designed for implementing logic functions are also known as PLEs (programmable logic elements). The differences become apparent by considering the example in Fig. 3.40. All the connections not required for these functions have been programmed "open". Figure 3.41 shows that all the required logical products are formed in the AND matrices of the PLA and PAL. In the case of the PLA, it is even possible to use a product, which is required several times, twice in the OR matrix. This freedom is not available in the case of the (simple) PALs, as their OR matrix is not programmable.

With a PROM, it is always the particular product corresponding to the input combination that is 1. Consequently, it is necessary in the OR matrix to program connections for all combinations that are 1 in the truth table. We can see from this that a PROM is the image of the truth table, whereas the PLA and PAL represent the logic functions. A PROM can be used to store any kind of truth table, whereas only a limited number of products and sums are available in a PLA or PAL. For this reason, it is not possible to realize any truth table, but only those which can be convewrted into simple logic functions. This requires utmost simplification of the functions using Boolean algebra and, if necessary, transformation from AND into OR operations using De Morgan's Law, in order to utilize the PALs as efficiently as possible. Nowadays this is no longer done manually but using special design programs which can be run on any personal computer. Their application is described in greater detail in Section 3.42.

Fig. 3.3 9 - Comparison of the structures of PLA, PAL and PROM/PLE devices.

Fig. 3.40 - Example of a truth table and its logic functions.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]