Description
---------------------- My setup -------------------------
OS: Ubuntu 18.04
gcc / g++: 7.5.0
verilator: 4.111 devel rev v4.110-1-gdfd54a6a
systemc-2.3.3
When I tried to "make" in /riscv/top_tcm_axi/tb, I met the error logs.
I wonder what occurs the errors about VL_ATTR_COLD and how to I could solve it.
Could I get some help?
--------------------- Error Logs ----------------------------
axi4.h axi4_lite.h main.cpp makefile makefile.build_sysc_tb makefile.build_verilated makefile.generate_verilated obj_verilated riscv_tcm_top_rtl.cpp riscv_tcm_top_rtl.h sc_reset_gen.h testbench.h testbench_vbase.h verilated
bjkim@GPU2:~/riscv/top_tcm_axi/tb$ make
make -C ../../isa_sim lib
make[1]: Entering directory '/home/bjkim/riscv/isa_sim'
g++ -shared -o libisa_sim.a obj/riscv-sim/riscv.o obj/riscv-sim/riscv_inst_dump.o obj/riscv-sim/cosim_api.o obj/riscv-sim/riscv_main.o obj/riscv-sim/elf_load.o obj/riscv-sim/main.o
make[1]: Leaving directory '/home/bjkim/riscv/isa_sim'
make -f makefile.generate_verilated CORE=riscv
make[1]: Entering directory '/home/bjkim/riscv/top_tcm_axi/tb'
verilator --sc ../src_v/riscv_tcm_top --Mdir verilated -I./../src_v -I../../core/riscv --pins-sc-uint --l2-name v --trace
make[1]: Leaving directory '/home/bjkim/riscv/top_tcm_axi/tb'
make -f makefile.build_verilated
make[1]: Entering directory '/home/bjkim/riscv/top_tcm_axi/tb'
g++ -DVM_TRACE=1 -DVL_USER_FINISH=1 -fpic -Iverilated/ -I/home/bjkim/sysc/include -I/usr/share/verilator/include -I/usr/share/verilator/include/vltstd -c verilated//Vriscv_tcm_top__Syms.cpp -o obj_verilated/Vriscv_tcm_top__Syms.o
In file included from verilated//Vriscv_tcm_top__Syms.h:15:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top.h:158:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:158:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:166:71: error: expected ‘;’ at end of member declaration
static void _eval_initial(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:166:73: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _eval_initial(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:167:70: error: expected ‘;’ at end of member declaration
static void _eval_settle(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:167:72: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _eval_settle(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:169:73: error: expected ‘;’ at end of member declaration
static void _settle__TOP__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:169:75: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:170:73: error: expected ‘;’ at end of member declaration
static void _settle__TOP__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:170:75: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:175:64: error: expected ‘;’ at end of member declaration
static void traceFullSub0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:175:66: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceFullSub0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:176:64: error: expected ‘;’ at end of member declaration
static void traceFullTop0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:176:66: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceFullTop0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:177:64: error: expected ‘;’ at end of member declaration
static void traceInitSub0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:177:66: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInitSub0(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:178:63: error: expected ‘;’ at end of member declaration
static void traceInitTop(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:178:65: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInitTop(void* userp, VerilatedVcd* tracep) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:179:44: error: expected ‘;’ at end of member declaration
void traceRegister(VerilatedVcd* tracep) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:179:46: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void traceRegister(VerilatedVcd* tracep) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top.h:180:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top.h:180:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top.h:181:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:16:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_tcm_top.h:139:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_tcm_top.h:139:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_tcm_top.h:143:76: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_tcm_top.h:143:78: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_tcm_top.h:144:76: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_tcm_top.h:144:78: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_tcm_top.h:146:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_tcm_top.h:146:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_tcm_top.h:147:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:17:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:231:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:231:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:239:84: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:239:86: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:240:84: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:240:86: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:241:84: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__3(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:241:86: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__3(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:243:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:243:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_core__M0_MBffffffff.h:244:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:18:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_tcm_mem.h:134:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_tcm_mem.h:134:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_tcm_mem.h:138:83: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_tcm__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_tcm_mem.h:138:85: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_tcm__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_tcm_mem.h:142:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_tcm_mem.h:142:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_tcm_mem.h:143:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:19:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:106:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:106:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:112:91: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_csr__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:112:93: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_csr__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:113:91: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_csr__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:113:93: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_csr__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:114:91: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_csr__3(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:114:93: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_csr__3(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:116:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:116:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_csr__SB0.h:117:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:20:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_issue.h:236:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_issue.h:236:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_issue.h:242:93: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_issue__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_issue.h:242:95: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_issue__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_issue.h:243:93: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_issue__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_issue.h:243:95: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_issue__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_issue.h:256:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_issue.h:256:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_issue.h:257:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:21:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_tcm_mem_ram.h:58:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_tcm_mem_ram.h:58:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_tcm_mem_ram.h:62:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_tcm_mem_ram.h:62:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_tcm_mem_ram.h:63:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:22:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:117:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:117:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:123:102: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_csr__u_csrfile__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:123:104: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_csr__u_csrfile__1(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:124:102: error: expected ‘;’ at end of member declaration
static void _settle__TOP__v__u_core__u_csr__u_csrfile__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:124:104: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void _settle__TOP__v__u_core__u_csr__u_csrfile__2(Vriscv_tcm_top__Syms* __restrict vlSymsp) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:127:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:127:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_csr_regfile.h:128:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
In file included from verilated//Vriscv_tcm_top__Syms.h:23:0,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_regfile.h:86:26: error: expected ‘;’ at end of member declaration
void _ctor_var_reset() VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_regfile.h:86:28: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
void _ctor_var_reset() VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
verilated//Vriscv_tcm_top_riscv_regfile.h:91:75: error: expected ‘;’ at end of member declaration
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^
verilated//Vriscv_tcm_top_riscv_regfile.h:91:77: error: ‘VL_ATTR_COLD’ does not name a type; did you mean ‘VL_ATTR_PURE’?
static void traceInit(void* userp, VerilatedVcd* tracep, uint32_t code) VL_ATTR_COLD;
^~~~~~~~~~~~
VL_ATTR_PURE
In file included from /usr/share/verilator/include/verilated_sc.h:30:0,
from verilated//Vriscv_tcm_top__Syms.h:11,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
verilated//Vriscv_tcm_top_riscv_regfile.h:92:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
verilated//Vriscv_tcm_top__Syms.h:58:19: error: ‘VL_CACHE_LINE_BYTES’ was not declared in this scope
} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES);
^
/usr/share/verilator/include/verilatedos.h:37:62: note: in definition of macro ‘VL_ATTR_ALIGNED’
define VL_ATTR_ALIGNED(alignment) attribute ((aligned (alignment)))
^~~~~~~~~
verilated//Vriscv_tcm_top__Syms.cpp: In constructor ‘Vriscv_tcm_top__Syms::Vriscv_tcm_top__Syms(Vriscv_tcm_top*, const char*)’:
verilated//Vriscv_tcm_top__Syms.cpp:60:99: error: ‘SCOPE_OTHER’ is not a member of ‘VerilatedScope’
__Vscope_v__u_tcm__u_ram.configure(this, name(), "v.u_tcm.u_ram", "u_ram", 0, VerilatedScope::SCOPE_OTHER);
^~~~~~~~~~~
verilated//Vriscv_tcm_top__Syms.cpp:63:147: error: no matching function for call to ‘VerilatedScope::varInsert(int&, const char [4], IData ()[16384], bool, VerilatedVarType, int, int, int, int, int, int)’
__Vscope_v__u_tcm__u_ram.varInsert(__Vfinal,"ram", &(TOP__v__u_tcm__u_ram.ram), false, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,2 ,31,0 ,16383,0);
^
In file included from /usr/share/verilator/include/verilated_heavy.h:32:0,
from verilated//Vriscv_tcm_top__Syms.h:12,
from verilated//Vriscv_tcm_top__Syms.cpp:4:
/usr/share/verilator/include/verilated.h:285:10: note: candidate: void VerilatedScope::varInsert(int, const char, void*, VerilatedVarType, int, int, ...)
void varInsert(int finalize, const char* namep, void* datap,
^~~~~~~~~
/usr/share/verilator/include/verilated.h:285:10: note: no known conversion for argument 4 from ‘bool’ to ‘VerilatedVarType’
makefile.build_verilated:52: recipe for target 'obj_verilated/Vriscv_tcm_top__Syms.o' failed
make[1]: *** [obj_verilated/Vriscv_tcm_top__Syms.o] Error 1
make[1]: Leaving directory '/home/bjkim/riscv/top_tcm_axi/tb'
makefile:21: recipe for target 'build' failed
make: *** [build] Error 2