summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-21 16:50:25 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-21 16:50:25 +0200
commitd05bd3592050a9496dd87bcd8a49f8fdc8b6b58d (patch)
tree13ce81449e21c48621ae0ef4dd0f451b72f1c37a /ast-to-instr/src/VHDLSSASNode.java
parent0aa91fb542bd4e2bec97de98ab819ddd6ccbb698 (diff)
Adds output support.
Diffstat (limited to 'ast-to-instr/src/VHDLSSASNode.java')
-rw-r--r--ast-to-instr/src/VHDLSSASNode.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/ast-to-instr/src/VHDLSSASNode.java b/ast-to-instr/src/VHDLSSASNode.java
index 6cff44d..2ee2fda 100644
--- a/ast-to-instr/src/VHDLSSASNode.java
+++ b/ast-to-instr/src/VHDLSSASNode.java
@@ -31,6 +31,7 @@ public class VHDLSSASNode extends VHDLNode
public VHDLSSASNode
(
+ final OutputFile output,
final IDs parent_id,
final Node xml_node,
final IDs next_node,
@@ -40,6 +41,7 @@ public class VHDLSSASNode extends VHDLNode
{
super
(
+ output,
parent_id,
xml_node,
next_node,
@@ -60,7 +62,7 @@ public class VHDLSSASNode extends VHDLNode
xml_id = XMLManager.get_attribute(xml_node, "id");
- local_id = IDs.get_id_from_xml_id(xml_id, "node");
+ local_id = IDs.get_id_from_xml_id(output, xml_id, "node");
/** Functions ***********************************************************/
handle_function_label(local_id);
@@ -87,6 +89,7 @@ public class VHDLSSASNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"label",
local_id,
Strings.get_id_from_string
@@ -103,6 +106,7 @@ public class VHDLSSASNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"kind",
local_id,
Strings.get_id_from_string("signal_assignement")
@@ -116,6 +120,7 @@ public class VHDLSSASNode extends VHDLNode
{
Functions.add_entry
(
+ output,
"depth",
local_id,
Strings.get_id_from_string
@@ -145,6 +150,7 @@ public class VHDLSSASNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"has_option",
local_id,
Strings.get_id_from_string(s)
@@ -180,6 +186,7 @@ public class VHDLSSASNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"expr_reads",
local_id,
Waveforms.get_associated_waveform_id
@@ -250,6 +257,7 @@ public class VHDLSSASNode extends VHDLNode
Predicates.add_entry
(
+ output,
"expr_writes",
local_id,
Waveforms.get_associated_waveform_id
@@ -275,6 +283,7 @@ public class VHDLSSASNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"is_final",
local_id
);
@@ -283,6 +292,7 @@ public class VHDLSSASNode extends VHDLNode
{
Predicates.add_entry
(
+ output,
"node_connect",
local_id,
next_node