Previous in Forum: Charging Batteries   Next in Forum: Speed control of a compound motor
Close
Close
Close
2 comments
Rate Comments: Nested
Participant

Join Date: Mar 2007
Posts: 3

HDE

05/16/2007 11:15 AM

dear all,

i wrote this process and i get allways error:241:15:241:15|Expecting expression

my question how can i fix that and what is the mistake?

proc_Ram_Map: process(Ah, downloading , RD , WR ,HW, SWdog_Rst )

begin
A16_F <= '0';
FlashRD <= Psen;
FlashWR <= '1';

if ((Ah =< "01000000" and downloading = '0')and ((WR'event and WR='0')or(RD'event and RD = '0'))) then
FlashRD <= RD;
FlashWR <=WR ;
A16_F <= '1';
end if;
end process;


thanks you all in advance.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Power-User

Join Date: Dec 2006
Location: Buffalo, New York
Posts: 142
Good Answers: 1
#1

Re: HDE

05/16/2007 2:28 PM

First, let me say that programming isn't my thing, and from what I know about programming, "expecting expression" error is usually a systex error. So, looking at your systex:

proc_Ram_Map: process(Ah, downloading , RD , WR ,HW, SWdog_Rst )

begin
A16_F <= '0';
FlashRD <= Psen;
FlashWR <= '1';

if ((Ah =< "01000000" and downloading = '0')and ((WR'event and WR='0')or(RD'event and RD = '0'))) then
FlashRD <= RD;
FlashWR <=WR ;
A16_F <= '1';
end if;
end process;

Should there be a ' in WR'event and RD'event?? Maybe the computer is see the ' as part of the quote as in "A16_F <= '1'?"

MidniteFighter

__________________
My mind is full of useful knowledge, I just don't know how it applied.
Register to Reply
Anonymous Poster
#2

Re: HDE

05/16/2007 9:05 PM

It might be worth re-posting this question in the "Software & Programming" section of CR4 instead?

Register to Reply
Register to Reply 2 comments

Previous in Forum: Charging Batteries   Next in Forum: Speed control of a compound motor

Advertisement