Changes between Version 18 and Version 19 of sysgen2opb


Ignore:
Timestamp:
Mar 24, 2006, 3:17:13 PM (18 years ago)
Author:
elliotng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysgen2opb

    v18 v19  
    77 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.
    88 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.
    9  1. Copy the script (''sysgen2opb.m'') and skelton peripheral model (''skeleton_periph_model.mdl'') to the same directory as your model.
     9 1. Copy the script (''sysgen72opb.m'' or ''sysgen82opb.m'') and its relative skelton peripheral model (''skeleton_periph_model7.mdl'' or ''skeleton_periph_model8.mdl'') to the same directory as your model.
    1010 1. There are two different ways to run the script based on whether you want prefixes for gateways that are not converted to register:
    1111   1. If you do not want to have prefixes, 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.