Closed veripoolbot closed 5 years ago
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-04-29T09:17:32Z
You cannot split lines as you wish. Generally the best thing is to use a temporary wire. (Some coding guidelines even disallow expressions in pins and require this for readability).
.in (in),
....
wire [n:0] in = (nxt_st==IDLE | nxt_st==UPDATE) ? 'd0 :
{sop|bfr_ctrl_dout[XMUL_BEW+3],
eop|bfr_ctrl_dout[XMUL_BEW+2],
soc|bfr_ctrl_dout[XMUL_BEW+1],
eoc|bfr_ctrl_dout[XMUL_BEW],
be[XMUL_BEW-1:0]};
Author Name: ABC ABCDEF Original Redmine Message: 2954 from https://www.veripool.org
Hi All,
Here is a port assignment, which I'd like to do in the AUTO_TEMPLATE (.in is the port name, the rest is the assigning statement):
But, I'd like to split the assignment to multiple lines (like this way):
The
\
in the end of the line does not work... So, how to split the port assignment to the multiple lines?Thank you!