Dear all,
I would like to register an address bus with the rising edge of the clk and if the LOAD is '1'. Below is my VHDL code.
The problem is that when I analyse and elaborate with QII and see the RTL view I see a mux that choose A_I or A_O with LOAD and the the output of this mux goes to a dffe flip-flops (the output of this flip-flops are feedback to the input of the mux). I would like to use the enable input of the dffe flip-flops instead of the mux with the LOAD. How to do this? is the RTL view related with what finally will be placed and routed?.
Thanks a lot and best regards,
Javi
entity DIR_LATCH is port( A_O: out std_logic_vector ( 18 downto 2 ); LOAD: in std_logic; CLK_I: in std_logic; A_I: in std_logic_vector ( 18 downto 2) ); end entity DIR_LATCH;
-------------------------------------------------------------------------------
-- Definicion de la Arquitectura
-------------------------------------------------------------------------------
architecture DIR_LATCH_A1 of DIR_LATCH is
begin
----------------------------------------------------------------------------- -- Definicion de la Arquitectura -----------------------------------------------------------------------------
ADR_REG: process ( CLK_I ) begin
if( rising_edge(CLK_I) ) then if( LOAD = '1' ) then A_O( 2)