Changes between Version 3 and Version 4 of sysgen2opb


Ignore:
Timestamp:
Nov 20, 2005, 2:08:04 AM (18 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysgen2opb

    v3 v4  
    55
    66== Using sysgen2opb ==
     7 1. Prepend `"no_reg_"` to a gateway's name to prevent its being converted to a register. These gateways will become top-level HDL ports in the exported peripheral.
     8 1. Copy the script (''sysgen2opb.m'') and skelton peripheral model (''skeleton_periph_model.mdl'') to the same directory as your model.
     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.
     11
     12== Current Limitations ==
     13 * The script (''sysgen2opb.m'') and skelton peripheral model (''skeleton_periph_model.mdl'') must in the same directory as the model you wish to convert.
     14 * The model you're converting must contian at least one Gateway In and one Gateway Out which will become registers.
     15 * Gateways in masked subsystems will not be converted, regardless of their name. Use ports to bring the gateways out of the masked subsystem before converting the model.
     16 * The base address and memory size of the resulting OPB peripheral cannot be changed dynamically in XPS. These parameters must be entered manually in XPS and locked before autogenerating addresses for other peripherals.