/*
 *
 * Copyright © 1996 Norlinvest Ltd. All rights reserved.
 * EDComX, EDSpice, EDWin, EE Designer, CompCAD, CAD 1000,
 * CAD ABC and Visionics are trade marks of Norlinvest Ltd.
 * Copyright © 1983 - 2003.
 *
 */

void fnVhdlAnd2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlAnd3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlAnd4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlAnd6(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd7(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd8(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd9(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd10(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd11(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd12(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd13(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd14(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd15(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlAnd16(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                Digital_State_t Input16,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);


void fnVhdlNand2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
                 Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNand3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNand4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
                 Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNand6(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand7(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand8(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand9(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand10(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand11(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand12(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand13(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                 Digital_State_t Input13,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand14(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                 Digital_State_t Input13, Digital_State_t Input14,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand15(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                 Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlNand16(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                 Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                 Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                 Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                 Digital_State_t Input16,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);


void fnVhdlOr2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
               Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlOr3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlOr4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
               Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlOr6(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr7(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr8(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr9(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr10(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr11(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr12(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr13(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
               Digital_State_t Input13,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr14(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
               Digital_State_t Input13, Digital_State_t Input14,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr15(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
               Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);

void fnVhdlOr16(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
               Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
               Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
               Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
               Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
               Digital_State_t Input16,
               Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL);


void fnVhdlNor2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNor3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNor4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlNor6(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor7(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor8(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor9(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor10(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor11(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor12(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor13(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor14(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor15(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlNor16(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t Input6,
                Digital_State_t Input7, Digital_State_t Input8, Digital_State_t Input9,
                Digital_State_t Input10, Digital_State_t Input11, Digital_State_t Input12,
                Digital_State_t Input13, Digital_State_t Input14, Digital_State_t Input15,
                Digital_State_t Input16,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);


void fnVhdlXor2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlXor3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlXor4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL);

void fnVhdlXor5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlXnor2(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t *CurrOutput,
                 Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlXnor3(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlXnor4(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                 double tLH, double tHL);

void fnVhdlXnor5(Digital_State_t Input1, Digital_State_t Input2, Digital_State_t Input3,
                 Digital_State_t Input4, Digital_State_t Input5, Digital_State_t *CurrOutput,
                 Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlTristate(Digital_State_t Input, Digital_State_t CurrControl, Digital_State_t PrevControl,
                    Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                    double tLH, double tHL, double tLZ, double tHZ, double tZL, double tZH);

void fnVhdlInverter(Digital_State_t Input, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                    double tLH, double tHL);

void fnVhdlBuffer(Digital_State_t Input, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                  double tLH, double tHL);

void fnVhdlLd(Digital_State_t Input, Digital_State_t CurrGate, Digital_State_t PrevGate,
              Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
              double tLH, double tHL, double gLH, double gHL);

void fnVhdlFd(Digital_State_t Input, Digital_State_t CurrClock, Digital_State_t PrevClock,
              Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL);

void fnVhdlFdc(Digital_State_t Input, Digital_State_t CurrClock, Digital_State_t PrevClock,
               Digital_State_t Clear, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL, double clrHL);

void fnVhdlFdp(Digital_State_t Input, Digital_State_t CurrClock, Digital_State_t PrevClock,
               Digital_State_t Preset, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
               double tLH, double tHL, double preLH);

void fnVhdlFdcp(Digital_State_t Input, Digital_State_t CurrClock, Digital_State_t PrevClock,
                Digital_State_t Clear, Digital_State_t Preset, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL, double clrHL, double preLH);


void fnVhdlMux2(Digital_State_t Input0, Digital_State_t Input1, Digital_State_t CurrSelect,
                Digital_State_t PrevSelect, Digital_State_t *CurrOutput, Digital_State_t *PrevOutput,
                double tLH, double tHL, double selLH, double selHL);

void fnVhdlMux4(Digital_State_t Input0, Digital_State_t Input1, Digital_State_t Input2,
                Digital_State_t Input3, Digital_State_t CurrSelect0, Digital_State_t PrevSelect0,
                Digital_State_t CurrSelect1, Digital_State_t PrevSelect1, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL, double selLH, double selHL);

void fnVhdlMux8(Digital_State_t Input0, Digital_State_t Input1, Digital_State_t Input2,
                Digital_State_t Input3, Digital_State_t Input4, Digital_State_t Input5,
                Digital_State_t Input6, Digital_State_t Input7, Digital_State_t CurrSelect0,
                Digital_State_t PrevSelect0, Digital_State_t CurrSelect1, Digital_State_t PrevSelect1,
                Digital_State_t CurrSelect2, Digital_State_t PrevSelect2, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL, double selLH, double selHL);

void fnVhdlMux16(Digital_State_t Input0, Digital_State_t Input1, Digital_State_t Input2,
                 Digital_State_t Input3, Digital_State_t Input4, Digital_State_t Input5,
                 Digital_State_t Input6, Digital_State_t Input7, Digital_State_t Input8,
                 Digital_State_t Input9, Digital_State_t Input10, Digital_State_t Input11,
                 Digital_State_t Input12, Digital_State_t Input13, Digital_State_t Input14,
                 Digital_State_t Input15, Digital_State_t CurrSelect0, Digital_State_t PrevSelect0,
                 Digital_State_t CurrSelect1, Digital_State_t PrevSelect1, Digital_State_t CurrSelect2,
                 Digital_State_t PrevSelect2, Digital_State_t CurrSelect3, Digital_State_t PrevSelect3,
                 Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH, double tHL, double selLH, double selHL);

void fnVhdlDec1(Digital_State_t CurrAddress, Digital_State_t PrevAddress, Digital_State_t *Output0,
                Digital_State_t *Output1, double tLH, double tHL);

void fnVhdlDec2(Digital_State_t CurrAddress0, Digital_State_t PrevAddress0, Digital_State_t CurrAddress1,
                Digital_State_t PrevAddress1, Digital_State_t *Output0, Digital_State_t *Output1,
                Digital_State_t *Output2, Digital_State_t *Output3, double tLH, double tHL);

void fnVhdlDec3(Digital_State_t CurrAddress0, Digital_State_t PrevAddress0, Digital_State_t CurrAddress1,
                Digital_State_t PrevAddress1, Digital_State_t CurrAddress2, Digital_State_t PrevAddress2,
                Digital_State_t *Output0, Digital_State_t *Output1, Digital_State_t *Output2, 
                Digital_State_t *Output3, Digital_State_t *Output4, Digital_State_t *Output5, 
                Digital_State_t *Output6, Digital_State_t *Output7, double tLH, double tHL);

void fnVhdlDec4(Digital_State_t CurrAddress0, Digital_State_t PrevAddress0, Digital_State_t CurrAddress1,
                Digital_State_t PrevAddress1, Digital_State_t CurrAddress2, Digital_State_t PrevAddress2,
                Digital_State_t CurrAddress3, Digital_State_t PrevAddress3, Digital_State_t *Output0, 
                Digital_State_t *Output1, Digital_State_t *Output2, Digital_State_t *Output3,
                Digital_State_t *Output4, Digital_State_t *Output5, Digital_State_t *Output6, 
                Digital_State_t *Output7, Digital_State_t *Output8, Digital_State_t *Output9, 
                Digital_State_t *Output10, Digital_State_t *Output11, Digital_State_t *Output12, 
                Digital_State_t *Output13, Digital_State_t *Output14, Digital_State_t *Output15, 
                double tLH, double tHL);

void fnVhdlDff(Digital_State_t Input, Digital_State_t CurrClock, Digital_State_t PrevClock,
                Digital_State_t Clear, Digital_State_t Preset, Digital_State_t *CurrOutput,
                Digital_State_t *PrevOutput, double tLH, double tHL, double clrHL, double preLH);

void fnVhdlGnd(Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tHL);

void fnVhdlVcc(Digital_State_t *CurrOutput, Digital_State_t *PrevOutput, double tLH);

int __cdecl sprintf(char *, const char *, ...);
