/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0x2f00eba5 */
#define XSI_HIDE_SYMBOL_SPEC true
#include "xsi.h"
#include <memory.h>
#ifdef __GNUC__
#include <stdlib.h>
#else
#include <malloc.h>
#define alloca _alloca
#endif
static const char *ng0 = "Function max ended without a return statement";
static const char *ng1 = "Function min ended without a return statement";
extern char *STD_STANDARD;
extern char *IEEE_P_2592010699;
static const char *ng4 = "Function \"sll\" ended without a return statement";
static const char *ng5 = "Function \"srl\" ended without a return statement";
static const char *ng6 = "Function \"rol\" ended without a return statement";
static const char *ng7 = "Function \"ror\" ended without a return statement";
static const char *ng8 = "Function to_integer ended without a return statement";
static const char *ng9 = "Function std_match ended without a return statement";
char *ieee_p_1242562249_sub_1547270861_1035706684(char *, char *, char *, char *, char *, char *);
char *ieee_p_1242562249_sub_1804770815_1035706684(char *, char *, char *, char *, unsigned char );
char *ieee_p_1242562249_sub_180853171_1035706684(char *, char *, int , int );
char *ieee_p_1242562249_sub_2045698577_1035706684(char *, char *, char *, char *, int );
char *ieee_p_1242562249_sub_2563015576_1035706684(char *, char *, int , int );
char *ieee_p_1242562249_sub_2570320491_1035706684(char *, char *, char *, char *, unsigned char );
char *ieee_p_1242562249_sub_2770553711_1035706684(char *, char *, char *, char *, int );
char *ieee_p_1242562249_sub_2892387531_1035706684(char *, char *, char *, char *);
char *ieee_p_1242562249_sub_3410769178_1035706684(char *, char *, char *, char *, int );
unsigned char ieee_p_1242562249_sub_3454299738_1035706684(char *, char *, char *, char *, char *);
unsigned char ieee_p_1242562249_sub_3472088553_1035706684(char *, char *, char *, char *, char *);
char *ieee_p_1242562249_sub_3481121704_1035706684(char *, char *, char *, char *);
char *ieee_p_1242562249_sub_3991088854_1035706684(char *, char *, char *, char *);
char *ieee_p_1242562249_sub_4004982826_1035706684(char *, char *, char *, char *, int );
unsigned char ieee_p_1242562249_sub_4063966832_1035706684(char *, char *, char *, char *, char *);
char *ieee_p_2592010699_sub_1306069469_503743352(char *, char *, char *, char *, char *, char *);
unsigned char ieee_p_2592010699_sub_1605435078_503743352(char *, unsigned char , unsigned char );
unsigned char ieee_p_2592010699_sub_1690584930_503743352(char *, unsigned char );
char *ieee_p_2592010699_sub_1697423399_503743352(char *, char *, char *, char *, char *, char *);
char *ieee_p_2592010699_sub_1735675855_503743352(char *, char *, char *, char *, char *, char *);
char *ieee_p_2592010699_sub_1837678034_503743352(char *, char *, char *, char *);
unsigned char ieee_p_2592010699_sub_2507238156_503743352(char *, unsigned char , unsigned char );
unsigned char ieee_p_2592010699_sub_2545490612_503743352(char *, unsigned char , unsigned char );
char *ieee_p_2592010699_sub_3798478767_503743352(char *, char *, char *, char *, char *, char *);
char *ieee_p_2592010699_sub_43738421_503743352(char *, char *, char *, char *, char *, char *);
char *ieee_p_2592010699_sub_795620321_503743352(char *, char *, char *, char *, char *, char *);
int ieee_p_1242562249_sub_3160373586_1035706684(char *t1, int t2, int t3)
{
char t5[16];
int t0;
char *t6;
char *t7;
unsigned char t8;
LAB0: t6 = (t5 + 4U);
*((int *)t6) = t2;
t7 = (t5 + 8U);
*((int *)t7) = t3;
t8 = (t2 > t3);
if (t8 != 0)
goto LAB2;
LAB4: t0 = t3;
LAB1: return t0;
LAB2: t0 = t2;
goto LAB1;
LAB3: xsi_error(ng0);
t0 = 0;
goto LAB1;
LAB5: goto LAB3;
LAB6: goto LAB3;
}
int ieee_p_1242562249_sub_3160650192_1035706684(char *t1, int t2, int t3)
{
char t5[16];
int t0;
char *t6;
char *t7;
unsigned char t8;
LAB0: t6 = (t5 + 4U);
*((int *)t6) = t2;
t7 = (t5 + 8U);
*((int *)t7) = t3;
t8 = (t2 < t3);
if (t8 != 0)
goto LAB2;
LAB4: t0 = t3;
LAB1: return t0;
LAB2: t0 = t2;
goto LAB1;
LAB3: xsi_error(ng1);
t0 = 0;
goto LAB1;
LAB5: goto LAB3;
LAB6: goto LAB3;
}
int ieee_p_1242562249_sub_3824177444_1035706684(char *t1, int t2)
{
char t3[144];
char t4[8];
char t8[8];
char t14[8];
int t0;
char *t5;
char *t6;
char *t7;
char *t9;
char *t10;
char *t11;
char *t12;
char *t13;
char *t15;
char *t16;
char *t17;
unsigned char t18;
char *t19;
char *t20;
int t21;
int t22;
int t23;
LAB0: t5 = (t3 + 4U);
t6 = ((STD_STANDARD) + 552);
t7 = (t5 + 52U);
*((char **)t7) = t6;
t9 = (t5 + 36U);
*((char **)t9) = t8;
xsi_type_set_default_value(t6, t8, 0);
t10 = (t5 + 48U);
*((unsigned int *)t10) = 4U;
t11 = (t3 + 72U);
t12 = ((STD_STANDARD) + 552);
t13 = (t11 + 52U);
*((char **)t13) = t12;
t15 = (t11 + 36U);
*((char **)t15) = t14;
xsi_type_set_default_value(t12, t14, 0);
t16 = (t11 + 48U);
*((unsigned int *)t16) = 4U;
t17 = (t4 + 4U);
*((int *)t17) = t2;
t18 = (t2 >= 0);
if (t18 != 0)
goto LAB2;
LAB4: t21 = (t2 + 1);
t22 = (-(t21));
t6 = (t11 + 36U);
t7 = *((char **)t6);
t6 = (t7 + 0);
*((int *)t6) = t22;
LAB3: t6 = (t5 + 36U);
t7 = *((char **)t6);
t6 = (t7 + 0);
*((int *)t6) = 1;
LAB5: t6 = (t11 + 36U);
t7 = *((char **)t6);
t21 = *((int *)t7);
t18 = (t21 > 0);
if (t18 != 0)
goto LAB6;
LAB8: t6 = (t5 + 36U);
t7 = *((char **)t6);
t21 = *((int *)t7);
t0 = t21;
LAB1: return t0;
LAB2: t19 = (t11 + 36U);
t20 = *((char **)t19);
t19 = (t20 + 0);
*((int *)t19) = t2;
goto LAB3;
LAB6: t6 = (t5 + 36U);
t9 = *((char **)t6);
t22 = *((int *)t9);
t23 = (t22 + 1);
t6 = (t5 + 36U);
t10 = *((char **)t6);
t6 = (t10 + 0);
*((int *)t6) = t23;
t6 = (t11 + 36U);
t7 = *((char **)t6);
t21 = *((int *)t7);
t22 = (t21 / 2);
t6 = (t11 + 36U);
t9 = *((char **)t6);
t6 = (t9 + 0);
*((int *)t6) = t22;
goto LAB5;
LAB7:;
LAB9:;
}
int ieee_p_1242562249_sub_3295552210_1035706684(char *t1, int t2)
{
char t3[144];
char t4[8];
char t8[8];
char t14[8];
int t0;
char *t5;
char *t6;
char *t7;
char *t9;
char *t10;
char *t11;
char *t12;
char *t13;
char *t15;
char *t16;
char *t17;
char *t18;
char *t19;
int t20;
unsigned char t21;
int t22;
int t23;
LAB0: t5 = (t3 + 4U);
t6 = ((STD_STANDARD) + 552);
t7 = (t5 + 52U);
*((char **)t7) = t6;
t9 = (t5 + 36U);
*((char **)t9) = t8;
xsi_type_set_default_value(t6, t8, 0);
t10 = (t5 + 48U);
*((unsigned int *)t10) = 4U;
t11 = (t3 + 72U);
t12