util.isa (3953:300d526414e6) | util.isa (4056:f8f1dffc5913) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2006 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 --- 52 unchanged lines hidden (view full) --- 61 62 if mem_flags: 63 s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' 64 iop.constructor += s 65 memacc_iop.constructor += s 66 67 # select templates 68 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2006 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 --- 52 unchanged lines hidden (view full) --- 61 62 if mem_flags: 63 s = '\n\tmemAccessFlags = ' + string.join(mem_flags, '|') + ';' 64 iop.constructor += s 65 memacc_iop.constructor += s 66 67 # select templates 68 |
69 # define aliases... most StoreCond templates are the same as the 70 # corresponding Store templates (only CompleteAcc is different). 71 StoreCondMemAccExecute = StoreMemAccExecute 72 StoreCondExecute = StoreExecute | 69 # The InitiateAcc template is the same for StoreCond templates as the 70 # corresponding Store template.. |
73 StoreCondInitiateAcc = StoreInitiateAcc 74 75 memAccExecTemplate = eval(exec_template_base + 'MemAccExecute') 76 fullExecTemplate = eval(exec_template_base + 'Execute') 77 initiateAccTemplate = eval(exec_template_base + 'InitiateAcc') 78 completeAccTemplate = eval(exec_template_base + 'CompleteAcc') 79 80 # (header_output, decoder_output, decode_block, exec_output) --- 75 unchanged lines hidden --- | 71 StoreCondInitiateAcc = StoreInitiateAcc 72 73 memAccExecTemplate = eval(exec_template_base + 'MemAccExecute') 74 fullExecTemplate = eval(exec_template_base + 'Execute') 75 initiateAccTemplate = eval(exec_template_base + 'InitiateAcc') 76 completeAccTemplate = eval(exec_template_base + 'CompleteAcc') 77 78 # (header_output, decoder_output, decode_block, exec_output) --- 75 unchanged lines hidden --- |