projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2097b
)
cxxrtl: don't crash on empty designs.
author
whitequark
<whitequark@whitequark.org>
Fri, 5 Mar 2021 11:05:19 +0000
(11:05 +0000)
committer
whitequark
<whitequark@whitequark.org>
Fri, 5 Mar 2021 11:05:19 +0000
(11:05 +0000)
backends/cxxrtl/cxxrtl_backend.cc
patch
|
blob
|
history
diff --git
a/backends/cxxrtl/cxxrtl_backend.cc
b/backends/cxxrtl/cxxrtl_backend.cc
index 39046bd782f22b520d9ff49b3cee06085b1577ac..a312c1e21dc38e274e4a611a404b0e9104b725cf 100644
(file)
--- a/
backends/cxxrtl/cxxrtl_backend.cc
+++ b/
backends/cxxrtl/cxxrtl_backend.cc
@@
-2763,7
+2763,7
@@
struct CxxrtlWorker {
// Recheck the design if it was modified.
if (did_anything)
check_design(design, has_top, has_sync_init, has_packed_mem);
- log_assert(
has_top &&
!has_sync_init && !has_packed_mem);
+ log_assert(!has_sync_init && !has_packed_mem);
log_pop();
if (did_anything)
log_spacer();