Skip to content

Commit

Permalink
Compile order
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Apr 12, 2022
1 parent 8433c39 commit 9194790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/release_notes/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ <h2>New features</h2>
<p>
<ul>
<li>Support for SystemVerilog interfaces in Documenter.</li>
<li>Automatic detection of compile order in tool manager.</li>
</ul>
</p>
<br>
Expand Down
6 changes: 5 additions & 1 deletion src/lib/project_manager/project_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class Project_manager {
let toml = "[libraries]\n\n";
toml += 'lib.files = [\n';
for (let i = 0; i < compile_order.length; i++) {
const element = compile_order[i];
const element = compile_order[i]['name'];
toml += `'${element}'\n,`;
}
toml += ']\n';
Expand Down Expand Up @@ -499,12 +499,16 @@ export class Project_manager {
async run_edalize_tests(tests, gui) {
let selected_project = this.edam_project_manager.selected_project;
let prj = this.edam_project_manager.get_project(selected_project);
let pypath = await this.config_reader.get_python_path_binary(false);
await prj.order_project(pypath);

let edam = prj.export_edam_file();
let tool_configuration = this.config_file.get_config_of_selected_tool();
edam.tool_options = tool_configuration;

let toplevel = await this.get_toplevel_selected_prj(false);;
edam.toplevel = toplevel;

let results = <[]>await this.edalize.run_simulation(edam, toplevel, gui);
this.last_edalize_results = results;

Expand Down

0 comments on commit 9194790

Please sign in to comment.