mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix single element unpacked array DPI parameters
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user