Comments (8)
Hello,
The short answer is that PyVSC doesn't yet support the 'in ' constraint. The 'in' constraint currently supports vsc.rangelist on the right-hand side.
I've been investigating the behavior you're currently seeing, and I'm not entirely sure I understand the root cause. Basically, the 'self.b in self.temp' statement is being converted by Python into 'self.b == self.temp[0]'.
If supporting the 'in' constraints on lists is important to you (seems it is), please open an enhancement request to support this.
Thanks and Best Regards,
Matthew
from pyvsc.
Yes Matthew, actually we need this feature and many more which I will update you like this. So,can you please open enhancement request on this, because I don't have write access to repo, you can only do this.
from pyvsc.
Hi Shraddha,
Sounds good. Please open an issue (just like this one) requesting 'in list' support. My reason for asking you to open the issue is that you'll be notified when the feature is supported.
Thanks and Best Regards,
Matthew
from pyvsc.
okay. Let me do it ! Thanks for your support @mballance .
from pyvsc.
Hi @mballance , I tried to install pyvsc 0.0.4 with pip3, but still it is installing 0.0.3 version. So Can you please take a look at it?
from pyvsc.
Hi @ShraddhaDevaiya, I double-checked on this and it seems I forgot to bump the version. The version is updated, which will ensure that a new release is available on PyPi. Apologies for the delay, and hope the new release works for you!
Best Regards,
Matthew
from pyvsc.
Hello @mballance , I am able to install the [email protected], but it is not randomizing the value of self.b from the list temp. Same result I am getting , which is shown below :
and one more thing, we can observe here, printing of set value. I have not written it in code. So, any significance of this ?
from pyvsc.
for set value , I got the thing, I have used list inside rangelist instead of tuple, as you said new release it should be tuple. also it is randomizing self.b value from list. Thanks @mballance , for your support !
from pyvsc.
Related Issues (20)
- Cannot use random value as list index in a constraint HOT 2
- PicklingError when trying to pickle a VSC randobj HOT 2
- What is the relation between pyvsc and portable stimulus (pss)? HOT 2
- how to print coverage model HOT 3
- pyvsc performance dominated by stack frame operations in inspect module HOT 1
- import error _boolector_add
- Enh: Support Default bin (How to write "default" in vsc.coverpoint ?)
- install error for latest version macos HOT 3
- support for function incur in constraint functions HOT 5
- constraint solver error HOT 1
- Installing pyvsc fails on pyboolector for python 3.11.5 on Linux (Arch) HOT 3
- Distributions have higher priority than soft constraints HOT 1
- I can't install pyvsc for pypy3.10! HOT 4
- not_inside constraint unexpectedly reducing output set significantly HOT 1
- Is there an example of pyvsc integrated with cocotb and SV RTL with a simulator? HOT 2
- Solve order of randsz_list_t size constraints within foreach incorrect [v0.8.8] HOT 5
- randsz_list_t: Placing the sum constraint before the size constraints can result in incorrect sums [v0.8.8]
- solve before is solve_order, but document marks it as not supported HOT 1
- Can't see vsc after installing pyvsc
- PyVSC to give exhaustive list of stimulus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvsc.