Changes between Version 3 and Version 4 of MwmrCoprocCreation


Ignore:
Timestamp:
Mar 18, 2009, 2:06:06 PM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MwmrCoprocCreation

    v3 v4  
    9090
    9191    # first argument is your current platform (the one from soclib.Architecture()
    92     # second argument is base name, coprocessor will use "NAME", and controller "NAME_ctrl"
    93     ctrl, coproc = idct.instanciate(arch, 'idct0') # here names are "idct0" and "idct0_ctrl"
     92    # second and third arguments are coprocessor and controller names
     93    ctrl, coproc = idct.instanciate(arch, 'idct0', 'idct0_ctrl') # here names are "idct0" and "idct0_ctrl"
    9494
    9595    # Connections between the controller and the coprocessor has been completed (fifos, config, status)