2016-05-12 13:19:02 +02:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
|
|
|
//*************************************************************************
|
2016-10-23 20:27:57 +02:00
|
|
|
// DESCRIPTION: Verilator: Emit CFunc's for class construction and configuration
|
2016-05-12 13:19:02 +02:00
|
|
|
//
|
2019-11-08 04:33:59 +01:00
|
|
|
// Code available from: https://verilator.org
|
2016-05-12 13:19:02 +02:00
|
|
|
//
|
|
|
|
|
//*************************************************************************
|
|
|
|
|
//
|
2024-01-01 09:19:59 +01:00
|
|
|
// Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
2020-03-21 16:24:24 +01:00
|
|
|
// can redistribute it and/or modify it under the terms of either the GNU
|
2016-05-12 13:19:02 +02:00
|
|
|
// Lesser General Public License Version 3 or the Perl Artistic License
|
|
|
|
|
// Version 2.0.
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
2016-05-12 13:19:02 +02:00
|
|
|
//
|
|
|
|
|
//*************************************************************************
|
2019-10-05 02:17:11 +02:00
|
|
|
|
2021-03-04 03:57:07 +01:00
|
|
|
#ifndef VERILATOR_V3CCTORS_H_
|
|
|
|
|
#define VERILATOR_V3CCTORS_H_
|
2018-10-14 19:43:24 +02:00
|
|
|
|
2016-05-12 13:19:02 +02:00
|
|
|
#include "config_build.h"
|
|
|
|
|
#include "verilatedos.h"
|
2018-10-14 19:43:24 +02:00
|
|
|
|
2016-05-12 13:19:02 +02:00
|
|
|
//============================================================================
|
|
|
|
|
|
2020-11-19 03:32:16 +01:00
|
|
|
class V3CCtors final {
|
2016-05-12 13:19:02 +02:00
|
|
|
public:
|
2023-09-25 04:12:23 +02:00
|
|
|
static void cctorsAll() VL_MT_DISABLED;
|
2020-03-16 04:20:33 +01:00
|
|
|
|
2017-11-06 03:47:55 +01:00
|
|
|
private:
|
2023-09-25 04:12:23 +02:00
|
|
|
static void evalAsserts() VL_MT_DISABLED;
|
2016-05-12 13:19:02 +02:00
|
|
|
};
|
|
|
|
|
|
2019-05-19 22:13:13 +02:00
|
|
|
#endif // Guard
|