Skip to content
Snippets Groups Projects
Commit c1028009 authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

added mm_clk as argument to mmf_poll_sim_ctrl_file()

parent 9dc5fdb7
No related branches found
No related tags found
No related merge requests found
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- --
-- Copyright (C) 2013 -- Copyright (C) 2015
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/> -- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands -- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
-- --
...@@ -33,7 +33,7 @@ USE work.qsys_unb2_minimal_pkg.ALL; ...@@ -33,7 +33,7 @@ USE work.qsys_unb2_minimal_pkg.ALL;
ENTITY mmm_unb2_minimal IS ENTITY mmm_unb2_minimal IS
GENERIC ( GENERIC (
g_sim : BOOLEAN := FALSE; --FALSE: use SOPC; TRUE: use mm_file I/O g_sim : BOOLEAN := FALSE; --FALSE: use QSYS; TRUE: use mm_file I/O
g_sim_unb_nr : NATURAL := 0; g_sim_unb_nr : NATURAL := 0;
g_sim_node_nr : NATURAL := 0 g_sim_node_nr : NATURAL := 0
); );
...@@ -143,7 +143,7 @@ BEGIN ...@@ -143,7 +143,7 @@ BEGIN
-- Procedure that polls a sim control file that can be used to e.g. get -- Procedure that polls a sim control file that can be used to e.g. get
-- the simulation time in ns -- the simulation time in ns
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
mmf_poll_sim_ctrl_file(c_mmf_unb_file_path & "sim.ctrl", c_mmf_unb_file_path & "sim.stat"); mmf_poll_sim_ctrl_file(mm_clk, c_mmf_unb_file_path & "sim.ctrl", c_mmf_unb_file_path & "sim.stat");
END GENERATE; END GENERATE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment