Changes between Version 81 and Version 82 of sysgen2opb


Ignore:
Timestamp:
Oct 18, 2006, 10:49:47 PM (18 years ago)
Author:
elliotng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysgen2opb

    v81 v82  
    2020 1. Copy the conversion script (''sysgen2opb.m'') and its required skelton peripheral model (''skeleton_periph_model.mdl'') to the same directory as your model.
    2121 1. Make sure MATLAB's current working directory is the folder containing your model, the sysgen2opb script and skeleton model. Run the script on the MATLAB command line like: `sysgen2opb('yourModelName', 'yourScriptChoice', 'yourSMChoice', 'yourCSChoice', 'yourAppend')`
    22 
    2322   1. Replace 'yourModelName' with your Simulink model's name without the .mdl extension.
    2423   1. Replace 'yourScriptChoice' with one of the following:
     
    3231     1. 'csoff' which will turn off the Configurable Subsystem Extension Script
    3332   1. For Simple Gateways, From/To Registers, Shared Memory Extension, and Configurable Subsystem Extension Script, replace 'yourAppend' with a string which will replace the "no_reg_" prefix attached to unconverted gateways.
    34    1. Additional Options
    35      1. If you want to run the From/To register script with no shared memory extension, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName')`
    36      1. If you want to run the simple gateway script with no shared memory extension, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'gw')`
    37      1. If you want to run the simple gateway script or From/To Register script with your choice on shared memory, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'yourScriptChoice', 'yourSMChoice')`
    38      1. If you want to run the simple gateway script or From/To Register script with your choice on shared memory, with your choice on configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'yourScriptChoice', 'yourSMChoice','yourCSChoice');`
     33 1. Additional Options
     34   1. If you want to run the From/To register script with no shared memory extension, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName')`
     35   1. If you want to run the simple gateway script with no shared memory extension, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'gw')`
     36   1. If you want to run the simple gateway script or From/To Register script with your choice on shared memory, no configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'yourScriptChoice', 'yourSMChoice')`
     37   1. If you want to run the simple gateway script or From/To Register script with your choice on shared memory, with your choice on configurable subsystem extension, and a blank string to strip away the "no_reg_" prefix, run: `sysgen2opb('yourModelName', 'yourScriptChoice', 'yourSMChoice','yourCSChoice');`
    3938
    4039
     
    5453== Known Bugs ==
    5554 * The script fails if there are no gateways or if there are no gateways out. It should fail only if there are no gateways at all.
    56  * Certain Installs of Sysgen 8.1 return different strings when "xlVersion" is run from the Matlab command line. This generates an error in the script's version checking-algorithm for certain Sysgen 8.1 installs. A temporary fix version for this issue may be found [http://warp.rice.edu/trac/browser/PlatformSupport/sysgen2opb/Sysgen2OPB_sysgen8.1tempFIX HERE]. Please read the accompanying readme file first.
    5755
    5856== General Guidelines ==