mem.isa (5736:426510e758ad) | mem.isa (5745:6b0f8306704b) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 664 unchanged lines hidden (view full) --- 673 { 'ea_code':ea_code }, 674 inst_flags) 675 memacc_iop = InstObjParams(name, Name, base_class, 676 { 'memacc_code':memacc_code, 'postacc_code':postacc_code }, 677 inst_flags) 678 679 if mem_flags: 680 mem_flags = [ 'Request::%s' % flag for flag in mem_flags ] | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 664 unchanged lines hidden (view full) --- 673 { 'ea_code':ea_code }, 674 inst_flags) 675 memacc_iop = InstObjParams(name, Name, base_class, 676 { 'memacc_code':memacc_code, 'postacc_code':postacc_code }, 677 inst_flags) 678 679 if mem_flags: 680 mem_flags = [ 'Request::%s' % flag for flag in mem_flags ] |
681 s = '\n\tmemAccessFlags.reset(' + string.join(mem_flags, '|') + ');' | 681 s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' |
682 iop.constructor += s 683 memacc_iop.constructor += s 684 685 # select templates 686 687 # The InitiateAcc template is the same for StoreCond templates as the 688 # corresponding Store template.. 689 StoreCondInitiateAcc = StoreInitiateAcc --- 85 unchanged lines hidden --- | 682 iop.constructor += s 683 memacc_iop.constructor += s 684 685 # select templates 686 687 # The InitiateAcc template is the same for StoreCond templates as the 688 # corresponding Store template.. 689 StoreCondInitiateAcc = StoreInitiateAcc --- 85 unchanged lines hidden --- |