W
walala
Guest
Dear all,
I have the following questions about sensitivity list of the process:
1. In the first one, the modelsim simulator says that "Synthesis
WARNING: count is read in the process but not in the sensitivity
list"...
But I read a lot of online tutorials, they do not put count in the
sensitivity list
--------------------------------
p0: PROCESS(rst, clk)
BEGIN
if rst = '1' then
count <= "000";
elsif (clk'event and clk = '1') then
count <= count + '1';
end if;
END PROCESS p0;
---------------------------------
2. This one is a totally combinatory logic -- a MUX, but do I need to
put so many signals in my senstivity list? (where count is dertermined
by the above counter, t1, t2, ... t23 were computed before as
temporary signals...)
p1: PROCESS(count, t1, t2, t3, t4, t5, t6, t7, t8, t9, t12, t13,
t14, t15, t16, t17, t18, t19, t20, t21, t22, t23)
BEGIN
case count is
when "000" =>
temp1<=t1+t6+t22;
temp2<=t2+t12;
temp3<=t3+t13;
temp4<=t4+t14;
temp5<=t5+t15;
when "001" =>
temp1<=t1+t7+t23;
temp2<=t2+t13;
temp3<=t3+t16;
temp4<=t4+t17;
....
Thanks a lot,
-Walala
I have the following questions about sensitivity list of the process:
1. In the first one, the modelsim simulator says that "Synthesis
WARNING: count is read in the process but not in the sensitivity
list"...
But I read a lot of online tutorials, they do not put count in the
sensitivity list
--------------------------------
p0: PROCESS(rst, clk)
BEGIN
if rst = '1' then
count <= "000";
elsif (clk'event and clk = '1') then
count <= count + '1';
end if;
END PROCESS p0;
---------------------------------
2. This one is a totally combinatory logic -- a MUX, but do I need to
put so many signals in my senstivity list? (where count is dertermined
by the above counter, t1, t2, ... t23 were computed before as
temporary signals...)
p1: PROCESS(count, t1, t2, t3, t4, t5, t6, t7, t8, t9, t12, t13,
t14, t15, t16, t17, t18, t19, t20, t21, t22, t23)
BEGIN
case count is
when "000" =>
temp1<=t1+t6+t22;
temp2<=t2+t12;
temp3<=t3+t13;
temp4<=t4+t14;
temp5<=t5+t15;
when "001" =>
temp1<=t1+t7+t23;
temp2<=t2+t13;
temp3<=t3+t16;
temp4<=t4+t17;
....
Thanks a lot,
-Walala