Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‘flushCall’ is not a member of ‘Verilated’ #16

Open
bat52 opened this issue Nov 1, 2021 · 2 comments
Open

‘flushCall’ is not a member of ‘Verilated’ #16

bat52 opened this issue Nov 1, 2021 · 2 comments

Comments

@bat52
Copy link

bat52 commented Nov 1, 2021

I am trying to use pyverilog with the register files generated with peakRDL-verilog (https://github.com/hughjackson/PeakRDL-verilog) and I am getting the following error.

g++ -I. -MMD -I/usr/local/share/verilator/include -I/usr/local/share/verilator/include/vltstd -DVM_COVERAGE=0 -DVM_SC=0 -DVM_TRACE=1 -faligned-new -Wno-bool-operation -Wno-sign-compare -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wno-shadow -fPIC -shared --std=c++11 -DVL_USER_FINISH -std=gnu++14 -Os -c -o pyverilator_wrapper.o ../obj_dir/pyverilator_wrapper.cpp
../obj_dir/pyverilator_wrapper.cpp: In function ‘void vl_finish(const char*, int, const char*)’:
../obj_dir/pyverilator_wrapper.cpp:56:24: error: ‘flushCall’ is not a member of ‘Verilated’
56 | Verilated::flushCall();
| ^~~~~~~~~
make: *** [Vbasic_rf.mk:60: pyverilator_wrapper.o] Errore 1

@bat52
Copy link
Author

bat52 commented Dec 19, 2022

flushCall() has been removed, then restored for backwards compatibility starting from verilator version 4.102.
chipsalliance/chisel#1565

Discussed on this pull request too
#14

@bat52
Copy link
Author

bat52 commented Jul 30, 2023

I made a fork that deals with this issue ( https://github.com/bat52/pyverilator ) and is available over pypi as pyverilator-mm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant