ismailov-e
Member level 1

Hi everybody!
Can we assign matrix directly like in C language.
For example:
or
- - - Updated - - -
After Synthesis the message come: "[Synth 8-1725] cannot assign to memory matrix directly"
"[Synth 8-2833] unpacked value/target cannot be used in assignment"
Can we assign matrix directly like in C language.
For example:
Code Verilog - [expand] 1 2 3 reg [7:0] matrix [4:0][4:0]; matrix = {12345,54321,23432,55533,22212};
or
Code Verilog - [expand] 1 matrix = {{1,2,3,4,5},{5,4,3,2,1},{2,3,4,3,2},{5,5,5,3,3},{2,2,2,1,2}};
- - - Updated - - -
After Synthesis the message come: "[Synth 8-1725] cannot assign to memory matrix directly"
"[Synth 8-2833] unpacked value/target cannot be used in assignment"