Skip to content

Commit

Permalink
prevent standalone schematic
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Sep 21, 2024
1 parent 5e5abe1 commit 0301b87
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 29 deletions.
5 changes: 4 additions & 1 deletion resources/release_notes/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
<center><h1 id="release-notes">🎉🎉 Release notes v6 🎉🎉</h1></center>

<p>
We are excited to announce 1st class support for Intel@ Quartus@ Prime Pro.
We are excited to announce 1st class support for Intel@ Quartus@ Prime Pro. Check the documentation for more details:
<a href="https://terostechnology.github.io/terosHDLdoc/docs/category/quartus/">
https://terostechnology.github.io/terosHDLdoc/docs/category/quartus/
</a>
</p>

<br>
Expand Down
5 changes: 5 additions & 0 deletions src/teroshdl/features/schematic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { get_default_version_for_filepath, get_language_from_filepath } from 'co
import { e_source_type, t_file } from 'colibri/project_manager/common';
import { get_toplevel_from_path } from 'colibri/utils/hdl_utils';
import { e_schematic_result, getSchematic } from 'colibri/yosys/yosys';
import { e_schematic_general_backend } from 'colibri/config/config_declaration';

const activation_command = 'teroshdl.netlist.viewer';
const id = "netlist";
Expand Down Expand Up @@ -295,6 +296,10 @@ export class Schematic_manager extends Base_webview {
resolve(netlist);
}
};
if (config.schematic.general.backend === e_schematic_general_backend.standalone) {
vscode.window.showInformationMessage("Standalone backend is not supported in this version.");
return;
}

// Run Yosys
const exec_i = await getSchematic(config, topLevel, sources, handleStream);
Expand Down
54 changes: 26 additions & 28 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
{
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"colibri/*": ["colibri/*"]
},
"noImplicitAny": false,
"module": "commonjs",
"target": "ES2019",
"outDir": "out",
"lib": [
"ES2019"
],
"sourceMap": true,
"rootDir": "./src",
"strict": false ,
"allowJs": true,
},
"skipLibCheck": true,
"include": [
"src/**/*" // Esto incluye todos los archivos TypeScript dentro de la carpeta src
],
"exclude": [
"node_modules",
".vscode-test",
"resources/webviews/reporters/**/*",
"resources/webviews/fileConfiguration/**/*",
"resources/**/*" // Excluye todos los archivos bajo el directorio resources
]
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"colibri/*": ["colibri/*"]
},
"noImplicitAny": false,
"module": "commonjs",
"target": "ES2019",
"outDir": "out",
"lib": ["ES2019"],
"sourceMap": true,
"rootDir": "./src",
"strict": false,
"allowJs": true
},
"skipLibCheck": true,
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
".vscode-test",
"resources/webviews/reporters/**/*",
"resources/webviews/fileConfiguration/**/*",
"resources/**/*"
]
}

0 comments on commit 0301b87

Please sign in to comment.