MOESI_hammer-dir.sm (14184:11ac1337c5e2) | MOESI_hammer-dir.sm (14300:22183ae13998) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 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 --- 413 unchanged lines hidden (view full) --- 422 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 423 pf_entry, tbe); 424 } else { 425 if (probeFilter.cacheAvail(in_msg.addr)) { 426 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 427 pf_entry, tbe); 428 } else { 429 trigger(Event:Pf_Replacement, | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 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 --- 413 unchanged lines hidden (view full) --- 422 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 423 pf_entry, tbe); 424 } else { 425 if (probeFilter.cacheAvail(in_msg.addr)) { 426 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 427 pf_entry, tbe); 428 } else { 429 trigger(Event:Pf_Replacement, |
430 probeFilter.cacheProbe(in_msg.addr), 431 getProbeFilterEntry(probeFilter.cacheProbe(in_msg.addr)), 432 TBEs[probeFilter.cacheProbe(in_msg.addr)]); | 430 Addr victim := probeFilter.cacheProbe(in_msg.addr); 431 trigger(Event:Pf_Replacement, 432 victim, getProbeFilterEntry(victim), TBEs[victim]); |
433 } 434 } 435 } else { 436 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 437 pf_entry, tbe); 438 } 439 } 440 } --- 1436 unchanged lines hidden --- | 433 } 434 } 435 } else { 436 trigger(cache_request_to_event(in_msg.Type), in_msg.addr, 437 pf_entry, tbe); 438 } 439 } 440 } --- 1436 unchanged lines hidden --- |