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

FIX: Complex Verilog modules always output zeros #43

Merged
merged 1 commit into from Jun 5, 2023
Merged

FIX: Complex Verilog modules always output zeros #43

merged 1 commit into from Jun 5, 2023

Conversation

shaos
Copy link
Contributor

@shaos shaos commented Jun 5, 2023

Added treating CXXRTL_OUTLINE objects as outputs and it also required calling outline->eval() to update their values to be read from curr[]

Tested it locally with
Yosys 0.21+18 (git sha1 fcd1be142, clang 10.0.0-4ubuntu1 -fPIC -Os)

Wokwi circuit to validate:
https://wokwi.com/projects/366564630633368577

Added treating CXXRTL_OUTLINE objects as outputs and it also requires calling outline->eval() to update their values (available from curr[]).
@shaos shaos changed the title Complex Verilog modules always output zeros FIX: Complex Verilog modules always output zeros Jun 5, 2023
@urish urish added the bug Something isn't working label Jun 5, 2023
@urish urish merged commit 6fa304a into wokwi:main Jun 5, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants