2012-04-12 21:08:20 -04:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
2006-08-26 11:35:28 +00:00
|
|
|
//*************************************************************************
|
|
|
|
|
// DESCRIPTION: Verilator: Coverage modules/signals together
|
|
|
|
|
//
|
2019-11-07 22:33:59 -05:00
|
|
|
// Code available from: https://verilator.org
|
2006-08-26 11:35:28 +00:00
|
|
|
//
|
|
|
|
|
//*************************************************************************
|
|
|
|
|
//
|
2023-01-01 10:18:39 -05:00
|
|
|
// Copyright 2003-2023 by Wilson Snyder. This program is free software; you
|
2020-03-21 11:24:24 -04:00
|
|
|
// can redistribute it and/or modify it under the terms of either the GNU
|
2009-05-04 17:07:57 -04:00
|
|
|
// Lesser General Public License Version 3 or the Perl Artistic License
|
|
|
|
|
// Version 2.0.
|
2020-03-21 11:24:24 -04:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
2006-08-26 11:35:28 +00:00
|
|
|
//
|
|
|
|
|
//*************************************************************************
|
2019-10-04 20:17:11 -04:00
|
|
|
|
2021-03-03 21:57:07 -05:00
|
|
|
#ifndef VERILATOR_V3COVERAGE_H_
|
|
|
|
|
#define VERILATOR_V3COVERAGE_H_
|
2018-10-14 13:43:24 -04:00
|
|
|
|
2006-12-18 19:20:45 +00:00
|
|
|
#include "config_build.h"
|
|
|
|
|
#include "verilatedos.h"
|
2018-10-14 13:43:24 -04:00
|
|
|
|
2022-01-08 11:18:23 -05:00
|
|
|
class AstNetlist;
|
2006-08-26 11:35:28 +00:00
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
|
|
2020-11-18 21:32:16 -05:00
|
|
|
class V3Coverage final {
|
2006-08-26 11:35:28 +00:00
|
|
|
public:
|
2017-11-01 18:51:41 -04:00
|
|
|
// CONSTRUCTORS
|
2006-08-26 11:35:28 +00:00
|
|
|
static void coverage(AstNetlist* rootp);
|
|
|
|
|
};
|
|
|
|
|
|
2019-05-19 16:13:13 -04:00
|
|
|
#endif // Guard
|