Error “procedural assignment to a non-register result is not permitted”

前端 未结 3 1697
自闭症患者
自闭症患者 2020-12-21 02:25

I\'m getting the error

[Synth 8-2576] procedural assignment to a non-register result is not permitted [\"lpm_mult.v\":29]

Wha

3条回答
  •  臣服心动
    2020-12-21 03:21

    By default all input and output signals are 'wires'. Wires cannot be assigned in the procedural blocks.

    output reg [63:0] result;
    

    This should fix the error.

提交回复
热议问题