home *** CD-ROM | disk | FTP | other *** search
- module _OrXor flag '-f'
-
- title 'Using OR and XOR outputs in VTI and RICOH EPALs
- FutureNet - Data I/O Redmond WA 11 Jan 1986'
-
- " The E16P8, E16RP4, E16RP6, E16RP8 EPALs allow product term sharing
- " between two adjacent outputs and the product terms can be used by
- " both outputs at the same time. As in the following equations.
- "
- " PIN18 = A $ B;
- " PIN19 = A # B;
- "
- " This feature is not directly supported in ABEL and writing this pair
- " of equations will cause an error in FUSEMAP.
- "
- " To utilize two active outputs it is necessary to omit the OR equation
- " and then manually override the fuse selection for the OR output.
- " An enable equation is required for the OR output.
- "
- " Output Fuses Configuration Fuse Pattern
- " 19 [2048..2050] Active Low OR [1,0,0]
- " 18 [2051..2053] Active Low XOR [0,1,0]
- " 17 [2054..2056] Active High OR [1,0,1]
- " 16 [2057..2059] Active High XOR [0,1,1]
- " 15 [2060..2062]
- " 14 [2063..2065] Fuse State
- " 13 [2066..2068] 0 = Connected
- " 12 [2069..2072] 1 = Open
- "
- orxor device 'E16P8';
-
- A,B pin 2,3;
- F18,F19 pin 18,19;
-
- fuses
- [2048..2050] = [1,0,1]; " F19 Active High OR
-
- equations
- F18 = A $ B;
-
- enable F19 = 1;
-
- test_vectors ( [A,B] -> [F18,F19] )
- [1,1] -> [ 0 , 1];
- [1,0] -> [ 1 , 1];
- [0,1] -> [ 1 , 1];
- [0,0] -> [ 0 , 0];
-
- end
-