Fix single element unpacked array DPI parameters

This commit is contained in:
Geza Lore
2025-10-18 17:21:21 +01:00
parent 5c412e5e81
commit 4ef6f00423
10 changed files with 3631 additions and 665 deletions
+1 -1
View File
@@ -910,7 +910,7 @@ class TaskVisitor final : public VNVisitor {
if (portp->isNonOutput()) {
std::string frName
= portp->isInout() && portp->basicp()->isDpiPrimitive()
&& portp->dtypep()->skipRefp()->arrayUnpackedElements() == 1
&& portp->dtypep()->skipRefp()->dimensions(false).second == 0
? "*"
: "";
frName += portp->name();