Renamed proc_dp_verify_sync_v2() into overloaded proc_dp_verify_sync() and...
2 unresolved threads
2 unresolved threads
Renamed proc_dp_verify_sync_v2() into overloaded proc_dp_verify_sync() and updated its implementation (the procedure was not used so far).
Closes L2SDP-424
Merge request reports
Activity
2209 2297 -- PROCEDURE: Verify the DUT output sync 2210 2298 -- . sync is defined such that it can only be active at sop 2211 -- . assume that the sync occures priodically at bsn MOD c_sync_period = c_sync_offset 2299 -- . report expected_sync from input 2212 2300 ------------------------------------------------------------------------------ 2213 PROCEDURE proc_dp_verify_sync(CONSTANT c_sync_period : IN NATURAL; -- BSN sync period 2214 CONSTANT c_sync_offset : IN NATURAL; -- BSN sync offset 2215 SIGNAL clk : IN STD_LOGIC; 2301 PROCEDURE proc_dp_verify_sync(SIGNAL clk : IN STD_LOGIC; 2216 2302 SIGNAL verify_en : IN STD_LOGIC; 2217 2303 SIGNAL sync : IN STD_LOGIC; 2218 2304 SIGNAL sop : IN STD_LOGIC; 2219 SIGNAL bsn : IN STD_LOGIC_VECTOR) IS 2220 CONSTANT c_bsn_w : NATURAL := sel_a_b(bsn'LENGTH>31, 31, bsn'LENGTH); -- use maximally 31 bit of BSN slv to allow calculations with integers 2221 VARIABLE v_expected_sync : BOOLEAN; 2305 expected_sync : IN STD_LOGIC) IS 2239 2322 END IF; 2240 2323 END proc_dp_verify_sync; 2241 2324 2242 2243 ------------------------------------------------------------------------------ 2244 -- PROCEDURE: Verify the DUT output sync 2245 -- . sync is defined such that it can only be active at sop 2246 ------------------------------------------------------------------------------ 2247 2325 PROCEDURE proc_dp_verify_sync(SIGNAL clk : IN STD_LOGIC; 2248 2326 SIGNAL verify_en : IN STD_LOGIC; 2249 2327 SIGNAL sync : IN STD_LOGIC; 2250 2328 SIGNAL sop : IN STD_LOGIC; 2251 SIGNAL expected_sync : IN STD_LOGIC) IS 2329 bsn : IN NATURAL; -- for reporting 2330 expected_bsn : IN NATURAL; -- for reporting 2331 expected_sync : IN STD_LOGIC) IS added 4 commits
-
6b871f36...ec5147f7 - 2 commits from branch
master
- 2556ef57 - Merge branch 'master' into L2SDP-424
- 0fb45ce0 - Clarified IN as default constant instead of SIGNAL in proc_dp_verify_sync().
-
6b871f36...ec5147f7 - 2 commits from branch
mentioned in commit 22451337
Please register or sign in to reply