Feb 12, 2009 #1 Mkanimozhi Full Member level 4 Joined Aug 8, 2007 Messages 193 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 3,445 verilog wait hi to every one here in the below mentioned code i am getting error on wait sout, sout is my memory , how to use the meory in wait statement in verilog, i am not getting any error in vhdl.tell me the solution soon. reg [5:0] sout [2:0]; always begin wait sout for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end regards kanimozhi
verilog wait hi to every one here in the below mentioned code i am getting error on wait sout, sout is my memory , how to use the meory in wait statement in verilog, i am not getting any error in vhdl.tell me the solution soon. reg [5:0] sout [2:0]; always begin wait sout for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end regards kanimozhi
Feb 17, 2009 #2 A aji_vlsi Advanced Member level 2 Joined Sep 10, 2004 Messages 643 Helped 85 Reputation 170 Reaction score 12 Trophy points 1,298 Location Bangalore, India Activity points 4,944 wait verilog Mkanimozhi said: hi to every one here in the below mentioned code i am getting error on wait sout, sout is my memory , how to use the meory in wait statement in verilog, i am not getting any error in vhdl.tell me the solution soon. reg [5:0] sout [2:0]; always begin wait sout for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end regards kanimozhi Click to expand... Is this for Synthesis or simulation alone? If it sim alone, try: Code: always @(sout) begin for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end Or even better (if you have SystemVerilog aware tools) Code: always_comb begin for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end HTH Ajeetha, CVC Next SV course starting in Feb 09 end. See: https://sv-verif.blogspot.com for details
wait verilog Mkanimozhi said: hi to every one here in the below mentioned code i am getting error on wait sout, sout is my memory , how to use the meory in wait statement in verilog, i am not getting any error in vhdl.tell me the solution soon. reg [5:0] sout [2:0]; always begin wait sout for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end regards kanimozhi Click to expand... Is this for Synthesis or simulation alone? If it sim alone, try: Code: always @(sout) begin for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end Or even better (if you have SystemVerilog aware tools) Code: always_comb begin for (y=1;y<=nby2by3;y=y+1) temp[y] =sout[y]; end HTH Ajeetha, CVC Next SV course starting in Feb 09 end. See: https://sv-verif.blogspot.com for details