Changes between Version 15 and Version 16 of sysgen2opb


Ignore:
Timestamp:
Mar 7, 2006, 1:38:33 PM (18 years ago)
Author:
elliotng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysgen2opb

    v15 v16  
    88 1. Copy the script (''sysgen2opb.m'') and skelton peripheral model (''skeleton_periph_model.mdl'') to the same directory as your model.
    99 1. ''More Steps Here''
    10  1. Run `sysgen2opb('yourModelName', hex2dec('yourBaseAddress'))` in MATLAB if you do not want to have prefixes for gateways that are not converted to registers. Otherwise, if you want prefixes, run `sysgen2opb('yourModelName', hex2dec('yourBaseAddress'), 'prefix')` in Matlab. Replace `yourModelName` with your Simulink model's name without the `.mdl` extension. Replace `yourBaseAddress` with a 32-bit memory address in hexidecimal notation. `FF100000` is usually a safe choice. Replace `prefix` with the prefix name that you wish to have for the gateways that are not converted to registers.
     10 1. There are two different ways to run the script:
     11   1. Run `sysgen2opb('yourModelName', hex2dec('yourBaseAddress'))` in MATLAB if you do not want to have prefixes for gateways that are not converted to registers. Replace `yourModelName` with your Simulink model's name without the `.mdl` extension. Replace `yourBaseAddress` with a 32-bit memory address in hexidecimal notation. `FF100000` is usually a safe choice.
     12   1. Otherwise, if you want prefixes, run `sysgen2opb('yourModelName', hex2dec('yourBaseAddress'), 'prefix')` in Matlab. Replace `yourModelName` with your Simulink model's name without the `.mdl` extension. Replace `yourBaseAddress` with a 32-bit memory address in hexidecimal notation. `FF100000` is usually a safe choice. Replace `prefix` with the prefix name that you wish to have for the gateways that are not converted to registers.
    1113 1. There are two different sysgen2opb files and two different skeleton_periph_model files due to the differences between Sysgen7 and Sysgen8. sysgen72opb and skeleton_periph_model7 are the two files that should be used for Sysgen7. sysgen82opb and skeleton_periph_model8 are the two files that should be used for Sysgen8.
    1214