X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/a7299f808c1906872b76aa62fb6d8276096c4ff5..refs/heads/master:/lib/implementations/clkdomain_convert_1024x8_impl.xml diff --git a/lib/implementations/clkdomain_convert_1024x8_impl.xml b/lib/implementations/clkdomain_convert_1024x8_impl.xml index cdab60b..aa35dfe 100644 --- a/lib/implementations/clkdomain_convert_1024x8_impl.xml +++ b/lib/implementations/clkdomain_convert_1024x8_impl.xml @@ -2,11 +2,10 @@ - - - This IP allows to pass 8 bits values from a clock domain to another. It uses a FIFO of 1024 entries. - - This IP allows to pass 8 bits values from a clock domain to another. It uses a FIFO of 1024 entries. + + + + @@ -38,8 +37,8 @@ begin clkdconvert_1024x8_1 : clkdconvert_1024x8 port map ( rst => @{reset}, -wr_clk => @{clk_wr}, -rd_clk => @{clk_rd}, +wr_clk => @{clk_in}, +rd_clk => @{clk_out}, din => @{data_in}, wr_en => @{data_in_enb}, rd_en => rd_en, @@ -50,19 +49,17 @@ empty => empty rd_en <= not empty; -read_fifo : process(@{clk_rd}, @{reset}) +read_fifo : process(@{clk_out}, @{reset}) begin if @{reset} = '1' then @{data_out_enb} <= '0'; -elsif rising_edge(@{clk_rd}) then +elsif rising_edge(@{clk_out}) then @{data_out_enb} <= '0'; if empty = '0' then @{data_out_enb} <= '1'; end if; end if; end process read_fifo; - -end architecture clkdomain_convert_1024x8_1;