Check.cc (8975:7f36d4436074) Check.cc (9171:ae88ecf37145)
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

--- 299 unchanged lines hidden (view full) ---

308 for (int byte_number=0; byte_number<CHECK_SIZE; byte_number++) {
309 if (uint8(m_value + byte_number) != data->getByte(byte_number)) {
310 panic("Action/check failure: proc: %d address: %s data: %s "
311 "byte_number: %d m_value+byte_number: %d byte: %d %s"
312 "Time: %d\n",
313 proc, address, data, byte_number,
314 (int)m_value + byte_number,
315 (int)data->getByte(byte_number), *this,
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

--- 299 unchanged lines hidden (view full) ---

308 for (int byte_number=0; byte_number<CHECK_SIZE; byte_number++) {
309 if (uint8(m_value + byte_number) != data->getByte(byte_number)) {
310 panic("Action/check failure: proc: %d address: %s data: %s "
311 "byte_number: %d m_value+byte_number: %d byte: %d %s"
312 "Time: %d\n",
313 proc, address, data, byte_number,
314 (int)m_value + byte_number,
315 (int)data->getByte(byte_number), *this,
316 g_eventQueue_ptr->getTime());
316 g_system_ptr->getTime());
317 }
318 }
319 DPRINTF(RubyTest, "Action/check success\n");
320 debugPrint();
321
322 // successful check complete, increment complete
323 m_tester_ptr->incrementCheckCompletions();
324
325 m_status = TesterStatus_Idle;
326 pickValue();
327
328 } else {
329 panic("Unexpected TesterStatus: %s proc: %d data: %s m_status: %s "
330 "time: %d\n",
317 }
318 }
319 DPRINTF(RubyTest, "Action/check success\n");
320 debugPrint();
321
322 // successful check complete, increment complete
323 m_tester_ptr->incrementCheckCompletions();
324
325 m_status = TesterStatus_Idle;
326 pickValue();
327
328 } else {
329 panic("Unexpected TesterStatus: %s proc: %d data: %s m_status: %s "
330 "time: %d\n",
331 *this, proc, data, m_status, g_eventQueue_ptr->getTime());
331 *this, proc, data, m_status, g_system_ptr->getTime());
332 }
333
334 DPRINTF(RubyTest, "proc: %d, Address: 0x%x\n", proc,
335 getAddress().getLineAddress());
336 DPRINTF(RubyTest, "Callback done\n");
337 debugPrint();
338}
339

--- 49 unchanged lines hidden ---
332 }
333
334 DPRINTF(RubyTest, "proc: %d, Address: 0x%x\n", proc,
335 getAddress().getLineAddress());
336 DPRINTF(RubyTest, "Callback done\n");
337 debugPrint();
338}
339

--- 49 unchanged lines hidden ---