Professional Documents
Culture Documents
Laboratory Practice 1: Logic Gates
Laboratory Practice 1: Logic Gates
D. Schematic representation
The schematic representation of the design is available on
the synthesize and show us a representation of the pre-
optimized design.
III. SIMULATION
A. VHDL Test Bench
Figure 1 Logic Gates Truth Tables Then we star the simulation, for this we need to include a
source VHDL Test Bench and assign values to inputs, by
default some values are assigned with a certain period, V. ANALYSIS AND CONCLUSION
however we must eliminate them for this practice. In the practice we use six LUTs, zero FlipFlops and nine
Values assigned for the inputs are: IOBs.
x <= '0','1' after 100 ns; The practice helps to understand how use ISE Project to
y <= '0','1' after 50 ns, '0' after 100 ns, '1' after 150 ns; design FPGA’s with the language of VHDL, this be the first
contact with this software and was very easy. In the other
B. ISIM Simulator side, this practice helps to understand how the Boolean
Last, we use the ISIM simulator to get the graphic of the algebra work in the design de FPGA´s.
inputs and outputs in the time as follows.
REFERENCES
[1] Ashenden, P. J. (2010). The designer's guide to VHDL. Morgan
Kaufmann.J.
[2] Mano, M. M. (1982). Logica Digital y Diseño. Pearson Educación.
[3] A. Castillo, M. López, “Manual de prácticas de Sistemas Digitales I”,
Facultad de Ingeniería, UADY, pp. 20–24, 2012.
Figure 3 Simulation
IV. RESULTS
The results of the simulation are presented in the table in
the four times in which the value of the inputs changes: 0ns,
50ns, 100ns and 150ns. In this way we can obtain the 4
possible combinations in the inputs, to compare them with the
truth tables of the logic gates.
As we see, the table be supported for the truth’s tables, so
the objective was reached, and we can conclude that the logic
gates worked
Table 1 Signals vs Time (Simulation)
Time
Signal
0 ns 50 ns 100 ns 150 ns
X 0 0 1 1
Y 0 1 0 1
And 0 0 0 1
Or 0 1 1 1
Not (X) 1 0 1 0
Nand 1 1 1 0
Nor 1 0 0 0
Xor 0 1 1 0
Xnor 1 0 0 1