create datestamp on the fly during compilation

This commit is contained in:
Markus Fröschle
2021-07-11 19:37:07 +02:00
parent fab65c7718
commit 523a5f0287
21 changed files with 7772 additions and 7750 deletions

View File

@@ -0,0 +1,15 @@
library ieee;
use ieee.std_logic_1164.all;
use work.datetime.all;
entity compile_date is
port
(
datetime : out std_ulogic_vector(31 downto 0)
);
end entity compile_date;
architecture rtl of compile_date is
begin
datetime <= work.datetime.DATE_HEX_DMY;
end architecture rtl;