Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
changeset 3:0ef08e9afd54
Output generator calls added to main
author | Me@portablequad |
---|---|
date | Wed, 30 Nov 2011 11:10:38 -0800 |
parents | d872169e58fa |
children | 2d3505958ca8 e6ee13464969 |
files | src/Application/main.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/src/Application/main.c Wed Nov 30 08:40:30 2011 -0800 1.2 +++ b/src/Application/main.c Wed Nov 30 11:10:38 2011 -0800 1.3 @@ -1,6 +1,6 @@ 1.4 /* 1.5 * Copyright 2011 OpenSourceStewardshipFoundation.org 1.6 - * Licensed under GNU General Public License version 2 1.7 + * Licensed under BSD 1.8 * 1.9 * author seanhalle@yahoo.com 1.10 */ 1.11 @@ -18,8 +18,8 @@ 1.12 1.13 int main( int argc, char **argv ) 1.14 { ParamBag *simParams; 1.15 + HWSimNetlist *netlist; 1.16 HWSimResults *simResults; 1.17 - HWSimNetlist *netlist; 1.18 1.19 printf( "param file name: %s\n", argv[1] ); 1.20 1.21 @@ -31,9 +31,9 @@ 1.22 HWSim__run_simulation( simParams, netlist ); 1.23 1.24 //HWSim 1.25 - printSimResults( simResults ); 1.26 + HWSim__generate_paraver_output( simResults ); 1.27 + HWSim__generate_vcd_output( simResults ); 1.28 1.29 - fflush(stdin); 1.30 exit(0); //cleans up 1.31 } 1.32