aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ghdl.cc b/src/ghdl.cc
index 05b319e..29b9e9a 100644
--- a/src/ghdl.cc
+++ b/src/ghdl.cc
@@ -78,8 +78,9 @@ static std::string to_str(Sname name)
res = '.' + user_to_str(get_sname_suffix(pfx)) + res;
break;
case Sname_Version:
- // Use '$' for versions. '%' is not supported by Xilinx ISE edif2ngc.
- res = '$' + stringf("%u", get_sname_version(pfx)) + res;
+ // Use ':' for versions. '%' is not supported by Xilinx ISE edif2ngc.
+ // ('$' is boring with tcl scripts)
+ res = ':' + stringf("%u", get_sname_version(pfx)) + res;
break;
}
}