projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b7615
)
detect edges even when x
author
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 28 Jan 2022 12:53:27 +0000
(13:53 +0100)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 28 Jan 2022 12:53:27 +0000
(13:53 +0100)
kernel/fstdata.cc
patch
|
blob
|
history
diff --git
a/kernel/fstdata.cc
b/kernel/fstdata.cc
index 9170da45ef690f5032b9411ace23c6f5f3a1b739..53603ef496ed9b54cc660342bdcaebf02081fc41 100644
(file)
--- a/
kernel/fstdata.cc
+++ b/
kernel/fstdata.cc
@@
-114,9
+114,9
@@
void FstData::reconstruct_edges_callback(uint64_t pnt_time, fstHandle pnt_facidx
std::string val = std::string((const char *)pnt_value);
std::string prev = last_data[pnt_facidx];
if (pnt_time>=start_time) {
- if (prev
=="0
" && val=="1")
+ if (prev
!="1
" && val=="1")
edges.push_back(pnt_time);
- if (prev
=="1
" && val=="0")
+ if (prev
!="0
" && val=="0")
edges.push_back(pnt_time);
}
last_data[pnt_facidx] = val;