Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / Midas / Globals.pm
CommitLineData
86530b38
AT
1# -*- perl -*-
2
3package Midas::Globals;
4
5require Exporter;
6
7our @ISA = qw(Exporter);
8our @EXPORT = qw( $STATE %CONFIG $VASIZE $RASIZE $PASIZE $CONFIG_FILE
9 %MapAttr_Settable %MapAttr_FieldMax %MapAttr_FieldWidth
10 clear_globals $PROJECT );
11
12
13our $STATE;
14our %CONFIG;
15our $CONFIG_FILE = 'midasconfig.pl';
16our $PROJECT = exists $ENV{PROJECT} ? $ENV{PROJECT} : undef;
17
18our $VASIZE;
19our $RASIZE;
20our $PASIZE;
21our %MapAttr_Settable;
22our %MapAttr_FieldMax;
23our %MapAttr_FieldWidth;
24
25sub clear_globals { undef $STATE; undef %CONFIG;
26 undef $VASIZE; undef $RASIZE; undef $PASIZE;
27 undef %MapAttr_Settable;
28 undef %MapAttr_FieldMax;
29 undef %MapAttr_FieldWidth;
30 $CONFIG_FILE = 'midasconfig.pl';
31 $PROJECT = exists $ENV{PROJECT} ? $ENV{PROJECT} : undef;
32 }
33
341;