mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-22 20:32:07 +00:00
cxxrtl: add a C API for writing VCD dumps.
This C API is fully featured.
This commit is contained in:
parent
68362a9053
commit
31f6c96b1f
5 changed files with 204 additions and 2 deletions
|
@ -728,6 +728,8 @@ struct debug_item : ::cxxrtl_object {
|
|||
MEMORY = CXXRTL_MEMORY,
|
||||
};
|
||||
|
||||
debug_item(const ::cxxrtl_object &object) : cxxrtl_object(object) {}
|
||||
|
||||
template<size_t Bits>
|
||||
debug_item(value<Bits> &item) {
|
||||
static_assert(sizeof(item) == value<Bits>::chunks * sizeof(chunk_t),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue