You definitely need to set up your stdin and stdout like this:
cmd='./mediabench/adpcm.alpha/bin/rawdaudio'
input='./mediabench/adpcm.alpha/data/clinton.adpcm'
output='./mediabench/adpcm.alpha/results/out.adpcm'
The 'cmd' parameter is only for specifying the executable and arguments,
not for I/O redirection.
It's not obvious from your output that anything is going wrong. This is
the same output you'd expect if the program executed correctly to
completion. Look at the 'stderr' and 'stdout' files to see the output
of the simulated program.
Steve
a b wrote:
Hi All
I am new to this simulator and trying to simulate
mediabench and tried almost all benchmarks within
mediabench but as soon as simulation starts, it ends
with message,
###
M5 simulation started Tue Dec 6 18:22:31 2005
command line: ./../m5/build/ALPHA_SE/m5.debug -d
./MEDIA/adpcm ./MEDIA/run.py
warn: Entering event queue. Starting simulation...
Terminating simulation -- halt instruction encountered
Simulation complete at Tue Dec 6 18:22:36 2005
###
my Liveprocees is like this:
class adpcm(LiveProcess):
cmd='./mediabench/adpcm.alpha/bin/rawdaudio <
./mediabench/adpcm.alpha/data/clinton.adpcm >
./mediabench/adpcm.alpha/results/out.adpcm'
I also tried the same thing with given full path
instead relative path but the result is same. Also
tried with cmd, input, and output but same thing.
Can anybody help me? Why I am not able to get it
done??
Thank you.
-John.
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users