# This shell script emits a C file. -*- C -*- # Generate the main loop of the simulator. # Syntax: genmloop.sh mono|multi cpu mainloop.in # FIXME: "multi" support is wip. type=$1 cpu=$2 file=$3 cat <