aboutsummaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-09-02 15:23:40 +0000
committerwhitequark <whitequark@whitequark.org>2020-09-02 15:23:49 +0000
commit8d6e5c63916bcff84164240cccce0e717e489a8d (patch)
tree31e21cfc6b622ba1a49ad18f3f8af151c27921ab /backends
parentd880f6eda286301fa5ad2a914bdfba8c5c02d75a (diff)
downloadyosys-8d6e5c63916bcff84164240cccce0e717e489a8d.tar.gz
yosys-8d6e5c63916bcff84164240cccce0e717e489a8d.tar.bz2
yosys-8d6e5c63916bcff84164240cccce0e717e489a8d.zip
cxxrtl: fix typo in comment. NFC.
Diffstat (limited to 'backends')
-rw-r--r--backends/cxxrtl/cxxrtl_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cxxrtl/cxxrtl_backend.cc b/backends/cxxrtl/cxxrtl_backend.cc
index 6d3c2f4f9..c045af692 100644
--- a/backends/cxxrtl/cxxrtl_backend.cc
+++ b/backends/cxxrtl/cxxrtl_backend.cc
@@ -1142,7 +1142,7 @@ struct CxxrtlWorker {
}
// The generated code has two bounds checks; one in an assertion, and another that guards the read.
// This is done so that the code does not invoke undefined behavior under any conditions, but nevertheless
- // loudly crashes if an illegal condition is encountered. The assert may be turned off with -NDEBUG not
+ // loudly crashes if an illegal condition is encountered. The assert may be turned off with -DNDEBUG not
// just for release builds, but also to make sure the simulator (which is presumably embedded in some
// larger program) will never crash the code that calls into it.
//