-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
picker getInternalSignal index 错误:
使用picker支持的所有语言调用getInternalSignal(String name, int index, boolean isArray)接口时,指定isArray=false且index >= 0,按道理来说应该根据index取出不同的值,但实测后续取到的XData数值完全一样,观察发现是template中相关逻辑有问题,应当使用name@index作为这种情况下的键去缓存XData
Steps to Reproduce
找一个内部信号存在数组的案例,比如fifo,编译时指定--rw 1,然后在python/java等语言中用循环设置不同的index调用GetInternalSignal。
Expected Result
上述应该取出不同偏移的值
Actual Result
但实际上上述XData指向的内容是一致的(用C++更明显)
Environment
- OS: Ubuntu24.04
Checklist
- I have searched the existing issues
- I have added the appropriate labels
- I have reproduced the issue with the latest version
- I have provided a detailed description of the bug
- I have provided steps to reproduce the issue
- I have included screenshots (if applicable)
- I have provided the environment details (OS, version, etc.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working