vscode-terosHDL icon indicating copy to clipboard operation
vscode-terosHDL copied to clipboard

Schematic viewer can't find library

Open sigmuha opened this issue 8 months ago • 1 comments

Describe the bug When using the schematic viewer the following error is output:

2025-04-22 09:17:43.670 [info] /home/asigmuh/stuff/mock_proj/src/top.vhd:6:9:error: cannot find resource library "sub_lib"
library sub_lib;

To Reproduce Use the following mre: mock_proj.zip

  1. Extract the mre
  2. Add the project in teroshdl through a run.py
  3. Observe that the libraries and files are added to the "Files" pane.
  4. Ensure that GHDL + Yosys is selected in the settings (and that the oss-cad-suite environment is activated)
  5. Use the shcematic viewer and observe the error message.

Please complete the following information:

  • OS: Ubuntu 22.04
  • oss-cad-suite build: oss-cad-suite-linux-x64-20250411

sigmuha avatar Apr 22 '25 07:04 sigmuha

Are you using the schematic viewer for the project or for the file?

qarlosalberto avatar Sep 22 '25 09:09 qarlosalberto