Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why do I get this warning? " .... does not appear in the sensitivity list....."

Status
Not open for further replies.

asicguygmail

Newbie level 4
Joined
Jan 4, 2013
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,351
Why do I get this warning? " .... does not appear in the sensitivity list....."

I get following warning because of the RTL that is followed. You can see that the signal in_from_vn[1972] (The same problem is with in_from_vn[1973]) that's being read in the always block IS in the sensitivity list but I get warning.
Can someone tell me what might be wrong and what the correct code should be to avoid this warning!?
Thanks
Alex

**************** THE WARNING ******************
Warning: /root/mycode/f.v:100: 'in_from_vn[1972]' is being read, but does not appear in the sensitivity list of the block. (ELAB-292)
..... 'in_from_vn[1973]' is being read, but does not appear in the sensitivity list of the block. (ELAB-292)

***************** THE RTL *************************
always @ (in_from_vn[1972][3:0] or in_from_vn[1973][3:0])
begin
if(in_from_vn[1972][3:0] < in_from_vn[1973][3:0])
begin min11_509=in_from_vn[1972][3:0]; min21_509=in_from_vn[1973][3:0]; inorder509_01=0; end
else
begin min11_509=in_from_vn[1973][3:0]; min21_509=in_from_vn[1972][3:0]; inorder509_01=1; end
end
 

Re: Why do I get this warning? " .... does not appear in the sensitivity list.....

Try using always @* instead.
 

Re: Why do I get this warning? " .... does not appear in the sensitivity list.....

Try using always @* instead.

I did try this and I get the same warning.
I have also changed in_from_vn[1973][3:0] to in_from_vn[1973] and I get the same warning
Thanks
Alex
 

Re: Why do I get this warning? " .... does not appear in the sensitivity list.....

Could just be the tool being rubbish.

You could try assigning in_from_vn[1972][3:0] and in_from_vn[1973][3:0] to two wires first, so you don't have an array in the sensitivity list.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top