aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_static_proc.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-11 05:22:17 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-11 05:22:17 +0200
commit8c01fd3f1a3fdac1fb36bd7d20b3b71135011502 (patch)
tree5581954754ea6bb01292568abf2032582d0bb9b4 /src/synth/synth-vhdl_static_proc.adb
parentfe2afd6a3dd1a9a1234ca095fd63d0e8c999a4d7 (diff)
downloadghdl-8c01fd3f1a3fdac1fb36bd7d20b3b71135011502.tar.gz
ghdl-8c01fd3f1a3fdac1fb36bd7d20b3b71135011502.tar.bz2
ghdl-8c01fd3f1a3fdac1fb36bd7d20b3b71135011502.zip
synth: handle text file write
Diffstat (limited to 'src/synth/synth-vhdl_static_proc.adb')
-rw-r--r--src/synth/synth-vhdl_static_proc.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_static_proc.adb b/src/synth/synth-vhdl_static_proc.adb
index 0bdb785f0..4fa2c619e 100644
--- a/src/synth/synth-vhdl_static_proc.adb
+++ b/src/synth/synth-vhdl_static_proc.adb
@@ -58,6 +58,8 @@ package body Synth.Vhdl_Static_Proc is
Synth_Deallocate (Syn_Inst, Imp);
when Iir_Predefined_Read =>
Synth_File_Read (Syn_Inst, Imp, Loc);
+ when Iir_Predefined_Write =>
+ Synth_File_Write (Syn_Inst, Imp, Loc);
when others =>
Error_Msg_Synth
(+Loc, "call to implicit %n is not supported", +Imp);