Skip to content
Snippets Groups Projects
Commit ae80076b authored by Fabien Tessier's avatar Fabien Tessier
Browse files

Config vcd from simulator for .ttool project

parent 119179fd
No related branches found
No related tags found
2 merge requests!30Merge project manager into master,!29Resolve "Implement Project Management in TTool"
...@@ -2481,8 +2481,14 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene ...@@ -2481,8 +2481,14 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene
final String directory = saveDirName.getText().trim(); final String directory = saveDirName.getText().trim();
if ( !directory.isEmpty() ) { if ( !directory.isEmpty() ) {
filename = directory + File.separator + filename; if (!directory.endsWith(File.separator))
filename = directory + File.separator + filename;
else
filename = directory + filename;
} }
SpecConfigTTool.ExternalCommand1 = SpecConfigTTool.ExternalCommand1.replace(SpecConfigTTool.lastVCD, filename);
SpecConfigTTool.lastVCD = filename;
// DB: now useless check // DB: now useless check
// if (param.length() >0) { // if (param.length() >0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment