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

wire test fail #12

Open
drom opened this issue Feb 22, 2018 · 1 comment
Open

wire test fail #12

drom opened this issue Feb 22, 2018 · 1 comment
Labels

Comments

@drom
Copy link
Owner

drom commented Feb 22, 2018

https://github.com/drom/elastic/blob/master/test/basic.js#L11

drom@drom:~/work/github/drom/elastic> verilator --lint-only build/wire.v 
%Error-ASSIGNIN: build/wire.v:16: Assigning to input variable: i_1_dat
%Error: Exiting due to 1 error(s)
%Error: See the manual and http://www.veripool.org/verilator for more assistance.
%Error: Command Failed /usr/local/bin/verilator_bin --lint-only build/wire.v
@drom drom added the bug 🪲 label Feb 22, 2018
@drom
Copy link
Owner Author

drom commented Feb 22, 2018

Adding {width: 8} label to the edge helps.

    it('wire', done => {
        const g = fhyper();
        g()({width: 1})(g());
        dump(g, 'wire', done);
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant