diff 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
line diff
     1.1 --- a/main.c	Tue May 15 06:15:34 2012 -0700
     1.2 +++ b/main.c	Thu May 17 20:42:24 2012 +0200
     1.3 @@ -10,14 +10,11 @@
     1.4  
     1.5  #include "SimParams.h"
     1.6  #include "HWSim__PingPong__HWDef/HWSim__PingPong__HWDef.h"
     1.7 -#include "../C_Libraries/ParamHelper/Param.h"
     1.8 +#include "ParamHelper/Param.h"
     1.9  
    1.10 -#include "../VMS_Implementations/HWSim_impl/HWSim_tests.h"
    1.11 +#include "HWSim_impl/HWSim_tests.h"
    1.12  
    1.13  
    1.14 -char __ProgrammName[] = "HWSim Hello World";
    1.15 -char __DataSet[255];
    1.16 -char __Scheduler[1];
    1.17  
    1.18  /*
    1.19   *
    1.20 @@ -36,10 +33,8 @@
    1.21      printf("Paraver trace file %s\n", argv[2]);
    1.22  
    1.23  #else
    1.24 -
    1.25 -     //TODO use the pure C branch of paramBag
    1.26 -       simParams = makeParamBag();
    1.27 -       readParamFileIntoBag( argv[1], simParams );
    1.28 +   simParams = makeParamBag();
    1.29 +   readParamFileIntoBag( argv[1], simParams );
    1.30  #endif
    1.31  
    1.32      netlist = createPingPongNetlist();