Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vhier cannot find files in library #1374

Closed
veripoolbot opened this issue Dec 6, 2018 · 1 comment
Closed

vhier cannot find files in library #1374

veripoolbot opened this issue Dec 6, 2018 · 1 comment
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Clarke Watson
Original Redmine Issue: 1374 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Hi,

I'm having some trouble with vhier (version 3.456). It doesn't appear to recognize the -y option. I've pasted an example showing the issue below. In the first run, I use the -y command-line option to specify a library directory, and vhier cannot find any of the modules that reside in the library directory. In the second run, I specify the library files the module requires and vhier is happy.

Why doesn't vhier find the files specified in the library directory when the -y option is used?

Am I doing something wrong?

FYI... I am running in cygwin64 on a Windows 10 machine.

Thanks!

Example 1:

$ vhier sys_ctrl_core.sv sys_ctrl.sv -y ../csr --input-files
%Error: sys_ctrl.sv:645: Cannot find csr_split
%Error: sys_ctrl.sv:493: Cannot find csr_merge_tmp
%Error: sys_ctrl.sv:368: Cannot find csr_merge
%Error: sys_ctrl.sv:645: Module/Program/Interface reference not found: csr_split
%Error: sys_ctrl.sv:493: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:506: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:368: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:280: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:659: Module/Program/Interface reference not found: csr_split
%Error: sys_ctrl.sv:631: Module/Program/Interface reference not found: csr_split
%Error: sys_ctrl.sv:424: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:522: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:266: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:354: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:438: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:340: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:452: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:485: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:382: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:298: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:312: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:396: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:466: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:326: Module/Program/Interface reference not found: csr_merge
%Error: sys_ctrl.sv:514: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:530: Module/Program/Interface reference not found: csr_merge_tmp
%Error: sys_ctrl.sv:410: Module/Program/Interface reference not found: csr_merge
Exiting due to errors

Example 2:

$ vhier sys_ctrl_core.sv sys_ctrl.sv ../csr/csr_merge.sv ../csr/csr_merge_tmp.sv ../csr/csr_split.sv --input-files
  ../csr/csr_merge.sv
  ../csr/csr_merge_tmp.sv
  ../csr/csr_split.sv
  sys_ctrl.sv
  sys_ctrl_core.sv

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2018-12-07T00:02:18Z


You need +libext+.sv since the standard filename extension is .v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants