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

when i use peakrdl to test this generic_example .rdl,it will has"external chip_id chip_id_reg @0x0000;"error,do peakrdl dose not support the keyword of “external”? #27

Closed
jiangqingliu88 opened this issue Feb 10, 2023 · 5 comments

Comments

@jiangqingliu88
Copy link

No description provided.

@amykyta3
Copy link
Member

amykyta3 commented Feb 10, 2023

Are you trying to use this with the peakrdl regblock command? Because if so, PeakRDL-regblock does not support external components yet.
Other commands will support it, but not the regblock generator.

See https://peakrdl-regblock.readthedocs.io/en/latest/limitations.html#external-components

I plan to implement it eventually: #4

@jiangqingliu88
Copy link
Author

thanks,i also have a problem,the front door is suucess access,also,i try to use the backdoor mode to access the register of DUT ,so aligment to hdl_path :“top.dut.filedstroage,but i cannot use backdooraccess the filedstroage.block.register.feld.value,so, the types of data/signal are struct result in error,the front door is suucess access。

@jiangqingliu88
Copy link
Author

Thank you, I have solved the backdoor access perfectly, your open source tool is great to help me with advanced co-design verification.

@jiangqingliu88
Copy link
Author

i I have two suggestion。The first suggestion, the struct { } reg,must add packed,for example struct paced{} reg;otherwise,the backdoor not allow access,not support the unpaked data struce。The second suggestion,Your fiedstorage storage mode is small endian mode(LSB), so the backdoor access is in the hardware need to change to big endian mode(MSB), or in the software to convert, We can compare it to the front door data.

@amykyta3
Copy link
Member

Backdoor access should work without issue on unpacked structs. What simulator too are you using? It may be a limitation of the simulator.

@amykyta3 amykyta3 transferred this issue from SystemRDL/systemrdl-compiler Feb 23, 2023
@amykyta3 amykyta3 closed this as completed Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants