comparison main.c @ 24:b924d86f829e

works in sequential mode
author Sean <seanhalle@yahoo.com>
date Thu, 17 May 2012 20:42:24 +0200
parents c11c48758df3
children 0deed3ee0b02
comparison
equal deleted inserted replaced
8:e7edb80b384a 9:50243d57f6dd
8 #include <malloc.h> 8 #include <malloc.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
11 #include "SimParams.h" 11 #include "SimParams.h"
12 #include "HWSim__PingPong__HWDef/HWSim__PingPong__HWDef.h" 12 #include "HWSim__PingPong__HWDef/HWSim__PingPong__HWDef.h"
13 #include "../C_Libraries/ParamHelper/Param.h" 13 #include "ParamHelper/Param.h"
14 14
15 #include "../VMS_Implementations/HWSim_impl/HWSim_tests.h" 15 #include "HWSim_impl/HWSim_tests.h"
16 16
17 17
18 char __ProgrammName[] = "HWSim Hello World";
19 char __DataSet[255];
20 char __Scheduler[1];
21 18
22 /* 19 /*
23 * 20 *
24 * 21 *
25 */ 22 */
34 simParams = NULL; 31 simParams = NULL;
35 printf("param file name: %s\n", argv[1]); 32 printf("param file name: %s\n", argv[1]);
36 printf("Paraver trace file %s\n", argv[2]); 33 printf("Paraver trace file %s\n", argv[2]);
37 34
38 #else 35 #else
39 36 simParams = makeParamBag();
40 //TODO use the pure C branch of paramBag 37 readParamFileIntoBag( argv[1], simParams );
41 simParams = makeParamBag();
42 readParamFileIntoBag( argv[1], simParams );
43 #endif 38 #endif
44 39
45 netlist = createPingPongNetlist(); 40 netlist = createPingPongNetlist();
46 41
47 #ifdef FAKE 42 #ifdef FAKE