J
Jim
Hi
I want to implement a flip flop in my design, which can have a tristated
output. Here's how I'm thinking of doing it:
ff : process(CLK)
begin
if rising_edge(CLK) then
if OE = '0' then
Q <= 'Z';
else
Q <= D;
end if;
end if;
end process ff;
Is this the most efficient way of doing it? I'm using flip flops on the
inputs and outputs of my design so that I can meet the timing constraints.
Some of the outputs are shared by other devices and therefore need to be
tristated while not in use. I hoping someone can give me some feedback on
this.
Thanks in advance.
I want to implement a flip flop in my design, which can have a tristated
output. Here's how I'm thinking of doing it:
ff : process(CLK)
begin
if rising_edge(CLK) then
if OE = '0' then
Q <= 'Z';
else
Q <= D;
end if;
end if;
end process ff;
Is this the most efficient way of doing it? I'm using flip flops on the
inputs and outputs of my design so that I can meet the timing constraints.
Some of the outputs are shared by other devices and therefore need to be
tristated while not in use. I hoping someone can give me some feedback on
this.
Thanks in advance.