aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2166/testsuite.sh
blob: 8828745e3f89f12677111df8d76ea8500d1eb9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#! /bin/sh

. ../../testenv.sh

export GHDL_STD_FLAGS="--std=08 -frelaxed"

analyze repro1.vhdl
elab_simulate repro1

analyze repro3.vhdl
elab_simulate repro3

analyze repro2.vhdl
elab_simulate repro2

analyze tb3.vhdl
elab_simulate tb3

if false; then
    export GHDL_STD_FLAGS="--std=08 -frelaxed --work=osvvm -Wno-hide"

    analyze OsvvmLibraries/osvvm/TextUtilPkg.vhd
    analyze OsvvmLibraries/osvvm/ResolutionPkg.vhd
    analyze OsvvmLibraries/osvvm/NamePkg.vhd
    analyze OsvvmLibraries/osvvm/OsvvmGlobalPkg.vhd
    analyze OsvvmLibraries/osvvm/VendorCovApiPkg.vhd
    analyze OsvvmLibraries/osvvm/TranscriptPkg.vhd
    analyze OsvvmLibraries/osvvm/AlertLogPkg.vhd
    analyze OsvvmLibraries/osvvm/NameStorePkg.vhd
    #analyze OsvvmLibraries/osvvm/MessageListPkg.vhd
    #analyze OsvvmLibraries/osvvm/SortListPkg_int.vhd
    #analyze OsvvmLibraries/osvvm/RandomBasePkg.vhd
    #analyze OsvvmLibraries/osvvm/RandomPkg.vhd
    #analyze OsvvmLibraries/osvvm/RandomProcedurePkg.vhd
    #analyze OsvvmLibraries/osvvm/CoveragePkg.vhd
    #analyze OsvvmLibraries/osvvm/ScoreboardGenericPkg.vhd
    #analyze OsvvmLibraries/osvvm/ScoreboardPkg_slv.vhd
    #analyze OsvvmLibraries/osvvm/ScoreboardPkg_int.vhd
    #analyze OsvvmLibraries/osvvm/ResizePkg.vhd
    analyze OsvvmLibraries/osvvm/MemorySupportPkg.vhd
    analyze OsvvmLibraries/osvvm/MemoryGenericPkg.vhd
    analyze OsvvmLibraries/osvvm/MemoryPkg.vhd
    #analyze OsvvmLibraries/osvvm/TbUtilPkg.vhd
    #analyze OsvvmLibraries/osvvm/ReportPkg.vhd
    #analyze OsvvmLibraries/osvvm/OsvvmTypesPkg.vhd
    #analyze OsvvmLibraries/osvvm/OsvvmContext.vhd


    export GHDL_STD_FLAGS="--std=08 -frelaxed"

    analyze tb2.vhdl
    elab_simulate tb2

    analyze tb.vhdl
    elab_simulate tb
fi

clean

echo "Test successful"