From 31f6c96b1fb0a3a6311a5aba404e96bbbe342dd9 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 7 Jun 2020 03:45:53 +0000 Subject: cxxrtl: add a C API for writing VCD dumps. This C API is fully featured. --- backends/cxxrtl/cxxrtl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends/cxxrtl/cxxrtl.h') diff --git a/backends/cxxrtl/cxxrtl.h b/backends/cxxrtl/cxxrtl.h index aba2c77a1..5f74899fd 100644 --- a/backends/cxxrtl/cxxrtl.h +++ b/backends/cxxrtl/cxxrtl.h @@ -728,6 +728,8 @@ struct debug_item : ::cxxrtl_object { MEMORY = CXXRTL_MEMORY, }; + debug_item(const ::cxxrtl_object &object) : cxxrtl_object(object) {} + template debug_item(value &item) { static_assert(sizeof(item) == value::chunks * sizeof(chunk_t), -- cgit v1.2.3