Added xsim postsimulation

Signed-off-by: Joppe Blondel <joppe@blondel.nl>
This commit is contained in:
2022-09-05 18:40:03 +02:00
parent 1717eba787
commit d557e6812d
20 changed files with 490 additions and 436 deletions

View File

@ -9,10 +9,10 @@ architecture behavioural of tb_heartbeat is
-- COMPONENTS
-- ----------
component heartbeat is
generic (
Fin : integer := 100000000;
Fout : integer := 8
);
-- generic (
-- Fin : integer := 100000000;
-- Fout : integer := 8
-- );
port (
ACLK : in std_logic;
ARESETN : in std_logic;
@ -25,10 +25,12 @@ architecture behavioural of tb_heartbeat is
signal LED : std_logic_vector(1 downto 0) := "00";
signal ARESETN : std_logic := '0';
begin
c_heartbeat : component heartbeat generic map(
50000000,
5000000
) port map(
c_heartbeat : component heartbeat
-- generic map(
-- 50000000,
-- 5000000
-- )
port map(
ACLK => ACLK,
ARESETN => ARESETN,
LED => LED