mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix queue [$-i] select as reference argument (#5411)
Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
+1
-1
@@ -493,7 +493,7 @@ class TaskVisitor final : public VNVisitor {
|
||||
|| VN_IS(pinp, ArraySel)) {
|
||||
refArgOk = true;
|
||||
} else if (const AstCMethodHard* const cMethodp = VN_CAST(pinp, CMethodHard)) {
|
||||
refArgOk = cMethodp->name() == "at";
|
||||
refArgOk = cMethodp->name() == "at" || cMethodp->name() == "atBack";
|
||||
}
|
||||
if (refArgOk) {
|
||||
if (AstVarRef* const varrefp = VN_CAST(pinp, VarRef)) {
|
||||
|
||||
Reference in New Issue
Block a user