Changeset 404 for soft/giet_vm


Ignore:
Timestamp:
Sep 9, 2014, 3:16:15 PM (10 years ago)
Author:
cfuguet
Message:

mapping.py: when ramdisk is used, other ioc controller are disabled

  • All USE_IOC_* = 0 but the USE_IOC_RDK when ramdisk is used
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/mapping.py

    r403 r404  
    925925                    ioc_channels = periph.channels
    926926                    nb_ioc += 1
     927
     928                    if self.use_ramdisk: continue
     929
    927930                    if   ( periph.subtype == 'BDV' ): use_bdv = True
    928931                    elif ( periph.subtype == 'HBA' ): use_hba = True
     
    10031006        if self.use_ramdisk: nb_iocs += 1
    10041007        assert ( nb_iocs == 1 )
    1005                
     1008
    10061009        # Compute total number of processors
    10071010        for cluster in self.clusters:
     
    10631066        if self.use_ramdisk:
    10641067            for vseg in self.globs:
    1065                 if ( vseg.name == 'seg_ramdisk' ):
     1068                if ( vseg.name == 'seg_rdk' ):
    10661069                    seg_rdk_base  = vseg.vbase
    10671070                    seg_rdk_size  = vseg.vobjs[0].length
Note: See TracChangeset for help on using the changeset viewer.