Skip to content
Snippets Groups Projects
Commit 93b8a638 authored by sebastie.gendre's avatar sebastie.gendre
Browse files

Bank register: Fix missing address for the 2nd register

parent 4d595d8d
Branches
No related tags found
No related merge requests found
...@@ -48,14 +48,14 @@ architecture Behavioral of hog_build_info_regs is ...@@ -48,14 +48,14 @@ architecture Behavioral of hog_build_info_regs is
-- [31 - 0] Date in hexa, with digits in format: ddmmyyyy -- [31 - 0] Date in hexa, with digits in format: ddmmyyyy
signal global_date_reg : std_logic_vector(31 downto 0) := (others => '0'); signal global_date_reg : std_logic_vector(31 downto 0) := (others => '0');
-- Global time register (GTR) @ 0x00 - R -- Global time register (GTR) @ 0x04 - R
-- Time of last commit when the project was modified. -- Time of last commit when the project was modified.
-- [31 - 0] Time in hexa, with digits in format: 00HHMMSS -- [31 - 0] Time in hexa, with digits in format: 00HHMMSS
signal global_time_reg : std_logic_vector(31 downto 0) := (others => '0'); signal global_time_reg : std_logic_vector(31 downto 0) := (others => '0');
-- Registers addresses -- Registers addresses
constant GDR_BASEADDR : integer := 0; -- Global date register constant GDR_BASEADDR : integer := 0; -- Global date register
constant GTR_BASEADDR : integer := 0; -- Global time register constant GTR_BASEADDR : integer := 4; -- Global time register
-- Read address integer -- Read address integer
signal rd_addr_s : integer := 0; signal rd_addr_s : integer := 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment