Changes between Version 12 and Version 13 of sysgen2opb
- Timestamp:
- Mar 3, 2006, 3:31:33 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
sysgen2opb
v12 v13 8 8 1. Copy the script (''sysgen2opb.m'') and skelton peripheral model (''skeleton_periph_model.mdl'') to the same directory as your model. 9 9 1. ''More Steps Here'' 10 1. Run `sysgen2opb('yourModelName', hex2dec('yourBaseAddress'))` 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.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. 11 11 12 12 == Current Limitations ==