diff options
author | whitequark <whitequark@whitequark.org> | 2020-12-12 20:24:53 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-12-13 15:33:58 +0000 |
commit | 57759c3d1fa573c99552533758a0c198c0641b51 (patch) | |
tree | 4d77d00fdd7844201cf39299be3193b19e89fefa | |
parent | ac1a78923af80cec3760cfbd0f6f4a96d180cce8 (diff) | |
download | yosys-57759c3d1fa573c99552533758a0c198c0641b51.tar.gz yosys-57759c3d1fa573c99552533758a0c198c0641b51.tar.bz2 yosys-57759c3d1fa573c99552533758a0c198c0641b51.zip |
cxxrtl: fix outdated comment. NFC.
-rw-r--r-- | backends/cxxrtl/cxxrtl_backend.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/cxxrtl/cxxrtl_backend.cc b/backends/cxxrtl/cxxrtl_backend.cc index f1ed47541..8e51f3043 100644 --- a/backends/cxxrtl/cxxrtl_backend.cc +++ b/backends/cxxrtl/cxxrtl_backend.cc @@ -1157,8 +1157,8 @@ 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 -DNDEBUG not - // just for release builds, but also to make sure the simulator (which is presumably embedded in some + // loudly crashes if an illegal condition is encountered. The assert may be turned off with -DCXXRTL_NDEBUG + // not only 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. // // If assertions are disabled, out of bounds reads are defined to return zero. |