Completato modulo TwoComplement

This commit is contained in:
2019-08-29 15:12:25 +02:00
parent 8b08af2782
commit 12f2e36d7c
166 changed files with 1038 additions and 6113 deletions

View File

@@ -0,0 +1,304 @@
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0xfbc00daa */
#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 = "/home/ise/gianni/IEEE754Adder/TwoComplement.vhd";
extern char *IEEE_P_2592010699;
unsigned char ieee_p_2592010699_sub_3488768496604610246_503743352(char *, unsigned char , unsigned char );
unsigned char ieee_p_2592010699_sub_3488768497506413324_503743352(char *, unsigned char , unsigned char );
static void work_a_3935631676_2318913362_p_0(char *t0)
{
char *t1;
char *t2;
int t3;
int t4;
unsigned int t5;
unsigned int t6;
unsigned int t7;
unsigned char t8;
char *t9;
char *t10;
char *t11;
char *t12;
char *t13;
char *t14;
LAB0: xsi_set_current_line(24, ng0);
LAB3: t1 = (t0 + 1032U);
t2 = *((char **)t1);
t3 = (8 - 1);
t4 = (t3 - 7);
t5 = (t4 * -1);
t6 = (1U * t5);
t7 = (0 + t6);
t1 = (t2 + t7);
t8 = *((unsigned char *)t1);
t9 = (t0 + 3832);
t10 = (t9 + 56U);
t11 = *((char **)t10);
t12 = (t11 + 56U);
t13 = *((char **)t12);
*((unsigned char *)t13) = t8;
xsi_driver_first_trans_fast(t9);
LAB2: t14 = (t0 + 3720);
*((int *)t14) = 1;
LAB1: return;
LAB4: goto LAB2;
}
static void work_a_3935631676_2318913362_p_1(char *t0)
{
int t1;
char *t2;
char *t3;
int t4;
int t5;
char *t6;
char *t7;
unsigned char t8;
char *t9;
int t10;
int t11;
unsigned int t12;
unsigned int t13;
unsigned int t14;
char *t15;
unsigned char t16;
unsigned char t17;
char *t18;
int t19;
int t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
char *t24;
char *t25;
char *t26;
char *t27;
char *t28;
LAB0: xsi_set_current_line(30, ng0);
t1 = (8 - 2);
t2 = (t0 + 5901);
*((int *)t2) = t1;
t3 = (t0 + 5905);
*((int *)t3) = 0;
t4 = t1;
t5 = 0;
LAB2: if (t4 >= t5)
goto LAB3;
LAB5: t2 = (t0 + 3736);
*((int *)t2) = 1;
LAB1: return;
LAB3: xsi_set_current_line(31, ng0);
t6 = (t0 + 1352U);
t7 = *((char **)t6);
t8 = *((unsigned char *)t7);
t6 = (t0 + 1032U);
t9 = *((char **)t6);
t6 = (t0 + 5901);
t10 = *((int *)t6);
t11 = (t10 - 7);
t12 = (t11 * -1);
xsi_vhdl_check_range_of_index(7, 0, -1, *((int *)t6));
t13 = (1U * t12);
t14 = (0 + t13);
t15 = (t9 + t14);
t16 = *((unsigned char *)t15);
t17 = ieee_p_2592010699_sub_3488768497506413324_503743352(IEEE_P_2592010699, t8, t16);
t18 = (t0 + 5901);
t19 = *((int *)t18);
t20 = (t19 - 6);
t21 = (t20 * -1);
t22 = (1 * t21);
t23 = (0U + t22);
t24 = (t0 + 3896);
t25 = (t24 + 56U);
t26 = *((char **)t25);
t27 = (t26 + 56U);
t28 = *((char **)t27);
*((unsigned char *)t28) = t17;
xsi_driver_first_trans_delta(t24, t23, 1, 0LL);
LAB4: t2 = (t0 + 5901);
t4 = *((int *)t2);
t3 = (t0 + 5905);
t5 = *((int *)t3);
if (t4 == t5)
goto LAB5;
LAB6: t1 = (t4 + -1);
t4 = t1;
t6 = (t0 + 5901);
*((int *)t6) = t4;
goto LAB2;
}
static void work_a_3935631676_2318913362_p_2(char *t0)
{
char *t1;
char *t2;
unsigned char t3;
char *t4;
int t5;
int t6;
int t7;
char *t8;
int t9;
int t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
char *t14;
char *t15;
char *t16;
unsigned char t17;
unsigned char t18;
int t19;
int t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
char *t24;
char *t25;
char *t26;
char *t27;
char *t28;
LAB0: xsi_set_current_line(42, ng0);
t1 = (t0 + 1352U);
t2 = *((char **)t1);
t3 = *((unsigned char *)t2);
t1 = (t0 + 1928U);
t4 = *((char **)t1);
t1 = (t4 + 0);
*((unsigned char *)t1) = t3;
xsi_set_current_line(44, ng0);
t5 = (8 - 2);
t1 = (t0 + 5909);
*((int *)t1) = 0;
t2 = (t0 + 5913);
*((int *)t2) = t5;
t6 = 0;
t7 = t5;
LAB2: if (t6 <= t7)
goto LAB3;
LAB5: xsi_set_current_line(49, ng0);
t1 = (t0 + 1928U);
t2 = *((char **)t1);
t3 = *((unsigned char *)t2);
t1 = (t0 + 3960);
t4 = (t1 + 56U);
t8 = *((char **)t4);
t14 = (t8 + 56U);
t15 = *((char **)t14);
*((unsigned char *)t15) = t3;
xsi_driver_first_trans_delta(t1, 0U, 1, 0LL);
t1 = (t0 + 3752);
*((int *)t1) = 1;
LAB1: return;
LAB3: xsi_set_current_line(45, ng0);
t4 = (t0 + 1512U);
t8 = *((char **)t4);
t4 = (t0 + 5909);
t9 = *((int *)t4);
t10 = (t9 - 6);
t11 = (t10 * -1);
xsi_vhdl_check_range_of_index(6, 0, -1, *((int *)t4));
t12 = (1U * t11);
t13 = (0 + t12);
t14 = (t8 + t13);
t3 = *((unsigned char *)t14);
t15 = (t0 + 1928U);
t16 = *((char **)t15);
t17 = *((unsigned char *)t16);
t18 = ieee_p_2592010699_sub_3488768497506413324_503743352(IEEE_P_2592010699, t3, t17);
t15 = (t0 + 5909);
t19 = *((int *)t15);
t20 = (t19 - 7);
t21 = (t20 * -1);
t22 = (1 * t21);
t23 = (0U + t22);
t24 = (t0 + 3960);
t25 = (t24 + 56U);
t26 = *((char **)t25);
t27 = (t26 + 56U);
t28 = *((char **)t27);
*((unsigned char *)t28) = t18;
xsi_driver_first_trans_delta(t24, t23, 1, 0LL);
xsi_set_current_line(46, ng0);
t1 = (t0 + 1512U);
t2 = *((char **)t1);
t1 = (t0 + 5909);
t5 = *((int *)t1);
t9 = (t5 - 6);
t11 = (t9 * -1);
xsi_vhdl_check_range_of_index(6, 0, -1, *((int *)t1));
t12 = (1U * t11);
t13 = (0 + t12);
t4 = (t2 + t13);
t3 = *((unsigned char *)t4);
t8 = (t0 + 1928U);
t14 = *((char **)t8);
t17 = *((unsigned char *)t14);
t18 = ieee_p_2592010699_sub_3488768496604610246_503743352(IEEE_P_2592010699, t3, t17);
t8 = (t0 + 1928U);
t15 = *((char **)t8);
t8 = (t15 + 0);
*((unsigned char *)t8) = t18;
LAB4: t1 = (t0 + 5909);
t6 = *((int *)t1);
t2 = (t0 + 5913);
t7 = *((int *)t2);
if (t6 == t7)
goto LAB5;
LAB6: t5 = (t6 + 1);
t6 = t5;
t4 = (t0 + 5909);
*((int *)t4) = t6;
goto LAB2;
}
extern void work_a_3935631676_2318913362_init()
{
static char *pe[] = {(void *)work_a_3935631676_2318913362_p_0,(void *)work_a_3935631676_2318913362_p_1,(void *)work_a_3935631676_2318913362_p_2};
xsi_register_didat("work_a_3935631676_2318913362", "isim/TwoComplementTest_isim_beh.exe.sim/work/a_3935631676_2318913362.didat");
xsi_register_executes(pe);
}