aboutsummaryrefslogtreecommitdiffstats
path: root/backends/cxxrtl/cxxrtl.h
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-12-12 19:55:57 +0000
committerGitHub <noreply@github.com>2020-12-12 19:55:57 +0000
commitd1b7007e5900868401a63e96a9ace534d09af7c0 (patch)
tree31f613f1cf16accc6cc641bfd1355e89434efa6b /backends/cxxrtl/cxxrtl.h
parent442d19f6478180cb4c49cc4e67e93ae391da9e65 (diff)
parente4aa8bc96b1650ef17d70a0ba7cd88b21b7e38dc (diff)
downloadyosys-d1b7007e5900868401a63e96a9ace534d09af7c0.tar.gz
yosys-d1b7007e5900868401a63e96a9ace534d09af7c0.tar.bz2
yosys-d1b7007e5900868401a63e96a9ace534d09af7c0.zip
Merge pull request #2485 from whitequark/cxxrtl-cell-input-buffering
cxxrtl: don't overwrite buffered inputs
Diffstat (limited to 'backends/cxxrtl/cxxrtl.h')
-rw-r--r--backends/cxxrtl/cxxrtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cxxrtl/cxxrtl.h b/backends/cxxrtl/cxxrtl.h
index eb7d7eaeb..d850fdba4 100644
--- a/backends/cxxrtl/cxxrtl.h
+++ b/backends/cxxrtl/cxxrtl.h
@@ -659,7 +659,7 @@ struct wire {
value<Bits> next;
wire() = default;
- constexpr wire(const value<Bits> &init) : curr(init), next(init) {}
+ explicit constexpr wire(const value<Bits> &init) : curr(init), next(init) {}
template<typename... Init>
explicit constexpr wire(Init ...init) : curr{init...}, next{init...} {}