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

Exploration of Hog generics: Add custom 1 generic to simulation

parent 85674c6d
Branches
Tags
No related merge requests found
......@@ -2,3 +2,6 @@
ACTIVE=1
TOP=explore_build_info
[generics]
BANANA=01234567
......@@ -30,7 +30,8 @@ entity explore_build_info is
GLOBAL_DATE : std_logic_vector(31 downto 0) := (others => '0');
GLOBAL_TIME : std_logic_vector(31 downto 0) := (others => '0');
GLOBAL_VER : std_logic_vector(31 downto 0) := (others => '0');
GLOBAL_SHA : std_logic_vector(31 downto 0) := (others => '0')
GLOBAL_SHA : std_logic_vector(31 downto 0) := (others => '0');
BANANA : integer := 0
);
end explore_build_info;
......@@ -54,4 +55,8 @@ begin
report "GLOBAL_SHA: " & to_hstring(to_bitvector(GLOBAL_SHA))
severity note;
assert false
report "BANANA: " & integer'image(BANANA)
severity note;
end Behavioral;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment