Skip to content
Snippets Groups Projects
Commit 57386053 authored by Amira Abdel-Rahman's avatar Amira Abdel-Rahman
Browse files

DEM Integration

parent 26474d48
No related branches found
No related tags found
No related merge requests found
Pipeline #6360 passed
...@@ -63,7 +63,7 @@ function runPython_urx(setup){ ...@@ -63,7 +63,7 @@ function runPython_urx(setup){
let outputFile = editJsonFile(`${__dirname}/`+root+`sim_config.json`); let outputFile = editJsonFile(`${__dirname}/`+root+`sim_config.json`);
outputFile.set("setup", setup.DEMSetup); outputFile.set("setup", setup.DEMSetup);
outputFile.save(); outputFile.save();
console.log("saved the DEM setup in ../simulation/dice_firmware/build/x86/src/sim/vis/"); console.log("saved the DEM setup in"+ `${__dirname}/`+root+`sim_config.json`);
console.log(); console.log();
console.log("Compile and run the DEM simulator:") console.log("Compile and run the DEM simulator:")
var commands=[]; var commands=[];
...@@ -74,10 +74,10 @@ function runPython_urx(setup){ ...@@ -74,10 +74,10 @@ function runPython_urx(setup){
commands.push("cd " + "src/sim/vis/"); commands.push("cd " + "src/sim/vis/");
}else{ }else{
commands.push("cd " + root); // commands.push("cd " + root);
} }
commands.push("./sim_vis_executable"); commands.push("cd " + root+"; ./sim_vis_executable");
runListCommand(commands,0); runListCommand(commands,0);
}else{ }else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment