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

VPTOOL does not load features #2299

Open
yesilzeytin opened this issue Nov 22, 2023 · 10 comments
Open

VPTOOL does not load features #2299

yesilzeytin opened this issue Nov 22, 2023 · 10 comments

Comments

@yesilzeytin
Copy link

yesilzeytin commented Nov 22, 2023

VPTOOL does not load features

Type

  • Functionally incorrect behavior

Steps to Reproduce

  1. URL to branch that exhibits the issue: https://github.com/openhwgroup/core-v-verif
  2. Command line: sh vptool-example/runme.sh
  3. Logfile and/or wave-dump info:
    tvnviewer_rpGz6MDWdi
    tvnviewer_LBvsQBQjaz

Additional context

When tried to follow the VPTOOL example as a starting point, the tool opens but does not load any features as mentioned in the README. When they are tried to be added manually through .pck files, they do not load anyway.

An interesting observation that I had is when we follow all the steps in the README (https://github.com/openhwgroup/core-v-verif/blob/67791932df6128671344015584109d7a177d9a9a/tools/vptool/README.md), I observe the warning "Locked Ip file has not been loaded", and see one locked_ip.pick being loaded anyway. This warning is not observed when the locked_ip.pick in vptool/vptool-example/example-database/vptool is copied to the vptool/vptool-example/example-database/ in folder hierarchy and two locked IP files are being loaded. This may or may not be related to the issue, but wanted to share screenshots regarding both just in case.

@MikeOpenHWGroup
Copy link
Member

Hi @zchamski, I am not sure if you are the right person to assign this to. Please feel free to re-assign if not.

@zchamski
Copy link
Contributor

Hi @yesilzeytin, can you please share the commit info of the VPTOOL you are using?

Also, is your DVplan still in the Pickle format, or was it already migrated to Yaml? The Pickle format for storing features was phased out quite some time ago (Feb 2023), replaced by Yaml, and by default VPTOOL will only read DVplans stored in Yaml files.

@yesilzeytin
Copy link
Author

yesilzeytin commented Nov 23, 2023

Hi @zchamski, I'm not sure what exactly you meant with commit info, but the latest commits into my branch are in the link below since I tried to run VPTOOL with a newly cloned repository just yesterday to make sure that everything is up-to-date: https://github.com/openhwgroup/core-v-verif/commits/master

Actually, my DVplan is in Pickle format. That may be the issue, then. However, I couldn't see any example YAML files in the repository, nor details on how a YAML format should be in terms of a README or so on. Is the current README for VPTOOL outdated, then? Or am I missing out on something? If so, are there any resources that I can use to examine the YAML format, such as a guideline or an example YAML that you know of and can provide?

@zchamski
Copy link
Contributor

Hi @yesilzeytin, the recommended approach in your case is to migrate the DVplan from Pickle to Yaml using VPTOOL itself. There's a "magic" VPTOOL option -p which tells VPTOOL to read in Pickle files instead of the Yaml ones. When you subsequently save the files, they will be saved in Yaml format.

This is intentionally a one-way migration path towards Yaml. There is no formalized specification of the Yaml file structure (yet). However, care was taken to preserve the Yaml file structure in the load/save cycle so that any differences between file versions are solely linked to new/changed content.

@yesilzeytin
Copy link
Author

yesilzeytin commented Nov 24, 2023

Hi @zchamski, Thanks a lot for the fast responses. I spent some time examining the environment as much as I could to make sure that I wasn't missing something simple, but unfortunately, I still couldn't fix the issue. In order to clearly identify the problem (on my part or the VPTOOL part), I wanted to provide the process I used step-by-step to provide replicability.

Nothing loads. Also, when we tried to load it manually through the VPTOOL interface and manually select Pickle files, they still did not load.

In the interface, we can only add Features, and we cannot also modify the content on the right-hand side or add any Subfeatures. When we add Features that are totally empty and save them as YAML files, naturally, they only include Features, and therefore we still cannot see, add, or modify Subfeatures/Verification Items/Item Descriptions and see their YAML formats.

We tried the same steps on two different Ubuntu machines, and they both acted the same for reference.

@abdullahyildiz
Copy link

Hi all,

I also have the same issue and cannot successfully load the example database.

@zchamski
Copy link
Contributor

Hi @abdullahyildiz and @yesilzeytin, I will try to get this fixed tomorrow. If unsuccessful, I will come back to you Monday 22 January (I will be offline during the coming week.)

@yesilzeytin
Copy link
Author

Hi @zchamski, sorry to bother you but did you have any opportunity to examine the issue?

@zchamski
Copy link
Contributor

Hi @yesilzeytin, I've been squeezed time-wise, I can get back to working on VPTOOL starting next week (Mon 19 Feb) at the earliest.

@yesilzeytin
Copy link
Author

yesilzeytin commented Feb 15, 2024

Hi @zchamski, thanks for the heads up. Good luck in your work/tasks.

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

No branches or pull requests

4 participants