SHARE
TWEET

Untitled

franklywhynot Oct 12th, 2016 (edited) 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUBCKT: CA
  2. IN: x11 x12 x21 x22
  3. OUT: Z1 Z2 ;
  4.  
  5.  
  6. # NOT: n1 IN: nx11 OUT: x11 ;
  7. # NOT: n2 IN: nx12 OUT: x12 ;
  8. # NOT: n3 IN: nx21 OUT: x21 ;
  9. # NOT: n4 IN: nx22 OUT: x22 ;
  10.  
  11. AND: a1 IN: x11 x21 OUT: a1 ;
  12. AND: a2 IN: x12 x22 OUT: a2 ;
  13. AND: a3 IN: x21 x12 OUT: a3 ;
  14. AND: a4 IN: x22 x11 OUT: a4 ;
  15.  
  16. OR: z1 IN: a1 a2 OUT: Z1 ;
  17. OR: z2 IN: a3 a4 OUT: Z2 ;
  18.  
  19. # XOR: ERR IN: Z1 Z2 OUT: ERR ;
  20.  
  21.  
  22.  
  23.  
  24. SUBCKT: DFF0
  25. IN: CK nINIT DATA
  26. OUT: Q ;
  27.  
  28. AND: A1 IN: nINIT DATA OUT: A1 ;
  29. DFF: Q  IN: CK A1      OUT: Q  ;
  30.  
  31.  
  32. SUBCKT: DFF1
  33. IN: CK INIT DATA
  34. OUT: Q ;
  35.  
  36. OR: O1 IN: INIT DATA OUT: O1 ;
  37. DFF: Q  IN: CK O1    OUT: Q  ;
  38.  
  39.  
  40. SUBCKT: CSL
  41. IN: CK INIT
  42. OUT: Y1 Y2 Y3 Y4 ;
  43.  
  44. NOT: nINIT  IN: INIT    OUT: nINIT ;
  45.  
  46. DFF1: Y1    IN: CK INIT X1  OUT: Y1 ;
  47. DFF0: Y2    IN: CK INIT Y1  OUT: Y2 ;
  48. DFF0: Y3    IN: CK INIT Y2  OUT: Y3 ;
  49. DFF0: Y4    IN: CK INIT Y3  OUT: Y4 ;
  50.  
  51. XOR: X1 IN: Y1 Y3   OUT:    X1 ;
  52.  
  53.  
  54.  
  55. SUBCKT: LM
  56. IN: y1 y2 y3 y4
  57. OUT: y3 x2 x3 x4 ;
  58.  
  59. NOT: n11 IN: y3 OUT: x2 ;
  60.  
  61. NOT: n12 IN: y2 OUT: ny2 ;
  62. NOT: n14 IN: y4 OUT: ny4 ;
  63.  
  64. AND: a11 IN: y2 x2 OUT: a11 ;
  65. OR: o11 IN: a11 y4 OUT: x3 ;
  66.  
  67. AND: a12 IN: y3 ny4 OUT: a12 ;
  68. OR: o12 IN: a12 ny2 OUT: x4 ;
  69.  
  70. CKT: compar
  71. IN: CLK INIT
  72. OUT: Zz1 Zz2 ;
  73.  
  74. CSL: GEN IN: CLK INIT OUT: Yy1 Yy2 Yy3 Yy4 ;
  75. LM: L1 IN: Yy1 Yy2 Yy3 Yy4 OUT: Yy3 Xx2 Xx3 Xx4 ;
  76. CA: A IN: Yy3 Xx2 Xx3 Xx4 OUT: Zz1 Zz2 ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top