Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
comparison SimParams.h @ 12:4862640793b6
small changes to the netlist creation
| author | hausers |
|---|---|
| date | Tue, 31 Jan 2012 17:10:29 +0100 |
| parents | |
| children | ddd87abfeefd |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:d3b7b6936a14 |
|---|---|
| 1 /* | |
| 2 * Copyright 2011 OpenSourceStewardshipFoundation.org | |
| 3 * Licensed under GNU General Public License version 2 | |
| 4 */ | |
| 5 | |
| 6 #ifndef SIM_PARAMS_ | |
| 7 #define SIM_PARAMS_ | |
| 8 | |
| 9 #include <stdio.h> | |
| 10 #include <unistd.h> | |
| 11 #include <malloc.h> | |
| 12 | |
| 13 #include "../HWSim_lib/VMS/VMS_primitive_data_types.h" | |
| 14 #include "ParamHelper/Param.h" | |
| 15 | |
| 16 | |
| 17 //============================== Structures ============================== | |
| 18 typedef struct | |
| 19 { uint8 *guestApp; | |
| 20 uint8 *systemCode; | |
| 21 int32 numNodes; | |
| 22 } | |
| 23 SimulationResults; | |
| 24 | |
| 25 typedef struct | |
| 26 { uint8 *guestApp; | |
| 27 uint8 *systemCode; | |
| 28 int32 numNodes; | |
| 29 SimulationResults *simResults; | |
| 30 } | |
| 31 SimulationParams; | |
| 32 | |
| 33 //============================== Functions ================================ | |
| 34 void | |
| 35 printSimResults( SimulationResults simResults ); | |
| 36 | |
| 37 void | |
| 38 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); | |
| 39 | |
| 40 | |
| 41 //=========================================================================== | |
| 42 | |
| 43 #endif /**/ | |
| 44 | |
| 45 |
