summaryrefslogtreecommitdiffstats
path: root/src/broadcom/cle
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/cle')
-rw-r--r--src/broadcom/cle/gen_pack_header.py4
-rw-r--r--src/broadcom/cle/v3d_packet_v21.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/broadcom/cle/gen_pack_header.py b/src/broadcom/cle/gen_pack_header.py
index 528ff8fa439..1ebeec7a794 100644
--- a/src/broadcom/cle/gen_pack_header.py
+++ b/src/broadcom/cle/gen_pack_header.py
@@ -383,8 +383,8 @@ class Parser(object):
def start_element(self, name, attrs):
if name == "vcxml":
- self.platform = "V3D {}".format(attrs["ver"])
- self.ver = attrs["ver"].replace('.', '')
+ self.platform = "V3D {}".format(attrs["gen"])
+ self.ver = attrs["gen"].replace('.', '')
print(pack_header % {'license': license, 'platform': self.platform, 'guard': self.gen_guard()})
elif name in ("packet", "struct", "register"):
default_field = None
diff --git a/src/broadcom/cle/v3d_packet_v21.xml b/src/broadcom/cle/v3d_packet_v21.xml
index 7a957e64072..5d285334bcc 100644
--- a/src/broadcom/cle/v3d_packet_v21.xml
+++ b/src/broadcom/cle/v3d_packet_v21.xml
@@ -1,4 +1,4 @@
-<vcxml ver="2.1">
+<vcxml gen="2.1">
<packet name="Halt" code="0"/>
<packet name="NOP" code="1"/>
<packet name="Flush" code="4" cl="B"/>