Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Specman でテストが終了したときに関数を呼び出すように指定する方法はありますか?
C の atexit() に似たものを探しています。
自分で試したことはありませんが、に対して定義されているfinalize()またはメソッドを確認する必要があります。のためにそれを拡張しようとすることができます。quit()any_structsys
finalize()
quit()
any_struct
sys
extend sys { finalize() is also { // ... }; };
乾杯、ダニエル