projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d960fee
)
Check for nullptr
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 27 Nov 2019 08:51:39 +0000
(
00:51
-0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 27 Nov 2019 08:51:39 +0000
(
00:51
-0800)
passes/hierarchy/submod.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/submod.cc
b/passes/hierarchy/submod.cc
index 3494837789ee1a863fb952d62f6b604ccb6681c8..7b5e110cb3715f3dd0a8f075318e314cd6a78e09 100644
(file)
--- a/
passes/hierarchy/submod.cc
+++ b/
passes/hierarchy/submod.cc
@@
-141,7
+141,7
@@
struct SubmodWorker
else {
auto sig = sigmap(wire);
for (auto c : sig.chunks())
- if (c.wire->port_output) {
+ if (c.wire
&& c.wire
->port_output) {
flags.is_ext_used = true;
break;
}