Skip to content

Commit

Permalink
fix yosys, update LS dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Sep 19, 2024
1 parent cd96c9e commit 1532e41
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/colibri/src/yosys/yosys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ export async function runYosysStandalone(config: e_config, topTevel: string, sou

function getYosysReadFileCommandVhdl(filePath: string, logicalName: string): string {
const libraryCommand = logicalName !== "" ? `--work=${logicalName}` : "--work=work";
return `${libraryCommand} ${filePath}`;
return `${libraryCommand} "${filePath}"`;
}

function getYosysReadFileCommandVerilog(filePath: string): string {
return `read_verilog -sv ${filePath}`;
return `read_verilog -sv "${filePath}"`;
}

function getToplevelCommand(topTevel: string): string {
Expand Down
2 changes: 1 addition & 1 deletion packages/teroshdl/auto_package/templates/dependencie.nj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"temp": "^0.9.0",
"teroshdl2": "../colibri",
"tmp": "0.2.1",
"vscode-languageclient": "7.0.0-next.6",
"vscode-languageclient": "^9.0.1",
"xml2js": "0.4.23",
"nunjucks": "^3.2.0",
"@types/nunjucks": "^3.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/teroshdl/auto_package/templates/info.nj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"displayName": "TerosHDL",
"publisher": "teros-technology",
"description": "Powerful toolbox for ASIC/FPGA: state machine viewer, linter, documentation, snippets... and more! ",
"version": "6.0.3",
"version": "6.0.4",
"engines": {
"vscode": "^1.74.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/teroshdl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "TerosHDL",
"publisher": "teros-technology",
"description": "Powerful toolbox for ASIC/FPGA: state machine viewer, linter, documentation, snippets... and more! ",
"version": "6.0.3",
"version": "6.0.4",
"engines": {
"vscode": "^1.74.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Source_manager extends BaseView {
}

async search() {
vscode.commands.executeCommand(element.ProjectProvider.getViewID() + ".focus")
await vscode.commands.executeCommand(element.ProjectProvider.getViewID() + ".focus")
await vscode.commands.executeCommand('list.find');
}

Expand Down

0 comments on commit 1532e41

Please sign in to comment.