Ignore:
Timestamp:
Apr 1, 2016, 2:22:44 PM (8 years ago)
Author:
bouyer
Message:

Use the provided x_width/y_width/p_width and not the default values

File:
1 edited

Legend:

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

    r762 r814  
    165165                  ram_size       = 0 ):            # RAM size per cluster (bytes)
    166166
    167         assert ( x_size <= (1<<X_WIDTH) )
    168         assert ( y_size <= (1<<Y_WIDTH) )
    169         assert ( nprocs <= (1<<P_WIDTH) )
     167        assert ( x_size <= (1<<x_width) )
     168        assert ( y_size <= (1<<y_width) )
     169        assert ( nprocs <= (1<<p_width) )
    170170
    171171        self.signature      = MAPPING_SIGNATURE
Note: See TracChangeset for help on using the changeset viewer.