process.cc (13180:79e680f62779) | process.cc (13182:9e030f636a8c) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 329 unchanged lines hidden (view full) --- 338 reset = false; 339 try { 340 func->call(); 341 } catch(ScHalt) { 342 std::cout << "Terminating process " << name() << std::endl; 343 } catch(const ::sc_core::sc_unwind_exception &exc) { 344 reset = exc.is_reset(); 345 _isUnwinding = false; | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 329 unchanged lines hidden (view full) --- 338 reset = false; 339 try { 340 func->call(); 341 } catch(ScHalt) { 342 std::cout << "Terminating process " << name() << std::endl; 343 } catch(const ::sc_core::sc_unwind_exception &exc) { 344 reset = exc.is_reset(); 345 _isUnwinding = false; |
346 } catch (...) { 347 throw; |
|
346 } 347 } while (reset); 348 needsStart(true); 349} 350 351void 352Process::addStatic(PendingSensitivity *s) 353{ --- 83 unchanged lines hidden --- | 348 } 349 } while (reset); 350 needsStart(true); 351} 352 353void 354Process::addStatic(PendingSensitivity *s) 355{ --- 83 unchanged lines hidden --- |