mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
Support generic interfaces (#6272)
This commit is contained in:
@@ -73,6 +73,7 @@ bool VFwdType::isNodeCompatible(const AstNode* nodep) const {
|
||||
case VFwdType::UNION: return VN_IS(defp, UnionDType); break;
|
||||
case VFwdType::INTERFACE_CLASS: // FALLTHRU // TODO: Over permissive for now
|
||||
case VFwdType::CLASS: return VN_IS(defp, ClassRefDType) || VN_IS(defp, Class); break;
|
||||
case VFwdType::GENERIC_INTERFACE: return VN_IS(defp, IfaceRefDType); break;
|
||||
default: v3fatalSrc("Bad case");
|
||||
}
|
||||
VL_UNREACHABLE;
|
||||
|
||||
Reference in New Issue
Block a user