1 |
8 |
jaytang |
// Verilated -*- C++ -*-
|
2 |
|
|
// DESCRIPTION: Verilator output: Primary design header
|
3 |
|
|
//
|
4 |
|
|
// This header should be included by all source files instantiating the design.
|
5 |
|
|
// The class here is then constructed to instantiate the design.
|
6 |
|
|
// See the Verilator manual for examples.
|
7 |
|
|
|
8 |
|
|
#ifndef _VLinkRunCCA_H_
|
9 |
|
|
#define _VLinkRunCCA_H_
|
10 |
|
|
|
11 |
|
|
#include "verilated.h"
|
12 |
|
|
#include "VLinkRunCCA__Inlines.h"
|
13 |
|
|
class VLinkRunCCA__Syms;
|
14 |
|
|
|
15 |
|
|
//----------
|
16 |
|
|
|
17 |
|
|
VL_MODULE(VLinkRunCCA) {
|
18 |
|
|
public:
|
19 |
|
|
// CELLS
|
20 |
|
|
// Public to allow access to /*verilator_public*/ items;
|
21 |
|
|
// otherwise the application code can consider these internals.
|
22 |
|
|
|
23 |
|
|
// PORTS
|
24 |
|
|
// The application code writes and reads these signals to
|
25 |
|
|
// propagate new values into/out from the Verilated model.
|
26 |
|
|
VL_IN8(clk,0,0);
|
27 |
|
|
VL_IN8(rst,0,0);
|
28 |
|
|
VL_IN8(datavalid,0,0);
|
29 |
|
|
VL_IN8(pix_in,0,0);
|
30 |
|
|
VL_OUT8(datavalid_out,0,0);
|
31 |
|
|
//char __VpadToAlign5[3];
|
32 |
|
|
VL_OUT64(box_out,35,0);
|
33 |
|
|
|
34 |
|
|
// LOCAL SIGNALS
|
35 |
|
|
// Internals; generally not touched by application code
|
36 |
|
|
VL_SIG8(v__DOT__n_waddr,7,0);
|
37 |
|
|
VL_SIG8(v__DOT__n_wdata,7,0);
|
38 |
|
|
VL_SIG8(v__DOT__n_rdata,7,0);
|
39 |
|
|
VL_SIG8(v__DOT__h_waddr,7,0);
|
40 |
|
|
VL_SIG8(v__DOT__h_wdata,7,0);
|
41 |
|
|
VL_SIG8(v__DOT__h_rdata,7,0);
|
42 |
|
|
VL_SIG8(v__DOT__t_waddr,7,0);
|
43 |
|
|
VL_SIG8(v__DOT__t_wdata,7,0);
|
44 |
|
|
VL_SIG8(v__DOT__t_raddr,7,0);
|
45 |
|
|
VL_SIG8(v__DOT__t_rdata,7,0);
|
46 |
|
|
VL_SIG8(v__DOT__d_waddr,7,0);
|
47 |
|
|
VL_SIG8(v__DOT__n_we,0,0);
|
48 |
|
|
VL_SIG8(v__DOT__h_we,0,0);
|
49 |
|
|
VL_SIG8(v__DOT__t_we,0,0);
|
50 |
|
|
VL_SIG8(v__DOT__d_we,0,0);
|
51 |
|
|
VL_SIG8(v__DOT__A,0,0);
|
52 |
|
|
VL_SIG8(v__DOT__B,0,0);
|
53 |
|
|
VL_SIG8(v__DOT__C,0,0);
|
54 |
|
|
VL_SIG8(v__DOT__D,0,0);
|
55 |
|
|
VL_SIG8(v__DOT__fp,0,0);
|
56 |
|
|
VL_SIG8(v__DOT__fn,0,0);
|
57 |
|
|
VL_SIG8(v__DOT__O,0,0);
|
58 |
|
|
VL_SIG8(v__DOT__HCN,0,0);
|
59 |
|
|
VL_SIG8(v__DOT__DMG,0,0);
|
60 |
|
|
VL_SIG8(v__DOT__EOC,0,0);
|
61 |
|
|
VL_SIG8(v__DOT__p,7,0);
|
62 |
|
|
VL_SIG8(v__DOT__hp,7,0);
|
63 |
|
|
VL_SIG8(v__DOT__tp,7,0);
|
64 |
|
|
VL_SIG8(v__DOT__np,7,0);
|
65 |
|
|
VL_SIG8(v__DOT__left,0,0);
|
66 |
|
|
VL_SIG8(v__DOT__Next_Table__DOT__read_addr_reg,7,0);
|
67 |
|
|
VL_SIG8(v__DOT__Head_Table__DOT__read_addr_reg,7,0);
|
68 |
|
|
VL_SIG8(v__DOT__Tail_Table__DOT__read_addr_reg,7,0);
|
69 |
|
|
VL_SIG8(v__DOT__Data_Table__DOT__read_addr_reg,7,0);
|
70 |
|
|
VL_SIG8(v__DOT__HF__DOT__top,0,0);
|
71 |
|
|
VL_SIG8(v__DOT__HF__DOT__x,0,0);
|
72 |
|
|
VL_SIG8(v__DOT__HF__DOT__right,0,0);
|
73 |
|
|
VL_SIG8(v__DOT__TR__DOT__Rtp,7,0);
|
74 |
|
|
VL_SIG8(v__DOT__TR__DOT__pc,7,0);
|
75 |
|
|
VL_SIG8(v__DOT__ES__DOT__cc,7,0);
|
76 |
|
|
VL_SIG8(v__DOT__ES__DOT__h,7,0);
|
77 |
|
|
VL_SIG8(v__DOT__ES__DOT__f,0,0);
|
78 |
|
|
VL_SIG8(v__DOT__ES__DOT__HBF,0,0);
|
79 |
|
|
VL_SIG8(v__DOT__ES__DOT__Ec,0,0);
|
80 |
|
|
VL_SIG16(v__DOT__FA__DOT__x,8,0);
|
81 |
|
|
VL_SIG16(v__DOT__FA__DOT__y,8,0);
|
82 |
|
|
VL_SIG16(v__DOT__FA__DOT__minx1,8,0);
|
83 |
|
|
VL_SIG16(v__DOT__FA__DOT__maxx1,8,0);
|
84 |
|
|
VL_SIG16(v__DOT__FA__DOT__miny1,8,0);
|
85 |
|
|
VL_SIG16(v__DOT__FA__DOT__maxy1,8,0);
|
86 |
|
|
//char __VpadToAlign76[4];
|
87 |
|
|
VL_SIGW(v__DOT__RBHF__DOT__R,509,0,16);
|
88 |
|
|
VL_SIGW(v__DOT__RB__DOT__R,509,0,16);
|
89 |
|
|
VL_SIG64(v__DOT__d_rdata,35,0);
|
90 |
|
|
VL_SIG64(v__DOT__d_wdata,35,0);
|
91 |
|
|
VL_SIG64(v__DOT__d,35,0);
|
92 |
|
|
VL_SIG64(v__DOT__dp,35,0);
|
93 |
|
|
VL_SIG64(v__DOT__TR__DOT__Rdp,35,0);
|
94 |
|
|
VL_SIG8(v__DOT__Next_Table__DOT__ram[256],7,0);
|
95 |
|
|
VL_SIG8(v__DOT__Head_Table__DOT__ram[256],7,0);
|
96 |
|
|
VL_SIG8(v__DOT__Tail_Table__DOT__ram[256],7,0);
|
97 |
|
|
VL_SIG64(v__DOT__Data_Table__DOT__ram[256],35,0);
|
98 |
|
|
|
99 |
|
|
// LOCAL VARIABLES
|
100 |
|
|
// Internals; generally not touched by application code
|
101 |
|
|
VL_SIG8(__Vdly__v__DOT__B,0,0);
|
102 |
|
|
VL_SIG8(__Vclklast__TOP__clk,0,0);
|
103 |
|
|
VL_SIG8(__Vclklast__TOP__rst,0,0);
|
104 |
|
|
//char __VpadToAlign3071[1];
|
105 |
|
|
VL_SIGW(__Vdly__v__DOT__RB__DOT__R,509,0,16);
|
106 |
|
|
|
107 |
|
|
// INTERNAL VARIABLES
|
108 |
|
|
// Internals; generally not touched by application code
|
109 |
|
|
//char __VpadToAlign3140[4];
|
110 |
|
|
VLinkRunCCA__Syms* __VlSymsp; // Symbol table
|
111 |
|
|
|
112 |
|
|
// PARAMETERS
|
113 |
|
|
// Parameters marked /*verilator public*/ for use by application code
|
114 |
|
|
|
115 |
|
|
// CONSTRUCTORS
|
116 |
|
|
private:
|
117 |
|
|
VLinkRunCCA& operator= (const VLinkRunCCA&); ///< Copying not allowed
|
118 |
|
|
VLinkRunCCA(const VLinkRunCCA&); ///< Copying not allowed
|
119 |
|
|
public:
|
120 |
|
|
/// Construct the model; called by application code
|
121 |
|
|
/// The special name may be used to make a wrapper with a
|
122 |
|
|
/// single model invisible WRT DPI scope names.
|
123 |
|
|
VLinkRunCCA(const char* name="TOP");
|
124 |
|
|
/// Destroy the model; called (often implicitly) by application code
|
125 |
|
|
~VLinkRunCCA();
|
126 |
|
|
|
127 |
|
|
// USER METHODS
|
128 |
|
|
|
129 |
|
|
// API METHODS
|
130 |
|
|
/// Evaluate the model. Application must call when inputs change.
|
131 |
|
|
void eval();
|
132 |
|
|
/// Simulation complete, run final blocks. Application must call on completion.
|
133 |
|
|
void final();
|
134 |
|
|
|
135 |
|
|
// INTERNAL METHODS
|
136 |
|
|
private:
|
137 |
|
|
static void _eval_initial_loop(VLinkRunCCA__Syms* __restrict vlSymsp);
|
138 |
|
|
public:
|
139 |
|
|
void __Vconfigure(VLinkRunCCA__Syms* symsp, bool first);
|
140 |
|
|
private:
|
141 |
|
|
static IData _change_request(VLinkRunCCA__Syms* __restrict vlSymsp);
|
142 |
|
|
public:
|
143 |
|
|
static void _eval(VLinkRunCCA__Syms* __restrict vlSymsp);
|
144 |
|
|
static void _eval_initial(VLinkRunCCA__Syms* __restrict vlSymsp);
|
145 |
|
|
static void _eval_settle(VLinkRunCCA__Syms* __restrict vlSymsp);
|
146 |
|
|
static void _sequent__TOP__1(VLinkRunCCA__Syms* __restrict vlSymsp);
|
147 |
|
|
static void _sequent__TOP__2(VLinkRunCCA__Syms* __restrict vlSymsp);
|
148 |
|
|
static void _sequent__TOP__4(VLinkRunCCA__Syms* __restrict vlSymsp);
|
149 |
|
|
static void _sequent__TOP__5(VLinkRunCCA__Syms* __restrict vlSymsp);
|
150 |
|
|
static void _sequent__TOP__7(VLinkRunCCA__Syms* __restrict vlSymsp);
|
151 |
|
|
static void _sequent__TOP__9(VLinkRunCCA__Syms* __restrict vlSymsp);
|
152 |
|
|
static void _settle__TOP__3(VLinkRunCCA__Syms* __restrict vlSymsp);
|
153 |
|
|
static void _settle__TOP__6(VLinkRunCCA__Syms* __restrict vlSymsp);
|
154 |
|
|
static void _settle__TOP__8(VLinkRunCCA__Syms* __restrict vlSymsp);
|
155 |
|
|
} VL_ATTR_ALIGNED(64);
|
156 |
|
|
|
157 |
|
|
#endif /*guard*/
|