1 |
8 |
lampret |
//////////////////////////////////////////////////////////////////////
|
2 |
|
|
//// ////
|
3 |
|
|
//// GPIO Testbench Definitions ////
|
4 |
|
|
//// ////
|
5 |
|
|
//// This file is part of the GPIO project ////
|
6 |
|
|
//// http://www.opencores.org/cores/gpio/ ////
|
7 |
|
|
//// ////
|
8 |
|
|
//// Description ////
|
9 |
|
|
//// Testbench definitions that affect how testbench simulation ////
|
10 |
|
|
//// is performed. ////
|
11 |
|
|
//// ////
|
12 |
|
|
//// To Do: ////
|
13 |
|
|
//// Nothing ////
|
14 |
|
|
//// ////
|
15 |
|
|
//// Author(s): ////
|
16 |
|
|
//// - Damjan Lampret, lampret@opencores.org ////
|
17 |
|
|
//// ////
|
18 |
|
|
//////////////////////////////////////////////////////////////////////
|
19 |
|
|
//// ////
|
20 |
|
|
//// Copyright (C) 2000 Authors and OPENCORES.ORG ////
|
21 |
|
|
//// ////
|
22 |
|
|
//// This source file may be used and distributed without ////
|
23 |
|
|
//// restriction provided that this copyright statement is not ////
|
24 |
|
|
//// removed from the file and that any derivative work contains ////
|
25 |
|
|
//// the original copyright notice and the associated disclaimer. ////
|
26 |
|
|
//// ////
|
27 |
|
|
//// This source file is free software; you can redistribute it ////
|
28 |
|
|
//// and/or modify it under the terms of the GNU Lesser General ////
|
29 |
|
|
//// Public License as published by the Free Software Foundation; ////
|
30 |
|
|
//// either version 2.1 of the License, or (at your option) any ////
|
31 |
|
|
//// later version. ////
|
32 |
|
|
//// ////
|
33 |
|
|
//// This source is distributed in the hope that it will be ////
|
34 |
|
|
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
|
35 |
|
|
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
|
36 |
|
|
//// PURPOSE. See the GNU Lesser General Public License for more ////
|
37 |
|
|
//// details. ////
|
38 |
|
|
//// ////
|
39 |
|
|
//// You should have received a copy of the GNU Lesser General ////
|
40 |
|
|
//// Public License along with this source; if not, download it ////
|
41 |
|
|
//// from http://www.opencores.org/lgpl.shtml ////
|
42 |
|
|
//// ////
|
43 |
|
|
//////////////////////////////////////////////////////////////////////
|
44 |
|
|
//
|
45 |
|
|
// CVS Revision History
|
46 |
|
|
//
|
47 |
|
|
// $Log: not supported by cvs2svn $
|
48 |
18 |
lampret |
// Revision 1.2 2001/08/21 22:01:50 lampret
|
49 |
|
|
// More intensive verification.
|
50 |
|
|
//
|
51 |
11 |
lampret |
// Revision 1.1 2001/08/21 21:39:27 lampret
|
52 |
|
|
// Changed directory structure, port names and drfines.
|
53 |
|
|
//
|
54 |
8 |
lampret |
// Revision 1.2 2001/07/14 20:37:23 lampret
|
55 |
|
|
// Test bench improvements.
|
56 |
|
|
//
|
57 |
|
|
// Revision 1.1 2001/06/05 07:45:22 lampret
|
58 |
|
|
// Added initial RTL and test benches. There are still some issues with these files.
|
59 |
|
|
//
|
60 |
|
|
//
|
61 |
|
|
|
62 |
|
|
//
|
63 |
|
|
// Define if you want VCD dump
|
64 |
|
|
//
|
65 |
|
|
`define GPIO_DUMP_VCD
|
66 |
|
|
|
67 |
|
|
//
|
68 |
|
|
// Intensity of verification
|
69 |
|
|
//
|
70 |
|
|
// Higher number means more intensive verification. Higher number
|
71 |
|
|
// means more loops of each subtest (e.g. for some subtests
|
72 |
|
|
// 5 means 50 loops, for others 100 etc). Good numbers are from 1
|
73 |
|
|
// (very fast and very little verification) to 200 (slow but thorough).
|
74 |
18 |
lampret |
// Default is 200.
|
75 |
8 |
lampret |
//
|
76 |
11 |
lampret |
`define GPIO_VERIF_INTENSITY 200
|