Changes between Version 2 and Version 3 of DsxArchitectureCreation


Ignore:
Timestamp:
Jan 31, 2007, 6:36:58 PM (18 years ago)
Author:
Nicolas Pouillon
Comment:

Default params

Legend:

Unmodified
Added
Removed
Modified
  • DsxArchitectureCreation

    v2 v3  
    8282{{{
    8383class Parametrized(GenericArchitecture):
     84    defaults = {
     85        'nram': 1,
     86    }
    8487    def architecture(self):
    8588        self.vgmn = Vgmn( ’vgmn’ )
     
    98101        self.cram = []
    99102        self.uram = []
    100         for i in range(self.getParam('nram', 1)):
     103        for i in range(self.getParam('nram')):
    101104            cram = Segment( ’cram%d’%i, type = Cached )
    102105            uram = Segment( ’uram%d’%i, type = Uncached )