1 |
107 |
pela |
:;#---------------------------------------------------------------------
|
2 |
|
|
:;#--- ----
|
3 |
|
|
:;#--- PlTbUtils Script for generating test files ----
|
4 |
|
|
:;#--- For Windows and Linux. Line endings must be LF (Unix). ----
|
5 |
|
|
:;#--- ----
|
6 |
|
|
:;#--- This file is part of the PlTbUtils project ----
|
7 |
|
|
:;#--- http://opencores.org/project,pltbutils ----
|
8 |
|
|
:;#--- ----
|
9 |
|
|
:;#--- Description: ----
|
10 |
|
|
:;#--- PlTbUtils is a collection of functions, procedures and ----
|
11 |
|
|
:;#--- components for easily creating stimuli and checking response ----
|
12 |
|
|
:;#--- in automatic self-checking testbenches. ----
|
13 |
|
|
:;#--- ----
|
14 |
|
|
:;#--- This file generates test files for verifying the file check ----
|
15 |
|
|
:;#--- procedures check_binfile, check_txtfile, check_datfile, etc. ----
|
16 |
|
|
:;#--- In tb_pltbutils.vhd, there are tests that let these ----
|
17 |
|
|
:;#--- procedures compare test files (the ones generated by this ----
|
18 |
|
|
:;#--- script). ----
|
19 |
|
|
:;#--- ----
|
20 |
|
|
:;#--- To Do: ----
|
21 |
|
|
:;#--- - ----
|
22 |
|
|
:;#--- ----
|
23 |
|
|
:;#--- Author(s): ----
|
24 |
|
|
:;#--- - Per Larsson, pela.opencores@gmail.com ----
|
25 |
|
|
:;#--- ----
|
26 |
|
|
:;#---------------------------------------------------------------------
|
27 |
|
|
:;#--- ----
|
28 |
|
|
:;#--- Copyright (C) 2020 Authors and OPENCORES.ORG ----
|
29 |
|
|
:;#--- ----
|
30 |
|
|
:;#--- This source file may be used and distributed without ----
|
31 |
|
|
:;#--- restriction provided that this copyright statement is not ----
|
32 |
|
|
:;#--- removed from the file and that any derivative work contains ----
|
33 |
|
|
:;#--- the original copyright notice and the associated disclaimer. ----
|
34 |
|
|
:;#--- ----
|
35 |
|
|
:;#--- This source file is free software; you can redistribute it ----
|
36 |
|
|
:;#--- and/or modify it under the terms of the GNU Lesser General ----
|
37 |
|
|
:;#--- Public License as published by the Free Software Foundation; ----
|
38 |
|
|
:;#--- either version 2.1 of the License, or (at your option) any ----
|
39 |
|
|
:;#--- later version. ----
|
40 |
|
|
:;#--- ----
|
41 |
|
|
:;#--- This source is distributed in the hope that it will be ----
|
42 |
|
|
:;#--- useful, but WITHOUT ANY WARRANTY; without even the implied ----
|
43 |
|
|
:;#--- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ----
|
44 |
|
|
:;#--- PURPOSE. See the GNU Lesser General Public License for more ----
|
45 |
|
|
:;#--- details. ----
|
46 |
|
|
:;#--- ----
|
47 |
|
|
:;#--- You should have received a copy of the GNU Lesser General ----
|
48 |
|
|
:;#--- Public License along with this source; if not, download it ----
|
49 |
|
|
:;#--- from http://www.opencores.org/lgpl.shtml ----
|
50 |
|
|
:;#--- ----
|
51 |
|
|
:;#---------------------------------------------------------------------
|
52 |
|
|
|
53 |
|
|
tclsh gen_testfiles.tcl
|