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 --- 656 unchanged lines hidden (view full) --- 665wait(double d, sc_time_unit u, const sc_event_and_list &eal) 666{ 667 wait(sc_time(d, u), eal); 668} 669 670void 671halt() 672{ |
673 ::sc_core::wait(); 674 throw ::sc_gem5::ScHalt(); |
675} 676 677void 678at_posedge(const sc_signal_in_if<bool> &s) 679{ 680 while (s.read()) 681 wait(); 682 while (!s.read()) --- 66 unchanged lines hidden --- |