C
colin
Guest
"keith" <krw@att.bizzzz> wrote in message
newsan.2005.06.26.16.07.02.195114@att.bizzzz...
uses one but then gives an error :-
'xxx devices do not have latch with both async set and reset. Fitter may
fail' (wich it does)
Il gues il stick to schematic entry as this seems to work although I still
havnt figured out how to stop it using negative logic on the outputs with
some devices.
Colin =^.^=
newsan.2005.06.26.16.07.02.195114@att.bizzzz...
I tried this, it cleverly sees theres a SR latch here and goes ahead andOn Sat, 25 Jun 2005 18:16:56 +0000, colin wrote:
Perhaps something like...
(r,s, and q are standard_logic or standard_ulogic)
SRLatch: Process (S,R) -- Set dominant SR latch
BEGIN
IF s = '1' -- Set is dominant
THEN q <= '1';
ELSE IF r = '1'
THEN q <= '0';
END IF;
END PROCESS;
uses one but then gives an error :-
'xxx devices do not have latch with both async set and reset. Fitter may
fail' (wich it does)
Il gues il stick to schematic entry as this seems to work although I still
havnt figured out how to stop it using negative logic on the outputs with
some devices.
Colin =^.^=