cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
Return to the generic documentation of cloudFPGA
test_ack_delay.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2016 -- 2021 IBM Corporation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
30
#ifndef _TEST_ACK_DELAY_H_
31
#define _TEST_ACK_DELAY_H_
32
33
#include "../src/ack_delay.hpp"
34
35
//---------------------------------------------------------
36
//-- TESTBENCH GLOBAL DEFINES
37
// 'STARTUP_DELAY' is used to delay the start of the [TB] functions.
38
//---------------------------------------------------------
39
#define TB_STARTUP_DELAY 25
40
#define TB_GRACE_TIME 2500
// Adds some cycles to drain the DUT before exiting
41
#define TB_STARTUP_TIME 25
42
43
//---------------------------------------------------------
44
//-- TESTBENCH GLOBAL VARIABLES
45
//-- These variables might be updated/overwritten by the
46
//-- content of a test-vector file.
47
//---------------------------------------------------------
48
bool
gTraceEvent
=
false
;
49
bool
gFatalError
=
false
;
50
unsigned
int
gSimCycCnt
= 0;
51
unsigned
int
gMaxSimCycles
=
TB_STARTUP_DELAY
+
TB_GRACE_TIME
;
52
53
#endif
54
TB_STARTUP_DELAY
#define TB_STARTUP_DELAY
Definition:
test_ack_delay.hpp:39
TB_GRACE_TIME
#define TB_GRACE_TIME
Definition:
test_ack_delay.hpp:40
gMaxSimCycles
unsigned int gMaxSimCycles
Definition:
test_ack_delay.hpp:51
gSimCycCnt
unsigned int gSimCycCnt
Definition:
test_ack_delay.hpp:50
gTraceEvent
bool gTraceEvent
Definition:
test_ack_delay.hpp:48
gFatalError
bool gFatalError
Definition:
test_ack_delay.hpp:49
repos_for_Dox
cFDK
SRA
LIB
SHELL
LIB
hls
NTS
toe
src
ack_delay
test
test_ack_delay.hpp
Generated on Sat Jul 15 2023 05:02:59 for cloudFPGA (cF) API by
1.9.1