ECE241F Lab 2
You are to design two functions, f1 and f2, with four inputs named x1, x0, y1, and y0. Consider X = x1 x0 to be a number. The four possible patterns of x1 x0, namely 00, 01, 10, and 11 represent the four numbers 0, 1, 2, and 3, respectively (we will learn about representing numbers in this way later). Similarly, consider Y = y1 y0 to be another number with the same four possible values. The function f1 should be 1 when the two numbers represented by X and Y are equal (i.e., X = Y). Otherwise, f1 should be 0. The function f2 should be 1 when the number represented by X is greater than the number represented by Y (i.e., X > Y).
Show truth tables for functions f1 and f2. Derive a Boolean expression in canonical form for each function. Use algebraic manipulation to simplify the Boolean expressions. Enter the simplified Boolean expressions into maxplus2 in two different ways:
Your preparation, to be marked, should consist of the VHDL code, the schematic and the simulator output all circuits, including that from Tutorial #1.