/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0x36e8438f */
#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 = "E:/iseprj/uart/dtos.v";
static int ng1[] = {8, 0};
static int ng2[] = {1, 0};
static int ng3[] = {0, 0};
static unsigned int ng4[] = {0U, 0U};
static unsigned int ng5[] = {1U, 0U};
static unsigned int ng6[] = {2U, 0U};
static unsigned int ng7[] = {9U, 0U};
static unsigned int ng8[] = {4U, 0U};
static void Cont_41_0(char *t0)
{
char t5[8];
char *t1;
char *t2;
char *t3;
char *t4;
char *t6;
char *t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
char *t14;
char *t15;
char *t16;
char *t17;
char *t18;
unsigned int t19;
unsigned int t20;
char *t21;
unsigned int t22;
unsigned int t23;
char *t24;
unsigned int t25;
unsigned int t26;
char *t27;
LAB0: t1 = (t0 + 2384U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(41, ng0);
t2 = (t0 + 1860);
t3 = (t2 + 36U);
t4 = *((char **)t3);
memset(t5, 0, 8);
t6 = (t5 + 4);
t7 = (t4 + 4);
t8 = *((unsigned int *)t4);
t9 = (t8 >> 8);
t10 = (t9 & 1);
*((unsigned int *)t5) = t10;
t11 = *((unsigned int *)t7);
t12 = (t11 >> 8);
t13 = (t12 & 1);
*((unsigned int *)t6) = t13;
t14 = (t0 + 2776);
t15 = (t14 + 32U);
t16 = *((char **)t15);
t17 = (t16 + 40U);
t18 = *((char **)t17);
memset(t18, 0, 8);
t19 = 1U;
t20 = t19;
t21 = (t5 + 4);
t22 = *((unsigned int *)t5);
t19 = (t19 & t22);
t23 = *((unsigned int *)t21);
t20 = (t20 & t23);
t24 = (t18 + 4);
t25 = *((unsigned int *)t18);
*((unsigned int *)t18) = (t25 | t19);
t26 = *((unsigned int *)t24);
*((unsigned int *)t24) = (t26 | t20);
xsi_driver_vfirst_trans(t14, 0, 0);
t27 = (t0 + 2724);
*((int *)t27) = 1;
LAB1: return;
}
static void Always_42_1(char *t0)
{
char t4[8];
char t15[8];
char t16[8];
char t17[8];
char *t1;
char *t2;
char *t3;
char *t5;
char *t6;
char *t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
char *t14;
char *t18;
char *t19;
char *t20;
char *t21;
char *t22;
char *t23;
unsigned int t24;
int t25;
char *t26;
unsigned int t27;
int t28;
int t29;
char *t30;
unsigned int t31;
int t32;
int t33;
unsigned int t34;
int t35;
unsigned int t36;
unsigned int t37;
int t38;
int t39;
LAB0: t1 = (t0 + 2528U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(42, ng0);
t2 = (t0 + 2732);
*((int *)t2) = 1;
t3 = (t0 + 2556);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(43, ng0);
LAB5: xsi_set_current_line(44, ng0);
t5 = (t0 + 1264U);
t6 = *((char **)t5);
memset(t4, 0, 8);
t5 = (t4 + 4);
t7 = (t6 + 4);
t8 = *((unsigned int *)t6);
t9 = (t8 >> 0);
*((unsigned int *)t4) = t9;
t10 = *((unsigned int *)t7);
t11 = (t10 >> 0);
*((unsigned int *)t5) = t11;
t12 = *((unsigned int *)t4);
*((unsigned int *)t4) = (t12 & 255U);
t13 = *((unsigned int *)t5);
*((unsigned int *)t5) = (t13 & 255U);
t14 = (t0 + 1860);
t18 = (t0 + 1860);
t19 = (t18 + 44U);
t20 = *((char **)t19);
t21 = ((char*)((ng1)));
t22 = ((char*)((ng2)));
xsi_vlog_convert_partindices(t15, t16, t17, ((int*)(t20)), 2, t21, 32, 1, t22, 32, 1);
t23 = (t15 + 4);
t24 = *((unsigned int *)t23);
t25 = (!(t24));
t26 = (t16 + 4);
t27 = *((unsigned int *)t26);
t28 = (!(t27));
t29 = (t25 && t28);
t30 = (t17 + 4);
t31 = *((unsigned int *)t30);
t32 = (!(t31));
t33 = (t29 && t32);
if (t33 == 1)
goto LAB6;
LAB7: xsi_set_current_line(45, ng0);
t2 = (t0 + 1264U);
t3 = *((char **)t2);
memset(t4, 0, 8);
t2 = (t3 + 4);
t8 = *((unsigned int *)t3);
t9 = *((unsigned int *)t3);
t9 = (t9 & 1);
if (*((unsigned int *)t2) != 0)
goto LAB8;
LAB9: t10 = 1;
LAB11: t11 = (t10 <= 7);
if (t11 == 1)
goto LAB12;
LAB13: *((unsigned int *)t4) = t9;
LAB10: t6 = (t0 + 1860);
t7 = (t0 + 1860);
t14 = (t7 + 44U);
t18 = *((char **)t14);
t19 = ((char*)((ng3)));
xsi_vlog_generic_convert_bit_index(t15, t18, 2, t19, 32, 1);
t20 = (t15 + 4);
t13 = *((unsigned int *)t20);
t25 = (!(t13));
if (t25 == 1)
goto LAB15;
LAB16: xsi_set_current_line(46, ng0);
t2 = (t0 + 1172U);
t3 = *((char **)t2);
t2 = (t3 + 4);
t8 = *((unsigned int *)t2);
t9 = (~(t8));
t10 = *((unsigned int *)t3);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB17;
LAB18: xsi_set_current_line(53, ng0);
LAB23: xsi_set_current_line(54, ng0);
t2 = (t0 + 1676);
t3 = (t2 + 36U);
t5 = *((char **)t3);
LAB24: t6 = ((char*)((ng4)));
t25 = xsi_vlog_unsigned_case_compare(t5, 3, t6, 3);
if (t25 == 1)
goto LAB25;
LAB26: t2 = ((char*)((ng5)));
t25 = xsi_vlog_unsigned_case_compare(t5, 3, t2, 3);
if (t25 == 1)
goto LAB27;
LAB28: t2 = ((char*)((ng6)));
t25 = xsi_vlog_unsigned_case_compare(t5, 3, t2, 3);
if (t25 == 1)
goto LAB29;
LAB30: t2 = ((char*)((ng8)));
t25 = xsi_vlog_unsigned_case_compare(t5, 3, t2, 3);
if (t25 == 1)
goto LAB31;
LAB32:
LAB33:
LAB19: goto LAB2;
LAB6: t34 = *((unsigned int *)t17);
t35 = (t34 + 0);
t36 = *((unsigned int *)t15);
t37 = *((unsigned int *)t16);
t38 = (t36 - t37);
t39 = (t38 + 1);
xsi_vlogvar_wait_assign_value(t14, t4, t35, *((unsigned int *)t16), t39, 0LL);
goto LAB7;
LAB8: t5 = (t4 + 4);
*((unsigned int *)t4) = 1;
*((unsigned int *)t5) = 1;
goto LAB10;
LAB12: t8 = (t8 >> 1);
t12 = (t8 & 1);
t9 = (t9 ^ t12);
LAB14: t10 = (t10 + 1);
goto LAB11;
LAB15: xsi_vlogvar_wait_assign_value(t6, t4, 0, *((unsigned int *)t15), 1, 0LL);
goto LAB16;
LAB17: xsi_set_current_line(47, ng0);
LAB20: xsi_set_current_line(48, ng0);
t5 = ((char*)((ng4)));
t6 = (t0 + 1676);
xsi_vlogvar_wait_assign_value(t6, t5, 0, 0, 3, 0LL);
xsi_set_current_line(49, ng0);
t2 = ((char*)((ng2)));
t3 = (t0 + 1860);
t5 = (t0 + 1860);
t6 = (t5 + 44U);
t7 = *((char **)t6);
t14 = ((char*)((ng1)));
xsi_vlog_generic_convert_bit_index(t4, t7, 2, t14, 32, 1);