/*
   Copyright © 1998 Norlinvest Ltd. All rights reserved.
   Visual Code Model Generator, EDSpice, EDWin, EE Designer, CompCAD,
   CAD 1000, CAD ABC and Visionics are trade marks of Norlinvest Ltd.
   Copyright © 1983 - 1998.
*/

#ifndef CMTYPES_DEFINED

   #define CMTYPES_DEFINED

   #include "MIFtypes.h"

   typedef int Boolean_t;

   typedef Mif_Complex_t Complex_t;

   typedef enum
   {
      ZERO,              
      ONE,       
      UNKNOWN, 
   } Digital_State_t;

   typedef enum
   {
      STRONG,      
      RESISTIVE,  
      HI_IMPEDANCE,   
      UNDETERMINED,    
   } Digital_Strength_t;

   typedef struct
   {
      Digital_State_t    state;
      Digital_Strength_t strength;
   } Digital_t;

#endif