From b40b152b875d5590eb76a439cd8f216cf60028b4 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 31 Jan 2018 07:29:14 -0500 Subject: [PATCH] Fix missing edge type in xml output, msg2480. --- Changes | 2 ++ src/V3EmitXml.cpp | 5 +++++ test_regress/t/t_xml_first.out | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) 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 @@ - +