⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p_3222816464.c

📁 32位单精度浮点加法器
💻 C
📖 第 1 页 / 共 5 页
字号:
/**********************************************************************/
/*   ____  ____                                                       */
/*  /   /\/   /                                                       */
/* /___/  \  /                                                        */
/* \   \   \/                                                       */
/*  \   \        Copyright (c) 2003-2009 Xilinx, Inc.                */
/*  /   /          All Right Reserved.                                 */
/* /---/   /\                                                         */
/* \   \  /  \                                                      */
/*  \___\/\___\                                                    */
/***********************************************************************/

/* This file is designed for use with ISim build 0xa0883be4 */

#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
extern char *STD_STANDARD;
extern char *IEEE_P_2592010699;
extern char *STD_TEXTIO;



int unisim_p_3222816464_sub_3182959421_279109243(char *t1, char *t2, char *t3)
{
    char t4[128];
    char t5[24];
    char t9[8];
    int t0;
    char *t6;
    char *t7;
    char *t8;
    char *t10;
    char *t11;
    char *t12;
    unsigned char t13;
    char *t14;
    char *t15;
    char *t16;
    int t17;
    int t18;
    int t19;
    int t20;
    int t21;
    int t22;
    int t23;
    int t24;
    int t25;
    int t26;
    char *t27;
    char *t28;
    int t29;
    int t30;
    char *t31;
    unsigned int t32;
    unsigned int t33;
    unsigned int t34;
    unsigned char t35;

LAB0:    t6 = (t4 + 4U);
    t7 = ((STD_STANDARD) + 384);
    t8 = (t6 + 88U);
    *((char **)t8) = t7;
    t10 = (t6 + 56U);
    *((char **)t10) = t9;
    xsi_type_set_default_value(t7, t9, 0);
    t11 = (t6 + 80U);
    *((unsigned int *)t11) = 4U;
    t12 = (t5 + 4U);
    t13 = (t2 != 0);
    if (t13 == 1)
        goto LAB3;

LAB2:    t14 = (t5 + 12U);
    *((char **)t14) = t3;
    t15 = (t6 + 56U);
    t16 = *((char **)t15);
    t15 = (t16 + 0);
    *((int *)t15) = 0;
    t7 = (t3 + 0U);
    t18 = *((int *)t7);
    t8 = (t3 + 4U);
    t19 = *((int *)t8);
    t10 = (t3 + 8U);
    t20 = *((int *)t10);
    if (t18 > t19)
        goto LAB8;

LAB9:    if (t20 == -1)
        goto LAB13;

LAB14:    t17 = t18;

LAB10:    t11 = (t3 + 0U);
    t22 = *((int *)t11);
    t15 = (t3 + 4U);
    t23 = *((int *)t15);
    t16 = (t3 + 8U);
    t24 = *((int *)t16);
    if (t22 > t23)
        goto LAB15;

LAB16:    if (t24 == -1)
        goto LAB20;

LAB21:    t21 = t23;

LAB17:    t25 = t21;
    t26 = t17;

LAB4:    if (t25 >= t26)
        goto LAB5;

LAB7:    t7 = (t6 + 56U);
    t8 = *((char **)t7);
    t17 = *((int *)t8);
    t0 = t17;

LAB1:    return t0;
LAB3:    *((char **)t12) = t2;
    goto LAB2;

LAB5:    t27 = (t6 + 56U);
    t28 = *((char **)t27);
    t29 = *((int *)t28);
    t30 = (t29 * 2);
    t27 = (t6 + 56U);
    t31 = *((char **)t27);
    t27 = (t31 + 0);
    *((int *)t27) = t30;
    t7 = (t3 + 0U);
    t17 = *((int *)t7);
    t8 = (t3 + 8U);
    t18 = *((int *)t8);
    t19 = (t25 - t17);
    t32 = (t19 * t18);
    t10 = (t3 + 4U);
    t20 = *((int *)t10);
    xsi_vhdl_check_range_of_index(t17, t20, t18, t25);
    t33 = (1U * t32);
    t34 = (0 + t33);
    t11 = (t2 + t34);
    t13 = *((unsigned char *)t11);
    t35 = (t13 == (unsigned char)3);
    if (t35 != 0)
        goto LAB22;

LAB24:
LAB23:
LAB6:    if (t25 == t26)
        goto LAB7;

LAB25:    t17 = (t25 + -1);
    t25 = t17;
    goto LAB4;

LAB8:    if (t20 == 1)
        goto LAB11;

LAB12:    t17 = t19;
    goto LAB10;

LAB11:    t17 = t18;
    goto LAB10;

LAB13:    t17 = t19;
    goto LAB10;

LAB15:    if (t24 == 1)
        goto LAB18;

LAB19:    t21 = t22;
    goto LAB17;

LAB18:    t21 = t23;
    goto LAB17;

LAB20:    t21 = t22;
    goto LAB17;

LAB22:    t15 = (t6 + 56U);
    t16 = *((char **)t15);
    t21 = *((int *)t16);
    t22 = (t21 + 1);
    t15 = (t6 + 56U);
    t27 = *((char **)t15);
    t15 = (t27 + 0);
    *((int *)t15) = t22;
    goto LAB23;

LAB26:;
}

