Forum Discussion
2 Replies
- Altera_Forum
Honored Contributor
"initial" is actually for testing and normally not synthesizable at all. I would be wondering very much if it would be.
- Altera_Forum
Honored Contributor
it works.haha
thanks all.
hi:
can i use "initial" to initial register array?like: reg [7:0] a[2:0] initial begin a[0]=8'd0; a[1]=8'd1; a[2]=8'd2; end no error,no warning.but it is do not work."initial" is actually for testing and normally not synthesizable at all. I would be wondering very much if it would be.
it works.haha
thanks all.