Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error - unexpected TICK

Status
Not open for further replies.

MikeChorobik

Technical User
Feb 8, 2005
2
CA
can someone help me to fix this error?
i have no idea what it means!

the error occurs on the first line of the following code...i don't understand what the problem is.

when Read => Data <= 'ADC';
if ADCbusy ='0' then
next_state <= Read;
elsif ADCbusy ='1' then
next_state <= Write;
end if;

thanx

-- Mike --
 
You are assigning ADC to Data, so assuming that they are of the same type you should write.
when Read => Data <= ADC;

Ticks are used for properties such as
when Read => Data <= ADC(Data'range);
if Data and ADC are of different width for instance.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top