summaryrefslogtreecommitdiff
path: root/isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c
diff options
context:
space:
mode:
Diffstat (limited to 'isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c')
-rw-r--r--isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c171
1 files changed, 171 insertions, 0 deletions
diff --git a/isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c b/isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c
new file mode 100644
index 0000000..2e7841e
--- /dev/null
+++ b/isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.c
@@ -0,0 +1,171 @@
+/**********************************************************************/
+/* ____ ____ */
+/* / /\/ / */
+/* /___/ \ / */
+/* \ \ \/ */
+/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
+/* / / All Right Reserved. */
+/* /---/ /\ */
+/* \ \ / \ */
+/* \___\/\___\ */
+/***********************************************************************/
+
+/* This file is designed for use with ISim build 0x8ddf5b5d */
+
+#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/michael/Documents/School/EC311/lab5/FIRFilter.v";
+static int ng1[] = {0, 0};
+static int ng2[] = {20, 0};
+static int ng3[] = {15, 0};
+static int ng4[] = {10, 0};
+
+
+
+static void Always_33_0(char *t0)
+{
+ char t13[8];
+ char t14[8];
+ char t15[8];
+ char t20[8];
+ char t21[8];
+ char *t1;
+ char *t2;
+ char *t3;
+ char *t4;
+ char *t5;
+ unsigned int t6;
+ unsigned int t7;
+ unsigned int t8;
+ unsigned int t9;
+ unsigned int t10;
+ char *t11;
+ char *t12;
+ char *t16;
+ char *t17;
+ char *t18;
+ char *t19;
+ char *t22;
+
+LAB0: t1 = (t0 + 3000U);
+ t2 = *((char **)t1);
+ if (t2 == 0)
+ goto LAB2;
+
+LAB3: goto *t2;
+
+LAB2: xsi_set_current_line(33, ng0);
+ t2 = (t0 + 3568);
+ *((int *)t2) = 1;
+ t3 = (t0 + 3032);
+ *((char **)t3) = t2;
+ *((char **)t1) = &&LAB4;
+
+LAB1: return;
+LAB4: xsi_set_current_line(33, ng0);
+
+LAB5: xsi_set_current_line(34, ng0);
+ t4 = (t0 + 1368U);
+ t5 = *((char **)t4);
+ t4 = (t5 + 4);
+ t6 = *((unsigned int *)t4);
+ t7 = (~(t6));
+ t8 = *((unsigned int *)t5);
+ t9 = (t8 & t7);
+ t10 = (t9 != 0);
+ if (t10 > 0)
+ goto LAB6;
+
+LAB7: xsi_set_current_line(37, ng0);
+ t2 = ((char*)((ng2)));
+ t3 = (t0 + 1048U);
+ t4 = *((char **)t3);
+ memset(t13, 0, 8);
+ xsi_vlog_unsigned_multiply(t13, 32, t2, 32, t4, 8);
+ t3 = ((char*)((ng3)));
+ t5 = (t0 + 1928);
+ t11 = (t5 + 56U);
+ t12 = *((char **)t11);
+ memset(t14, 0, 8);
+ xsi_vlog_unsigned_multiply(t14, 32, t3, 32, t12, 16);
+ memset(t15, 0, 8);
+ xsi_vlog_unsigned_add(t15, 32, t13, 32, t14, 32);
+ t16 = ((char*)((ng4)));
+ t17 = (t0 + 2088);
+ t18 = (t17 + 56U);
+ t19 = *((char **)t18);
+ memset(t20, 0, 8);
+ xsi_vlog_unsigned_multiply(t20, 32, t16, 32, t19, 16);
+ memset(t21, 0, 8);
+ xsi_vlog_unsigned_add(t21, 32, t15, 32, t20, 32);
+ t22 = (t0 + 1768);
+ xsi_vlogvar_assign_value(t22, t21, 0, 0, 16);
+
+LAB8: goto LAB2;
+
+LAB6: xsi_set_current_line(35, ng0);
+ t11 = ((char*)((ng1)));
+ t12 = (t0 + 1768);
+ xsi_vlogvar_assign_value(t12, t11, 0, 0, 16);
+ goto LAB8;
+
+}
+
+static void Always_40_1(char *t0)
+{
+ char t8[8];
+ char *t1;
+ char *t2;
+ char *t3;
+ char *t4;
+ char *t5;
+ char *t6;
+ char *t7;
+
+LAB0: t1 = (t0 + 3248U);
+ t2 = *((char **)t1);
+ if (t2 == 0)
+ goto LAB2;
+
+LAB3: goto *t2;
+
+LAB2: xsi_set_current_line(40, ng0);
+ t2 = (t0 + 3584);
+ *((int *)t2) = 1;
+ t3 = (t0 + 3280);
+ *((char **)t3) = t2;
+ *((char **)t1) = &&LAB4;
+
+LAB1: return;
+LAB4: xsi_set_current_line(40, ng0);
+
+LAB5: xsi_set_current_line(41, ng0);
+ t4 = (t0 + 1928);
+ t5 = (t4 + 56U);
+ t6 = *((char **)t5);
+ t7 = (t0 + 2088);
+ xsi_vlogvar_assign_value(t7, t6, 0, 0, 16);
+ xsi_set_current_line(42, ng0);
+ t2 = (t0 + 1048U);
+ t3 = *((char **)t2);
+ memcpy(t8, t3, 8);
+ t2 = (t0 + 1928);
+ xsi_vlogvar_assign_value(t2, t8, 0, 0, 16);
+ goto LAB2;
+
+}
+
+
+extern void work_m_05679693179034758439_1243158022_init()
+{
+ static char *pe[] = {(void *)Always_33_0,(void *)Always_40_1};
+ xsi_register_didat("work_m_05679693179034758439_1243158022", "isim/TEST_FirFilter_isim_beh.exe.sim/work/m_05679693179034758439_1243158022.didat");
+ xsi_register_executes(pe);
+}