char *unisim_p_3222816464_sub_2103271057_279109243(char *t1, char *t2, char *t3)
{
    char t4[128];
    char t5[24];
    char t6[16];
    char t11[16];
    char t16[16];
    char t54[16];
    char t55[16];
    char *t0;
    char *t7;
    char *t8;
    int t9;
    unsigned int t10;
    char *t12;
    int t13;
    char *t14;
    char *t15;
    char *t17;
    char *t18;
    char *t19;
    char *t20;
    unsigned char t21;
    char *t22;
    int t23;
    int t24;
    int t25;
    char *t26;
    int t27;
    char *t28;
    int t29;
    int t30;
    char *t31;
    int t32;
    unsigned int t33;
    unsigned int t34;
    char *t35;
    unsigned char t36;
    char *t37;
    char *t38;
    char *t40;
    char *t41;
    int t42;
    int t43;
    int t44;
    unsigned int t45;
    int t46;
    char *t47;
    int t48;
    char *t49;
    int t50;
    unsigned int t51;
    unsigned int t52;
    char *t53;
    static char *nl0[] = {&&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB9, &&LAB10, &&LAB11, &&LAB12, &&LAB13, &&LAB14, &&LAB15, &&LAB16, &&LAB17, &&LAB18, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25, &&LAB25};

LAB0:    t7 = (t6 + 0U);
    t8 = (t7 + 0U);
    *((int *)t8) = 4;
    t8 = (t7 + 4U);
    *((int *)t8) = 1;
    t8 = (t7 + 8U);
    *((int *)t8) = -1;
    t9 = (1 - 4);
    t10 = (t9 * -1);
    t10 = (t10 + 1);
    t8 = (t7 + 12U);
    *((unsigned int *)t8) = t10;
    t8 = (t11 + 0U);
    t12 = (t8 + 0U);
    *((int *)t12) = 15;
    t12 = (t8 + 4U);
    *((int *)t12) = 0;
    t12 = (t8 + 8U);
    *((int *)t12) = -1;
    t13 = (0 - 15);
    t10 = (t13 * -1);
    t10 = (t10 + 1);
    t12 = (t8 + 12U);
    *((unsigned int *)t12) = t10;
    t12 = (t4 + 4U);
    t14 = ((IEEE_P_2592010699) + 4024);
    t15 = (t12 + 88U);
    *((char **)t15) = t14;
    t17 = (t12 + 56U);
    *((char **)t17) = t16;
    xsi_type_set_default_value(t14, t16, t11);
    t18 = (t12 + 64U);
    *((char **)t18) = t11;
    t19 = (t12 + 80U);
    *((unsigned int *)t19) = 16U;
    t20 = (t5 + 4U);
    t21 = (t3 != 0);
    if (t21 == 1)
        goto LAB3;

LAB2:    t22 = (t5 + 12U);
    *((char **)t22) = t6;
    t23 = 0;
    t24 = 3;

LAB4:    if (t23 <= t24)
        goto LAB5;

LAB7:    t7 = (t12 + 56U);
    t8 = *((char **)t7);
    t7 = (t11 + 12U);
    t10 = *((unsigned int *)t7);
    t10 = (t10 * 1U);
    t0 = xsi_get_transient_memory(t10);
    memcpy(t0, t8, t10);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t15 = (t11 + 4U);
    t13 = *((int *)t15);
    t17 = (t11 + 8U);
    t23 = *((int *)t17);
    t18 = (t2 + 0U);
    t19 = (t18 + 0U);
    *((int *)t19) = t9;
    t19 = (t18 + 4U);
    *((int *)t19) = t13;
    t19 = (t18 + 8U);
    *((int *)t19) = t23;
    t24 = (t13 - t9);
    t33 = (t24 * t23);
    t33 = (t33 + 1);
    t19 = (t18 + 12U);
    *((unsigned int *)t19) = t33;

LAB1:    return t0;
LAB3:    *((char **)t20) = t3;
    goto LAB2;

LAB5:    t25 = (t23 + 1);
    t26 = (t6 + 0U);
    t27 = *((int *)t26);
    t28 = (t6 + 8U);
    t29 = *((int *)t28);
    t30 = (t25 - t27);
    t10 = (t30 * t29);
    t31 = (t6 + 4U);
    t32 = *((int *)t31);
    xsi_vhdl_check_range_of_index(t27, t32, t29, t25);
    t33 = (1U * t10);
    t34 = (0 + t33);
    t35 = (t3 + t34);
    t36 = *((unsigned char *)t35);
    t37 = (char *)((nl0) + t36);
    goto **((char **)t37);

LAB6:    if (t23 == t24)
        goto LAB7;

LAB28:    t9 = (t23 + 1);
    t23 = t9;
    goto LAB4;

LAB8:    goto LAB6;

LAB9:    t38 = (t1 + 18103);
    t40 = (t12 + 56U);
    t41 = *((char **)t40);
    t40 = (t11 + 0U);
    t42 = *((int *)t40);
    t43 = (t23 * 4);
    t44 = (t43 + 3);
    t45 = (t42 - t44);
    t46 = (t23 * 4);
    t47 = (t11 + 4U);
    t48 = *((int *)t47);
    t49 = (t11 + 8U);
    t50 = *((int *)t49);
    xsi_vhdl_check_range_of_slice(t42, t48, t50, t44, t46, -1);
    t51 = (t45 * 1U);
    t52 = (0 + t51);
    t53 = (t41 + t52);
    memcpy(t53, t38, 4U);
    goto LAB8;

LAB10:    t7 = (t1 + 18107);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB11:    t7 = (t1 + 18111);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB12:    t7 = (t1 + 18115);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB13:    t7 = (t1 + 18119);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB14:    t7 = (t1 + 18123);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB15:    t7 = (t1 + 18127);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB16:    t7 = (t1 + 18131);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB17:    t7 = (t1 + 18135);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

LAB18:    t7 = (t1 + 18139);
    t14 = (t12 + 56U);
    t15 = *((char **)t14);
    t14 = (t11 + 0U);
    t9 = *((int *)t14);
    t13 = (t23 * 4);
    t25 = (t13 + 3);
    t10 = (t9 - t25);
    t27 = (t23 * 4);
    t17 = (t11 + 4U);
    t29 = *((int *)t17);
    t18 = (t11 + 8U);
    t30 = *((int *)t18);
    xsi_vhdl_check_range_of_slice(t9, t29, t30, t25, t27, -1);
    t33 = (t10 * 1U);
    t34 = (0 + t33);
    t19 = (t15 + t34);
    memcpy(t19, t7, 4U);
    goto LAB8;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -