P
parag
Guest
module child(clk);
input clk;
reg lhs[];
int i = 0;
always /* nosched0 */ @(lhs) $display($time,,"lhs = %b", lhs);
always /* nosched0 */ @(clk) $display($time,,"clk = %b", clk);
always @(lhs ) <-- where lhs is a dynamic array, this errors at
compile time saying that Dynamic array in dynamic context,.
Is the error msg correct. I thought always blocks are procedural
concept
input clk;
reg lhs[];
int i = 0;
always /* nosched0 */ @(lhs) $display($time,,"lhs = %b", lhs);
always /* nosched0 */ @(clk) $display($time,,"clk = %b", clk);
always @(lhs ) <-- where lhs is a dynamic array, this errors at
compile time saying that Dynamic array in dynamic context,.
Is the error msg correct. I thought always blocks are procedural
concept