Ok guys, good news, I have managed to recreate logic by Espresso logic minimizer, got all greens, leaving excel here, now reading back and comparing original 0x46 chip and my compiled one to check if all input combinations matches 100%. Cable works fine. Will post .JED and source code later. Attaching Final excel.
Update:
Here's final logic:
Code:
PIN 18
---------------------------------------
(1) X = I
or K;
not X = not I and not K;
---------------------------------------
PIN 16
---------------------------------------
(1) X = I and M
or I and N
or I and Q
or L and M
or L and N
or L and Q;
not X = not I and not L
or not M and not N and not Q;
---------------------------------------
PIN 15
---------------------------------------
(1) X = N;
not X = not N;
---------------------------------------
PIN 13
---------------------------------------
(1) X = C and F
or F and M
or F and Q;
not X = not C and not M and not Q
or not F;
---------------------------------------
PIN 12
---------------------------------------
(1) X = C
or Q;
not X = not C and not Q;
---------------------------------------
Which corresponds to:
Code:
Name 0x46 ;
PartNo 00 ;
Date 2019-01-02 ;
Revision 01 ;
Designer Elektrik ;
Company * ;
Assembly None ;
Location ;
Device g16v8a ;
/* *************** INPUT PINS *********************/
PIN 2 = i2 ; /* */
PIN 3 = i3 ; /* */
PIN 5 = i5 ; /* */
PIN 6 = i6 ; /* */
PIN 7 = i7 ; /* */
PIN 8 = i8 ; /* */
PIN 11 = !i11 ; /* */
/* *************** OUTPUT PINS *********************/
PIN 12 = o12 ; /* */
PIN 13 = o13 ; /* */
PIN 14 = f14 ; /* */
PIN 15 = o15 ; /* */
PIN 16 = o16 ; /* */
PIN 17 = f17 ; /* */
PIN 18 = o18 ; /* */
PIN 19 = f19 ; /* */
!o18 = i11 & !i8;
!o16 = (i11 & !i7) # (!i6 & !i5 & !i2);
!o15 = !i5;
!o13 = (!f17 & !i6 & !i2) # !f14;
!o12 = !f17 & !i2;
100% match to 1024 combinations logic, will check to all possible pins and outputs. Attaching fully working 0x46 .JED
We made it!
0x46.JED:
Code:
CUPL(WM) 5.0a Serial# 60008009
Device g16v8as Library DLIB-h-40-2
Created Fri Jan 04 18:22:51 2019
Name 0x46
Partno 00
Revision 01
Date 2019-01-04
Designer Elektrik
Company *
Assembly None
Location
*QP20
*QF2194
*G0
*F0
*L00256 11111111111111111111111110111110
*L00768 11111111111111111111101111111110
*L00800 10111111111110111011111111111111
*L01024 11111111111110111111111111111111
*L01536 10111111111111101011111111111111
*L01568 11111111111111111110111111111111
*L01792 10111111111111101111111111111111
*L02048 00000000001100000011000000100000
*L02112 00000000101001001111111111111111
*L02144 11111111111111111111111111111111
*L02176 111111111111111110
*C21AA
*A040
Bookmarks