Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] VCS filelist having conditions

Status
Not open for further replies.

Alicoder

Newbie
Joined
May 12, 2023
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
27
Hi,
I have a VCS filelist which i am passing with command vlogan -f flist.vcs. However, the flist.vcs format is like:
....
+incdir+${CURR_DIR}/something
if {$env(FLIST) eq _old}
{
-f ${OLD_DIR}/flist.old
}
else
{
-f ${NEW_DIR}/flist.new
}
where FLIST is env variable

It throws error like this:
Warning-[PMFO] Potential misusage of '-f/-F' option
Potential misusage of '-f/-F' option, which can only be used in non-UUM
flow.
The option '-f/-F' cannot be used in UUM flow.It could cause an error saying
that the top unit is treated as source file in the UUM flow.If VCS is
intended to be run in non-UUM flow, please check if source files are
specified correctly.Otherwise please use '-file' option for UUM flow.


Error-[SFCOR] Source file cannot be opened
Source file "if" cannot be opened for reading due to 'No such file or
directory'.
Please fix above issue and compile again.
 

Solution
It looks like you are encountering two separate issues with your VCS filelist:
  1. The first issue is a warning message that says "-f/-F" option is not valid in UVM-based methodologies, as it can cause issues in the UUM flow.
To fix this issue, you can use the "-file" option instead of "-f" when specifying the filelist. The "-file" option is intended for UVM-based methodologies and will help you avoid the warning message.
  1. The second issue is an error message that says that VCS cannot open the file "if" due to a "No such file or directory" error.
This error is most likely due to the fact that the "${CURR_DIR}/something" path is not properly defined or does not exist. You will need to check the path to ensure that it is...
It looks like you are encountering two separate issues with your VCS filelist:
  1. The first issue is a warning message that says "-f/-F" option is not valid in UVM-based methodologies, as it can cause issues in the UUM flow.
To fix this issue, you can use the "-file" option instead of "-f" when specifying the filelist. The "-file" option is intended for UVM-based methodologies and will help you avoid the warning message.
  1. The second issue is an error message that says that VCS cannot open the file "if" due to a "No such file or directory" error.
This error is most likely due to the fact that the "${CURR_DIR}/something" path is not properly defined or does not exist. You will need to check the path to ensure that it is correct and that the necessary files are present in the directory.
Additionally, you may want to check the values of the "${OLD_DIR}/flist.old" and "${NEW_DIR}/flist.new" paths to ensure that they are correctly defined and that the files are present in those directories.
Once you have fixed these issues, you should be able to successfully compile your design using the VCS filelist.
 
Solution
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top