Skip to content
Snippets Groups Projects
Commit ed8e6a09 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk
Browse files

gc_extend_pulse: save some resources, don't need to use fixed size 32-bit counter

parent 0bed3fe2
Branches
Tags
No related merge requests found
...@@ -46,6 +46,7 @@ use ieee.NUMERIC_STD.all; ...@@ -46,6 +46,7 @@ use ieee.NUMERIC_STD.all;
library work; library work;
use work.gencores_pkg.all; use work.gencores_pkg.all;
use work.genram_pkg.all;
entity gc_extend_pulse is entity gc_extend_pulse is
...@@ -64,7 +65,7 @@ end gc_extend_pulse; ...@@ -64,7 +65,7 @@ end gc_extend_pulse;
architecture rtl of gc_extend_pulse is architecture rtl of gc_extend_pulse is
signal cntr : unsigned(31 downto 0); signal cntr : unsigned(f_log2_size(g_width)-1 downto 0);
signal extended_int : std_logic; signal extended_int : std_logic;
begin -- rtl begin -- rtl
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment