reqack
reqack copied to clipboard
wire test fail
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
Adding {width: 8} label to the edge helps.
it('wire', done => {
const g = fhyper();
g()({width: 1})(g());
dump(g, 'wire', done);
});