270 likes | 291 Views
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. CUPL Header. CUPL Comments. CUPL Inputs and Outputs. CUPL Logic Equations. Running WinCupl.
E N D
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