home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s199 / 1.img / REGFB.ABL < prev    next >
Encoding:
Text File  |  1986-02-04  |  511 b   |  23 lines

  1. module regfb
  2. title 'Operation of the simulator on devices with feedback
  3.        DATA I/O Corp.      24 Feb 1984'
  4.  
  5.     FB2    device 'P16R4';
  6.  
  7.     Clk,OE        pin 1,11;
  8.     INIT,D1,D2,D3    pin 2,3,4,5,;
  9.     F1,F2        pin 14,13;
  10.  
  11. equations
  12.     !F1    := D1 & INIT;
  13.     !F2     = D2 & !F1;
  14.  
  15.     ENABLE    F2 = D3;
  16.  
  17. test_vectors   ([Clk,OE,INIT,D1,D2,D3] -> [ F1, F2])
  18.         [.C., 0,  0 , 1, 1, 1] -> [ 1,  1 ];
  19.         [.C., 1,  0 , 0, 0, 0] -> [.Z.,.Z.];
  20.         [.C., 1,  1 , 1, 1, 1] -> [.Z., 0 ];
  21.         [ 0 , 0,  0 , 0, 0, 0] -> [ 0 ,.Z.];
  22. end regfb    
  23.