77. PAL Literal Programming

Loading simulator…

Each programmable literal is implemented by a 4:1 MUX. D0 = CONST_1, D1 = input, D2 = input', and D3 is reserved.

Therefore every label such as A_CODE_PT0 is a 2-bit field:

00 : omits the literal
01 : selects the true literal
10 : selects the complemented literal
11 : must not be used.

The equation requires A.C, A'.B', and B.C'. Assign them to PT0, PT1, and PT2.

The unused input of each term receives code 00, which selects CONST_1 and leaves the product unchanged.

PT_EN controls whether a programmed product term contributes to the fixed OR gate. Enable PT0, PT1, and PT2; disable PT3.

Y = PT0 + PT1 + PT2
Y = A.C + A'.B' + B.C'

Product Term Programming

Product termA_CODEB_CODEC_CODEPT_EN
PT00100011
PT11010001
PT20001101
PT30000000