Skip to content

Commit

Permalink
fix: alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Jul 12, 2023
1 parent cfc81b9 commit f3fd0d7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/colibri/src/project_manager/list_manager/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class File_manager extends Manager<t_file_reduced, undefined, string, str
} else if (extension === '.xdc') {
file_type = 'xdc';
} else if (extension === '.sdc') {
file_type = 'sdc';
file_type = 'SDC';
} else if (extension === '.pin') {
file_type = 'pin';
} else if (extension === '.xci') {
Expand Down
9 changes: 9 additions & 0 deletions packages/colibri/src/project_manager/tool/edalize/edalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ export class Edalize extends Generic_tool_handler {
artifact_list.push(artifact_inst);
suite_name = "Simulation";
}
const artifact_build: t_test_artifact = {
name: "Build folder",
path: path_lib.join(working_directory),
content: "",
command: "",
artifact_type: e_artifact_type.BUILD,
element_type: e_element_type.FOLDER
};
artifact_list.push(artifact_build);

const test_result: t_test_result = {
suite_name: suite_name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ def print_info(working_directory, developer_mode, edam_file, config_exec_file):
else:
p = subprocess.Popen(["make", "run-gui"], cwd=working_directory)
p.wait()
elif tool_name == "quartus":
step = "all"
if edam["tool_options"]["quartus"]["pnr"] == "none":
step = "syn"

p = subprocess.Popen(["make", step], cwd=working_directory)
p.wait()
else:
backend.build()
backend.run()
Expand Down
2 changes: 1 addition & 1 deletion packages/teroshdl/src/features/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class Dependency_manager {
async update() {
const selected_project = this.manager.get_select_project();
if (selected_project.successful === false) {
this.logger.error("Selecte a project first.", true);
this.logger.error("Selecte a project first.", false);
return "";
}

Expand Down
2 changes: 1 addition & 1 deletion packages/teroshdl/src/features/schematic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export class Schematic_manager extends Base_webview {
async generate_from_project() {
const selected_project = this.manager.get_select_project();
if (selected_project.successful === false) {
this.logger.error("Selecte a project first.", true);
this.logger.error("Selecte a project first.", false);
return "";
}

Expand Down

0 comments on commit f3fd0d7

Please sign in to comment.