Me@1: /* Me@1: * Copyright 2011 OpenSourceStewardshipFoundation.org Me@1: * Licensed under GNU General Public License version 2 Me@1: * Me@1: * author seanhalle@yahoo.com Me@1: */ Me@1: Me@1: #include Me@1: #include Me@1: Me@1: #include "SimParams.h" Me@1: #include "HWSim__Hello_World_HW/HWSim__Hello_World_HW.h" Me@1: Me@1: /* Me@1: * Me@1: * Me@1: */ Me@1: Me@1: int main( int argc, char **argv ) Me@1: { ParamBag *simParams; Me@1: HWSimResults *simResults; Me@1: Me@1: printf( "param file name: %s\n", argv[1] ); Me@1: Me@1: simParams = makeParamBag(); Me@1: readParamFileIntoBag( argv[1], simParams ); Me@1: Me@1: netlist = createPingPongNetlist(); Me@1: simResults = Me@1: HWSim__run_simulation( simParams, netlist ); Me@1: Me@1: //HWSim Me@1: printSimResults( simResults ); Me@1: Me@1: fflush(stdin); Me@1: exit(0); //cleans up Me@1: } Me@1: