WinCupl Module: Experiment 2 - Logic Equations Simulation Guide
270 likes | 306 Vues
This guide provides instructions and test vectors for simulating logic equations using WinCupl in Experiment 2. Learn how to set up inputs, outputs, and run simulations efficiently.
WinCupl Module: Experiment 2 - Logic Equations Simulation Guide
E N D
Presentation Transcript
WinCupl Module M2.2 Section 4.2
2 19 X !(X $ Y) 18 3 X $ Y Y 17 !(X # Y) 16 X # Y 15 !(X & Y) 14 X & Y 13 !Y 12 !X GAL 16V8 Experiment 2
Simulator • Copy Exp2.pld to Exp2.si • Delete everything after the header • Add ORDER statement • Add test VECTORS
Copy this header EXACTLY from the file exp2.pld and copy to the file exp2.si
ORDER statement Test vectors Add the following to the file exp2.si
Outputs: L, H Inputs: 0, 1 ORDER Statement 01 HLLHHLHL Test Vector %2 means “leave 2 spaces when printing simulation results”
The 4 test vectors represent the 4 rows in the truth table. Test Vectors