Commit 700353e
committed
fix(DifftestBundle): fix incorrect C++ type declarations during code generation
When generating `arrayType`, not all 8-bit-aligned types are valid in C++.
For example, if someone defines a 41-bit-wide signal, it may result in
generating an unsupported C++ type like uint48_t instead of a valid uint64_t.
This change ensures that for any given bit width, a C++-supported type is generated.1 parent 826fe99 commit 700353e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments