aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-dump.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-29 18:44:11 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-29 18:44:11 +0200
commit1e90b56431dc5df5463a760555b1abc746f50958 (patch)
treea2f558d972f3d72817e5bf60087334cae6370838 /src/synth/netlists-dump.adb
parent2068fb5a9eba5da625d2dd73fdcb47755487d9f3 (diff)
downloadghdl-1e90b56431dc5df5463a760555b1abc746f50958.tar.gz
ghdl-1e90b56431dc5df5463a760555b1abc746f50958.tar.bz2
ghdl-1e90b56431dc5df5463a760555b1abc746f50958.zip
synth: add support for memories.
Diffstat (limited to 'src/synth/netlists-dump.adb')
-rw-r--r--src/synth/netlists-dump.adb17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb
index e6bb8517e..5d33cc664 100644
--- a/src/synth/netlists-dump.adb
+++ b/src/synth/netlists-dump.adb
@@ -193,9 +193,9 @@ package body Netlists.Dump is
begin
-- Module id and name.
Put_Indent (Indent);
- Put ("module (");
+ Put ("module @");
Put_Trim (Module'Image (M));
- Put (") ");
+ Put (" ");
Dump_Name (Get_Name (M));
New_Line;
@@ -392,7 +392,12 @@ package body Netlists.Dump is
Dump_Name (Get_Name (M));
- if Get_Nbr_Params (M) > 0 then
+ if True then
+ Put ('@');
+ Put_Trim (Instance'Image (Inst));
+ end if;
+
+ if Get_Nbr_Params (Inst) > 0 then
declare
First : Boolean;
begin
@@ -415,12 +420,6 @@ package body Netlists.Dump is
Dump_Name (Get_Name (Inst));
end if;
- if True then
- Put ('[');
- Put_Trim (Instance'Image (Inst));
- Put (']');
- end if;
-
if Get_Nbr_Inputs (Inst) > 0 then
declare
First : Boolean;