diff --git a/Changes b/Changes
index 82b52b4c1..61fae45fc 100644
--- a/Changes
+++ b/Changes
@@ -12,6 +12,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Fix input-only tristate comparisons, bug1267. [Alexis G]
+**** Fix missing edge type in xml output, msg2480. [Alexis G]
+
**** Remove c++filt, bug1265. [Stefan Wallentowitz]
diff --git a/src/V3EmitXml.cpp b/src/V3EmitXml.cpp
index 3ebd3799f..750dab54c 100644
--- a/src/V3EmitXml.cpp
+++ b/src/V3EmitXml.cpp
@@ -129,6 +129,11 @@ class EmitXmlFileVisitor : public AstNVisitor {
// Children includes vpiHighConn and vpiLowConn; we don't support port bits (yet?)
outputChildrenEnd(nodep, "port");
}
+ virtual void visit(AstSenItem* nodep) {
+ outputTag(nodep, "");
+ puts(" edgeType=\""+cvtToStr(nodep->edgeType().ascii())+"\""); // IEEE vpiTopModule
+ outputChildrenEnd(nodep, "");
+ }
// Data types
virtual void visit(AstBasicDType* nodep) {
diff --git a/test_regress/t/t_xml_first.out b/test_regress/t/t_xml_first.out
index 92f3cf306..4548b237c 100644
--- a/test_regress/t/t_xml_first.out
+++ b/test_regress/t/t_xml_first.out
@@ -43,7 +43,7 @@
-
+