home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 373.lha / route_v1.0 / examples / ex1 < prev    next >
Encoding:
Text File  |  1990-04-25  |  821 b   |  36 lines

  1. ; This example shows how PRIORITY can be used to correctly route a one
  2. ; sided board which was otherwise un-route-able.
  3. ; ex1 - the example file without 'priority' keyword
  4. ; ex2 - the example file after adding 'priority' keyword to 2 of the lines.
  5.  
  6. dimension (15,30)
  7.  
  8. include pcbinc:ttl7400.inc
  9.  
  10. ; power and ground are supplied here
  11. hole (3,20)
  12. hole (3,25)
  13.  
  14. ; ~R - input
  15. hole (15,5)
  16. ; ~S - input
  17. hole (15,7)
  18.  
  19. ; Q - output
  20. hole (3,9)
  21. ; ~Q - output
  22. hole (3,11)
  23.  
  24. ; four instances of the above chip
  25. chipat (6,5) name=nand0 type=ttl7400 orientation=normal
  26.  
  27. ; connect power and ground to all chips
  28. connect (3,20) and nand0.vcc
  29. connect (3,25) and nand0.gnd
  30. connect (15,5) and nand0.a1
  31. connect (15,7) and nand0.a2
  32. connect nand0.y1 and nand0.b2
  33. connect nand0.y2 and nand0.b1
  34. connect nand0.y1 and (3,9)
  35. connect nand0.y2 and (3,11)
  36.