[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [oc] vhdl question




hi all,

>- ---cut here---
>
>signal mid : std_logic;
>
>mid <= start OR clk;
>start <= '1' when mid='1' and addr(7 downto 0)="11111111" else '0';
>
>- ---cut here---

the above is wrong...sorry it was late in the night when i wrote it..(so it is now!!!)the correct (or i hope so this time..) code is:

signal mid : std_logic;
start <= '1' when (mid or read)='1' and addr(7 downto 0)="11111111" else '0';

keep the mid signal as many cycles as you wish to 1.

regards,
spyros

--
student @ Demokritos Univercity of THrace


_____________________________________________________________________
http://www.freemail.gr - &dgr;&ohgr;&rgr;&egr;&aacgr;&ngr; &ugr;&pgr;&eegr;&rgr;&egr;&sgr;&iacgr;&agr; &eegr;&lgr;&egr;&kgr;&tgr;&rgr;&ogr;&ngr;&igr;&kgr;&ogr;&uacgr; &tgr;&agr;&khgr;&ugr;&dgr;&rgr;&ogr;&mgr;&egr;&iacgr;&ogr;&ugr;.
http://www.freemail.gr - free email service for the Greek-speaking.
--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml