From 2d9f3f8582e2de60850852c803a8c8ba0d6b91b5 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 14 Aug 2015 19:28:44 -0500 Subject: [PATCH] ruby: add accessor functions to SLICC def of MachineID --- src/mem/protocol/RubySlicc_Types.sm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mem/protocol/RubySlicc_Types.sm b/src/mem/protocol/RubySlicc_Types.sm index f464b3c7d..63f4b90ea 100644 --- a/src/mem/protocol/RubySlicc_Types.sm +++ b/src/mem/protocol/RubySlicc_Types.sm @@ -50,7 +50,10 @@ structure(InPort, external = "yes", primitive="yes") { } external_type(NodeID, default="0", primitive="yes"); -external_type(MachineID); +structure (MachineID, external = "yes", non_obj="yes") { + MachineType getType(); + NodeID getNum(); +} structure (Set, external = "yes", non_obj="yes") { void setSize(int); -- 2.30.2