Tests: Improve some coverage

This commit is contained in:
Wilson Snyder
2022-11-05 11:40:34 -04:00
parent 6ae6b16223
commit 21926eeb6b
33 changed files with 475 additions and 54 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ private:
warnTri(rhsp);
const int width = VN_AS(widthp, Const)->toSInt();
if (width > (1 << 28)) {
nodep->v3error("Width of :+ or :- is huge; vector of over 1billion bits: "
nodep->v3error("Width of :+ or :- is huge; vector of over 1 billion bits: "
<< widthp->prettyName());
}
if (width < 0) nodep->v3error("Width of :+ or :- is < 0: " << widthp->prettyName());