Python parameters types need analogous C++ types
authorNathan Binkert <binkertn@umich.edu>
Tue, 6 Mar 2007 19:16:15 +0000 (11:16 -0800)
committerNathan Binkert <binkertn@umich.edu>
Tue, 6 Mar 2007 19:16:15 +0000 (11:16 -0800)
--HG--
extra : convert_revision : d068dfec69b28d48fc299a4108e165decfaaace7

src/python/m5/params.py

index 7c60a855421f46e3706ed29120de40c488489140..9892df97caa122e211db8f85b3614c02ded8b729 100644 (file)
@@ -361,6 +361,7 @@ class MemorySize(CheckedInt):
         self._check()
 
 class MemorySize32(CheckedInt):
+    cxx_type = 'uint32_t'
     size = 32
     unsigned = True
     def __init__(self, value):