aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-10-03 10:55:23 -0700
committerEddie Hung <eddie@fpgeh.com>2019-10-03 10:55:23 -0700
commit549d6ea467bddba24cc0ee43597b5ab62eb476e7 (patch)
treef33d1294939f4fcc6a7dc946d2c3d0d003f437e5 /kernel
parent655f1b2ac559f73a7d781ae25afd1ab3b898afc0 (diff)
parent2ed2e9c3e8f2d9d6882588857c8556a6e2af57ea (diff)
downloadyosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.tar.gz
yosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.tar.bz2
yosys-549d6ea467bddba24cc0ee43597b5ab62eb476e7.zip
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'kernel')
-rw-r--r--kernel/log.cc4
-rw-r--r--kernel/log.h1
-rw-r--r--kernel/yosys.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index e0a60ca12..c5ba0d10d 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -551,6 +551,10 @@ void log_dump_val_worker(RTLIL::SigSpec v) {
log("%s", log_signal(v));
}
+void log_dump_val_worker(RTLIL::State v) {
+ log("%s", log_signal(v));
+}
+
const char *log_signal(const RTLIL::SigSpec &sig, bool autoint)
{
std::stringstream buf;
diff --git a/kernel/log.h b/kernel/log.h
index 5f53f533a..1f15f3459 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -292,6 +292,7 @@ static inline void log_dump_val_worker(PerformanceTimer p) { log("%f seconds", p
static inline void log_dump_args_worker(const char *p YS_ATTRIBUTE(unused)) { log_assert(*p == 0); }
void log_dump_val_worker(RTLIL::IdString v);
void log_dump_val_worker(RTLIL::SigSpec v);
+void log_dump_val_worker(RTLIL::State v);
template<typename K, typename T, typename OPS>
static inline void log_dump_val_worker(dict<K, T, OPS> &v) {
diff --git a/kernel/yosys.h b/kernel/yosys.h
index a80cb00b4..179bfe07a 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -210,6 +210,7 @@ namespace RTLIL {
struct Module;
struct Design;
struct Monitor;
+ enum State : unsigned char;
}
namespace AST {