Index: mttroot/mtt/bin/trans/mtt_txt2m ================================================================== --- mttroot/mtt/bin/trans/mtt_txt2m +++ mttroot/mtt/bin/trans/mtt_txt2m @@ -13,10 +13,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.11 2000/10/17 09:55:21 peterg +# %% Added logic rep +# %% # %% Revision 1.10 2000/10/15 09:51:50 peterg # %% Set array code in input rep # %% # %% Revision 1.9 2000/10/13 11:07:33 peterg # %% Started conversion to new style state, input ext @@ -215,11 +218,11 @@ new_style=`strip_comments < $1_$2.txt| grep "$name(">/dev/null; echo $?` if [ "$new_style" = "1" ]; then echo >> $outfile echo " ## Set up the $name vector" >> $outfile - echo " $name = []; # Default to empty matrix (Remove in mtt_m2p)" >> $outfile + ## echo " $name = []; # Default to empty matrix (Remove in mtt_m2p)" >> $outfile mtt_name2array $1 $arraycode set >> $outfile else echo "Old-style file detected: not creating array translations" fi fi @@ -226,17 +229,11 @@ ## Special for logic rep if [ "$representation" = "logic" ]; then echo >> $outfile echo "## Open switches" >> $outfile - switch_txt2m Bounce >> $outfile + switch_txt2m $system >> $outfile fi # End of the function echo '## END Code' >> $outfile echo 'endfunction' >> $outfile - - - - - -