Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCan someone please help me get this to compile
I can get this to compile and ive been at it for two days I dont get it Can someone please help me to find why it wont compile. The issue seems to be from the top If condition that uses ...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- What's the exact error you are getting? On my previous post all the indenting got stripped away.. The reset term should always be the first conditional especially since you are using an async reset. --- Quote End --- Everything works fine except for this line If i comment this line out it all works i need this line though. So if the reset needs to be first where do you suggest i put this line i just stuck it in there cuz the above someone receomended i needed to put it in the main always block
if (SIGNAL_IN==4'b0100 && A_reg== 4'b0010) /*This Is where my input and output signal control should lie.
This is going To get a trigger from outside counter as a
refereance to where that counter is at.*/
begin
A_reg<=4'b0000;
SIGNAL_reg<=4'b0000;
end