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

hacknet feature request (verilog): indicate port directions #64

Open
fangism opened this issue Jul 21, 2016 · 0 comments
Open

hacknet feature request (verilog): indicate port directions #64

fangism opened this issue Jul 21, 2016 · 0 comments

Comments

@fangism
Copy link
Owner

fangism commented Jul 21, 2016

Currently hacknet -f output_format=verilog ... produces modules like:

module (_sReset, error, ...);
wire __sReset;
wire error;
wire local;
endmodule

when hacknet does have port direction information from -f emit_port_summary:

// BEGIN node port info
//      __sReset : input
//      error : inout
// END mode port info

It would be helpful to directly generate:

module (_sReset, error, ...);
input wire __sReset;
output wire error;
wire local;
endmodule

This would simplify wrapper generation for cosimulation (especially 3-way: analog, verilog, HAC).

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

No branches or pull requests

1 participant