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

digitaljs: LUT viewer breaks for some designs #68

Open
malmeloo opened this issue May 2, 2024 · 0 comments
Open

digitaljs: LUT viewer breaks for some designs #68

malmeloo opened this issue May 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@malmeloo
Copy link
Member

malmeloo commented May 2, 2024

For some designs the LUT viewer throws the following error:

*** Error in Viewer: object ***
TypeError: Cannot read properties of undefined (reading 'length')
  at yosys_to_digitaljs_mod (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:135492:43)
  at yosys_to_digitaljs (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:134834:21)
  at yosys2digitaljs (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:135672:17)
  at DiagramViewer.render (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:29339:91)
  at View.renderDocument (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:149474:25)
  at View.handleMessage (https://file+.vscode-resource.vscode-cdn.net/home/mike/Documents/work/vscode-edacation/dist/views/digitaljs/index.js:149428:22)

This is likely caused by internal Yosys cells such as $_DFF_PP0 that have not been mapped to a final target cell, because we use the generic synth command.

@malmeloo malmeloo added the bug Something isn't working label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant