home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / Electrics_1_0.lha / Examples / 4BitCounter / 4BitCounter.script < prev   
Encoding:
Text File  |  1995-09-09  |  518 b   |  39 lines

  1. !----------------------------------------------------------
  2. !Simulation Script file for testing the 4BitCounter design.
  3. !----------------------------------------------------------
  4.  
  5. view
  6.   RESET#
  7.   CLOCK
  8.   OUT0
  9.   OUT1
  10.   OUT2
  11.   OUT3
  12.   MIN#
  13.   MAX#
  14. section
  15.  
  16. !Show state of network at time zero.
  17.  
  18. run 1
  19.  
  20. !Reset clock generator and memory elements.
  21.  
  22. assign RESET# 0
  23. run 4
  24. assign RESET# 1
  25.  
  26. !Run for 48 time units.
  27.  
  28. run 48
  29.  
  30. !Reset counter.
  31.  
  32. assign RESET# 0
  33. run 2
  34.  
  35. !Apply an unknown "X" level to RESET#.
  36.  
  37. assign RESET# X
  38. run 4
  39.