summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-05-28 14:08:27 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-05-28 14:08:27 +0200
commite520f8b10fbb7b39c563bf626c8d7945a0b424c0 (patch)
treece48f93fed2b44a9bc430f31ae660882ed8cff66
parent94bd3ba3e253ac26998a2bf84bbc724afb7bd576 (diff)
downloadghdl2hastabel-e520f8b10fbb7b39c563bf626c8d7945a0b424c0.zip
ghdl2hastabel-e520f8b10fbb7b39c563bf626c8d7945a0b424c0.tar.bz2
Adds prefixes to set mod file loading order.
-rw-r--r--src/ghdl2hastabel/Depths.java2
-rw-r--r--src/ghdl2hastabel/Main.java2
-rw-r--r--src/ghdl2hastabel/vhdl/Process.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ghdl2hastabel/Depths.java b/src/ghdl2hastabel/Depths.java
index 3e01423..2c6f12f 100644
--- a/src/ghdl2hastabel/Depths.java
+++ b/src/ghdl2hastabel/Depths.java
@@ -16,7 +16,7 @@ public class Depths
TO_ID = new HashMap<Integer, IDs>();
/* TODO: filename as a param? */
- DEPTHS_OUTPUT = OutputFile.new_output_file("depths.mod");
+ DEPTHS_OUTPUT = OutputFile.new_output_file("01_depths.mod");
}
private Depths () {} /* Utility class. */
diff --git a/src/ghdl2hastabel/Main.java b/src/ghdl2hastabel/Main.java
index 0850e06..643f0de 100644
--- a/src/ghdl2hastabel/Main.java
+++ b/src/ghdl2hastabel/Main.java
@@ -59,7 +59,7 @@ public class Main
return;
}
- MAIN_OUTPUT = OutputFile.new_output_file("structural.mod");
+ MAIN_OUTPUT = OutputFile.new_output_file("00_structural.mod");
try
{
diff --git a/src/ghdl2hastabel/vhdl/Process.java b/src/ghdl2hastabel/vhdl/Process.java
index b821885..853b529 100644
--- a/src/ghdl2hastabel/vhdl/Process.java
+++ b/src/ghdl2hastabel/vhdl/Process.java
@@ -434,7 +434,7 @@ public class Process extends ParsableXML
(
OutputFile.new_output_file
(
- "cfg_" /* TODO: Prefix as parameter? */
+ "03_cfg_" /* TODO: Prefix as parameter? */
+ local_id.get_value()
+ ".mod" /* TODO: Suffix as parameter? */
),