-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVtop_b01.h
92 lines (78 loc) · 2.86 KB
/
Vtop_b01.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Primary design header
//
// This header should be included by all source files instantiating the design.
// The class here is then constructed to instantiate the design.
// See the Verilator manual for examples.
#ifndef _Vtop_H_
#define _Vtop_H_
#include "verilated.h"
#include "SpCoverage.h"
class Vtop__Syms;
//----------
VL_MODULE(Vtop) {
public:
// CELLS
// Public to allow access to /*verilator_public*/ items;
// otherwise the application code can consider these internals.
// PORTS
// The application code writes and reads these signals to
// propagate new values into/out from the Verilated model.
VL_IN8(reset,0,0);
VL_IN8(clock,0,0);
VL_IN8(line1,0,0);
VL_IN8(line2,0,0);
VL_OUT8(outp,0,0);
VL_OUT8(overflw,0,0);
//char __VpadToAlign6[2];
// LOCAL SIGNALS
// Internals; generally not touched by application code
VL_SIG8(v__DOT__process_1_stato,2,0);
//char __VpadToAlign13[3];
// LOCAL VARIABLES
// Internals; generally not touched by application code
VL_SIG8(__Vclklast__TOP__clock,0,0);
VL_SIG8(__Vclklast__TOP__reset,0,0);
//char __VpadToAlign22[2];
// INTERNAL VARIABLES
// Internals; generally not touched by application code
//char __VpadToAlign28[4];
Vtop__Syms* __VlSymsp; // Symbol table
private:
// Coverage
void __vlCoverInsert(uint32_t* countp, bool enable, const char* filenamep, int lineno, int column,
const char* hierp, const char* pagep, const char* commentp);
// PARAMETERS
// Parameters marked /*verilator public*/ for use by application code
public:
// CONSTRUCTORS
private:
Vtop& operator= (const Vtop&); ///< Copying not allowed
Vtop(const Vtop&); ///< Copying not allowed
public:
/// Construct the model; called by application code
/// The special name may be used to make a wrapper with a
/// single model invisible WRT DPI scope names.
Vtop(const char* name="TOP");
/// Destroy the model; called (often implicitly) by application code
~Vtop();
// USER METHODS
// API METHODS
/// Evaluate the model. Application must call when inputs change.
void eval();
/// Simulation complete, run final blocks. Application must call on completion.
void final();
// INTERNAL METHODS
private:
static void _eval_initial_loop(Vtop__Syms* __restrict vlSymsp);
public:
void __Vconfigure(Vtop__Syms* symsp, bool first);
private:
static IData _change_request(Vtop__Syms* __restrict vlSymsp);
public:
static void _eval(Vtop__Syms* __restrict vlSymsp);
static void _eval_initial(Vtop__Syms* __restrict vlSymsp);
static void _eval_settle(Vtop__Syms* __restrict vlSymsp);
static void _sequent__TOP__1(Vtop__Syms* __restrict vlSymsp);
} VL_ATTR_ALIGNED(64);
#endif /*guard*/