WorldRally E2

From
Jump to: navigation, search

Equations[edit]

/** Inputs **/
Pin	2 = i2;
Pin	3 = i3;
Pin	4 = i4;
Pin	5 = i5;
Pin	6 = i6;
Pin	7 = i7;
Pin	8 = i8;
Pin	9 = i9;

/** Outputs **/
Pin	12 = o12; /**(Combinatorial, Output feedback output, Active high) **/
Pin	13 = o13; /**(Combinatorial, Output feedback output, Active high) **/
Pin	14 = o14; /**(Registered, Output feedback registered, Active high) **/
Pin	15 = o15; /**(Registered, Output feedback registered, Active high) **/
Pin	16 = o16; /**(Registered, Output feedback registered, Active high) **/
Pin	17 = o17; /**(Registered, Output feedback registered, Active high) **/
Pin	18 = o18; /**(Combinatorial, Output feedback output, Active high) **/
Pin	19 = o19; /**(Combinatorial, Output feedback output, Active high) **/

/** Equations **/

o12 = i3 & i4 & o17;

o13 = i3 & i4 & o16;

o14.d =  !i2 & i8
       # i2 & o14;
o14.oe = OE;

o15.d =  !i2 & i7
       # i2 & o15;
o15.oe = OE;

o16.d =  !i2 & i6
       # i2 & o16;
o16.oe = OE;

o17.d =  !i2 & i5
       # i2 & o17;
o17.oe = OE;

o18 = !i3 & i4
    # i4 & o15;

o19 = i3 & !i4
    # i3 & o14;