Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIt is a valid Verilog construct. But it is not synthesizable.
Do this instead:
always @ (posedge clock)
logic local_sw_node;
begin
local_sw_node <= sw_node; // delay it one clk cycle
Vsw_16bit <= (local_sw_node) ? (16'sd32767) : (16'sd0);
end