t/201-fail: add a simple test for non-existent source files.

(This actually went uncaught in my redo rewrite.  Oops.)

rm -f this-doesnt-exist
! redo this-doesnt-exist >&/dev/null || exit 32  # expected to fail
! redo-ifchange this-doesnt-exist >&/dev/null || exit 33  # expected to fail
redo-ifcreate this-doesnt-exist >&/dev/null || exit 34  # expected to pass

rm -f fail
! redo-ifchange fail >&/dev/null || exit 44  # expected to fail

touch fail
../flush-cache
redo-ifchange fail >&/dev/null || exit 55  # expected to pass


Update 02_hhchar.do

Update 02_hhchar.do

/*------------------------------------------------------------------------------
# Name:		02_hhchar
# Purpose:	Process household characteristics and education characteristics
# Author:	Tim Essam
# Created:	2015/2/26
# License:	MIT License
# Ado(s):	labutil, labutil2 (ssc install labutil, labutil2)
# Dependencies: copylables, attachlabels, 00_SetupFoldersGlobals.do
#-------------------------------------------------------------------------------
*/

clear
capture log close
log using "$pathlog/01_hhchar.log", replace

use "$pathraw/GSEC2.dta", replace

* Merge education data to household roster using the force command
merge 1:1 HHID PID using "$pathraw/GSEC4.dta", force
ren _merge gsecMerge
merge 1:1 HHID PID using "$pathraw/GSEC3.dta", force

/* Demographic list to calculate
1. Head of Household Sex
2. Relationship Status
*/

* Create head of household variable based on primary respondent and sex
g byte hoh = h2q4 == 1
la var hoh "Head of household"

g byte femhead = h2q3 == 2 & h2q4 == 1
la var femhead "Female head of household"

g agehead = h2q8 if hoh == 1
la var agehead "Age of head of household"

g ageheadsq = agehead^2
la var ageheadsq "Squared age of the head (for non-linear effects)"

* Relationship status variables
g byte marriedHohm = h2q10 == 1 & hoh==1
la var marriedHohm "married HOH monogamous"

g byte marriedHoh = hoh ==1 & inlist(h2q10, 1, 2)
la var marriedHoh "married head of household (any type)"

g byte marriedHohp = h2q10 == 2 & hoh==1
la var marriedHohp "married HOH polygamous"

g byte divorcedHead = (h2q10 == 3 & hoh==1)
la var divorcedHead "divorced HoH"

g byte divorcedFemhead = (h2q10 == 3 & femhead == 1)
la var divorcedFemhead "divorced Female head of household"

g byte widowHead = (h2q10 == 4 & hoh==1)
la var widowHead "widowed HoH"

g byte widowFemhead = (h2q10 == 4 & femhead == 1)
la var widowFemhead "Widowed Female head of household"

g byte singleHead = (h2q10==5 & hoh==1)
la var singleHead "single HoH"

g byte singleFemhead = (h2q10==5 & femhead)
la var singleFemhead "single HoH"

* Calculate household demographics (size, adult equivalent units, dep ratio, etc).

/* Household size - Household size refers to the number of usual members in a
household. Usual members are defined as those who have lived in the household
for at least 6 months in the past 12 months. However, it includes persons who
may have spent less than 6 months during the last 12 months in the household
but have joined the household with intention to live permanently or for an
extended period of time.
* http://www.ubos.org/UNHS0910/chapter2_householdcharacteristics.html */

*Create a flag variable for determining who is a usual member from above.
g byte hhmemb = (inlist(h2q7, 1, 2) & h2q5 >= 6)
egen hhsize = total(hhmemb), by(HHID)
la var hhsize "household size"

* Create sex ratio for households
g byte male = h2q3 == 1 & hhmemb == 1
g byte female = h2q3 == 2 & hhmemb == 1
la var male "male hh members"
la var female "female hh members"

egen msize = total(male), by(HHID)
la var msize "number of males in hh"

egen fsize = total(female), by(HHID)
la var fsize "number of females in hh"

* Create a gender ratio variable
g sexRatio = msize/fsize
recode sexRatio (. = 0) if fsize==0
la var sexRatio "Ratio of males to females in HH"

* Calculate age demographics
g byte under15tmp = h2q8 <= 15 & hhmemb ==1
g byte under24tmp = h2q8 <= 24 &  hhmemb==1

egen under15 = total(under15tmp), by(HHID)
la var under15 "number of hh members under 15 years old"

egen under24 = total(under24tmp), by(HHID)
la var under24 "number of hh members under 24 years old"

egen under15male = total(under15tmp) if male==1, by(HHID)
la var under15male "number of male hh members under 15"

egen under15female = total(under15tmp) if female==1, by(HHID)
la var under15female "number of female hh members under 15"

egen under24male = total(under24tmp) if male==1, by(HHID)
la var under24male "number of male hh members under 24"

egen under24female = total(under24tmp) if female==1, by(HHID)
la var under24female "number of female hh members under 24"

/* Create intl. HH dependency ratio (age ranges appropriate for Bangladesh)
# HH Dependecy Ratio = [(# people 0-14 + those 65+) / # people aged 15-64 ] * 100 #
The dependency ratio is defined as the ratio of the number of members in the age groups
of 0–14 years and above 60 years to the number of members of working age (15–60 years).
The ratio is normally expressed as a percentage (data below are multiplied by 100 for pcts.*/
g byte numDepRatio = (h2q8 < 15 | h2q8 > 64) & hhmemb == 1
g byte demonDepRatio = numDepRatio != 1 & hhmemb == 1
egen totNumDepRatio = total(numDepRatio), by(HHID)
egen totDenomDepRatio = total(demonDepRatio), by(HHID)

* Check that numbers add to hhsize
assert hhsize == totNumDepRatio+totDenomDepRatio if hhmemb==1
g depRatio = (totNumDepRatio/totDenomDepRatio)*100 if totDenomDepRatio!=.
recode depRatio (. = 0) if totDenomDepRatio==0
la var depRatio "Dependency Ratio"

* Calculate household labor shares (ages 12 - 60)
/* Household Labor Shares */
g byte hhLabort = (h2q8>= 12 & h2q8<60) & hhmemb == 1
egen hhlabor = total(hhLabort), by(HHID)
la var hhlabor "hh labor age>11 & < 60"

g byte mlabort = (h2q8>= 12 & h2q8<60 & male == 1)
egen mlabor = total(mlabort), by(HHID)
la var mlabor "hh male labor age>11 & <60"

g byte flabort = (h2q8>= 12 & h2q8<60 & female == 1)
egen flabor = total(flabort), by(HHID)
la var flabor "hh female labor age>11 & <60"
drop hhLabort mlabort flabort

* Male/Female labor share in hh
g mlaborShare = mlabor/hhlabor
recode mlaborShare (. = 0) if hhlabor == 0
la var mlaborShare "share of working age males in hh"

g flaborShare = flabor/hhlabor
recode flaborShare (. = 0) if hhlabor == 0
la var flaborShare "share of working age females in hh"

* Generate adult equivalents in household
g male10 	= 1
g fem10_19 	= 0.84
g fem20		= 0.72
g child10	= 0.60

g ae = .
replace ae = male10 if (h2q8 >=10 ) & male == 1
replace ae = fem10_19 if (h2q8 >= 10 & h2q8 < 20) & female == 1
replace ae = fem20 if (h2q8 >= 20) & female == 1
replace ae = child10 if (h2q8) < 10 & hhmemb == 1
la var ae "Adult equivalents in household"

egen adultEquiv = total(ae), by(HHID)
la var adultEquiv "Total adult equivalent units"

**********************
* Education outcomes *
**********************
/* Literacy is defined as one’s ability to read with understanding and to
 write meaningfully in any language. */
g byte literateHoh = h4q4 == 4 & hoh == 1
g byte literateSpouse = h4q4 == 4 & h2q4 == 2 & hhmemb == 1

la var literateHoh "Hoh is literate"
la var literateSpouse "Spouse is literate"

/* Education level values found in h4q7 defined using the following:
http://microdata.worldbank.org/index.php/catalog/565/datafile/F2/V110
http://www.classbase.com/countries/Uganda/Education-System
	No Education (0)
	Pre-Primary (Less than Primary Year 1)
	Primary Level (Years 1 - 7)
	Post-Primary Specialized Training or Certificate
	Junior Vocational/Technical (Years 8 - 10)
	Lower Secondary (Years 8 - 11)
	Upper Secondary (Years 11 - 13)
	Post-Secondary Specialized Training or Certificate
	Tertiary (Above Secondary other than Post-Secondary Specialized Training or Cer
tificate)
*/
g educ = .
la var educ "Education levels"
* No education (This includes:"Don't Know" and "2" Responses))
replace educ = 0 if inlist(h4q7, 2, 99)
* Pre-primary
replace educ = 1 if inlist(h4q7, 10)
* Primary
replace educ = 2 if inlist(h4q7, 11, 12, 13, 14, 15, 16, 17)
* Post-Primary Specialized Training or Certificate
replace educ = 3 if inlist(h4q7, 41)
* Junior Techincal/Vocational
replace educ = 4 if inlist(h4q7, 21, 22, 23)
* Lower Secondary
replace educ = 5 if inlist(h4q7, 31, 32, 33, 34)
* Upper Secondary
replace educ = 6 if inlist(h4q7, 35, 36)
* Post-Secondary Specialized Training or Certificate
replace educ = 7 if inlist(h4q7, 51)
* Tertiary
replace educ = 8 if inlist(h4q7, 61)

g educHoh = educ if hoh == 1
g educSpouse = educ if h2q4 == 2 & hhmemb == 1

lab def ed 0 "No education" 1 "Pre-primary" 2 "Primary" 3 "Post-Primary" /*
*/ 4 "Junior Techincal/Vocational " 5 "Lower Secondary" 6 "Upper Secondary" /*
*/ 7 "Post-Secondary Specialized" 8 "Tertiary"
la values educ ed
la values educHoh ed
la values educSpouse ed

* Create variable to reflect the maximum level of education in the household for those 25+
egen educAdult = max(educ) if h2q8>24 & hhmemb ==1, by(HHID)
egen educAdultM = max(educ) if h2q8>24 & hhmemb ==1 & male == 1, by(HHID)
egen educAdultF = max(educ) if h2q8>24 & hhmemb ==1 & female == 1, by(HHID)

la var educAdult "Highest adult education in household"
la var educAdultM "Highest male adult education in household"
la var educAdultF "Highest female adult education in household"
la var educHoh "Education of Hoh"
la var educSpouse "Education of spouse"

* Calculate school expenses for all regular household members
egen totSchoolExptmp = rsum2(h4q15a h4q15b h4q15c h4q15d h4q15e h4q15f)
replace totSchoolExptmp = h4q15g if totSchoolExp == 0
egen totSchoolExp = total(totSchoolExptmp), by(HHID)
la var totSchoolExp "Total school expenses for household"

g byte aidSchool = (h4q16 == 1)
la var aidSchool "HH member received school scholarship (all sources)"

drop totNumDepRatio totDenomDepRatio demonDepRatio numDepRatio male10 fem10_19 fem20 child10 /*
*/ under15tmp under24tmp hhmemb totSchoolExptmp

* Retain only derived data for collapsing
ds(h2q* h4* T6* T2* LocID PID gsecMerge h3q* _merge educ), not
keep `r(varlist)'

* Collapse everything down to HH-level using max values for all vars
* Copy variable labels to reapply after collapse
include "$pathdo/copylabels.do"

ds(HHID), not
collapse (max) `r(varlist)', by(HHID)

* Reapply variable lables & value labels
include "$pathdo/attachlabels.do"

* Summarize collapsed data and review for potential coding errors
sum

* Save
save "$pathout/hhchar.dta", replace

* Keep a master file of only household id's for missing var checks
keep HHID PID
save "$pathout\hhid.dta", replace

* Create an html file of the log for internet sharability
log2html "$pathlog/02_hhchar", replace
log close

/*------------------------------------------------------------------------------
# Name:		02_hhchar
# Purpose:	Process household characteristics and education characteristics
# Author:	Patrick Gault
# Created:	2015/2/21
# License:	MIT License
# Ado(s):	labutil, labutil2 (ssc install labutil, labutil2)
# Dependencies: copylables, attachlabels, 00_SetupFoldersGlobals.do
#-------------------------------------------------------------------------------
*/

clear
capture log close
log using "$pathlog/01_hhchar.log", replace

use "$pathraw/GSEC2.dta", replace

* Merge education data to household roster using the force command
merge 1:1 HHID PID using "$pathraw/GSEC4.dta", force
ren _merge gsecMerge
merge 1:1 HHID PID using "$pathraw/GSEC3.dta", force

/* Demographic list to calculate
1. Head of Household Sex
2. Relationship Status
*/

* Create head of household variable based on primary respondent and sex
g byte hoh = h2q4 == 1
la var hoh "Head of household"

g byte femhead = h2q3 == 2 & h2q4 == 1
la var femhead "Female head of household"

g agehead = h2q8 if hoh == 1
la var agehead "Age of head of household"

g ageheadsq = agehead^2
la var ageheadsq "Squared age of the head (for non-linear effects)"

* Relationship status variables
g byte marriedHohm = h2q10 == 1 & hoh==1
la var marriedHohm "married HOH monogamous"

g byte marriedHoh = hoh ==1 & inlist(h2q10, 1, 2)
la var marriedHoh "married head of household (any type)"

g byte marriedHohp = h2q10 == 2 & hoh==1
la var marriedHohp "married HOH polygamous"

g byte divorcedHead = (h2q10 == 3 & hoh==1)
la var divorcedHead "divorced HoH"

g byte divorcedFemhead = (h2q10 == 3 & femhead == 1)
la var divorcedFemhead "divorced Female head of household"

g byte widowHead = (h2q10 == 4 & hoh==1)
la var widowHead "widowed HoH"

g byte widowFemhead = (h2q10 == 4 & femhead == 1)
la var widowFemhead "Widowed Female head of household"

g byte singleHead = (h2q10==5 & hoh==1)
la var singleHead "single HoH"

g byte singleFemhead = (h2q10==5 & femhead)
la var singleFemhead "single HoH"

* Calculate household demographics (size, adult equivalent units, dep ratio, etc).

/* Household size - Household size refers to the number of usual members in a
household. Usual members are defined as those who have lived in the household
for at least 6 months in the past 12 months. However, it includes persons who
may have spent less than 6 months during the last 12 months in the household
but have joined the household with intention to live permanently or for an
extended period of time.
* http://www.ubos.org/UNHS0910/chapter2_householdcharacteristics.html */

*Create a flag variable for determining who is a usual member from above.
g byte hhmemb = (inlist(h2q7, 1, 2) & h2q5 >= 6)
egen hhsize = total(hhmemb), by(HHID)
la var hhsize "household size"

* Create sex ratio for households
g byte male = h2q3 == 1 & hhmemb == 1
g byte female = h2q3 == 2 & hhmemb == 1
la var male "male hh members"
la var female "female hh members"

egen msize = total(male), by(HHID)
la var msize "number of males in hh"

egen fsize = total(female), by(HHID)
la var fsize "number of females in hh"

* Create a gender ratio variable
g sexRatio = msize/fsize
recode sexRatio (. = 0) if fsize==0
la var sexRatio "Ratio of males to females in HH"

* Calculate age demographics
g byte under15tmp = h2q8 <= 15 & hhmemb ==1
g byte under24tmp = h2q8 <= 24 &  hhmemb==1

egen under15 = total(under15tmp), by(HHID)
la var under15 "number of hh members under 15 years old"

egen under24 = total(under24tmp), by(HHID)
la var under24 "number of hh members under 24 years old"

egen under15male = total(under15tmp) if male==1, by(HHID)
la var under15male "number of male hh members under 15"

egen under15female = total(under15tmp) if female==1, by(HHID)
la var under15female "number of female hh members under 15"

egen under24male = total(under24tmp) if male==1, by(HHID)
la var under24male "number of male hh members under 24"

egen under24female = total(under24tmp) if female==1, by(HHID)
la var under24female "number of female hh members under 24"

/* Create intl. HH dependency ratio (age ranges appropriate for Bangladesh)
# HH Dependecy Ratio = [(# people 0-14 + those 65+) / # people aged 15-64 ] * 100 #
The dependency ratio is defined as the ratio of the number of members in the age groups
of 0–14 years and above 60 years to the number of members of working age (15–60 years).
The ratio is normally expressed as a percentage (data below are multiplied by 100 for pcts.*/
g byte numDepRatio = (h2q8 < 15 | h2q8 > 64) & hhmemb == 1
g byte demonDepRatio = numDepRatio != 1 & hhmemb == 1
egen totNumDepRatio = total(numDepRatio), by(HHID)
egen totDenomDepRatio = total(demonDepRatio), by(HHID)

* Check that numbers add to hhsize
assert hhsize == totNumDepRatio+totDenomDepRatio if hhmemb==1
g depRatio = (totNumDepRatio/totDenomDepRatio)*100 if totDenomDepRatio!=.
recode depRatio (. = 0) if totDenomDepRatio==0
la var depRatio "Dependency Ratio"

* Calculate household labor shares (ages 12 - 60)
/* Household Labor Shares */
g byte hhLabort = (h2q8>= 12 & h2q8<60) & hhmemb == 1
egen hhlabor = total(hhLabort), by(HHID)
la var hhlabor "hh labor age>11 & < 60"

g byte mlabort = (h2q8>= 12 & h2q8<60 & male == 1)
egen mlabor = total(mlabort), by(HHID)
la var mlabor "hh male labor age>11 & <60"

g byte flabort = (h2q8>= 12 & h2q8<60 & female == 1)
egen flabor = total(flabort), by(HHID)
la var flabor "hh female labor age>11 & <60"
drop hhLabort mlabort flabort

* Male/Female labor share in hh
g mlaborShare = mlabor/hhlabor
recode mlaborShare (. = 0) if hhlabor == 0
la var mlaborShare "share of working age males in hh"

g flaborShare = flabor/hhlabor
recode flaborShare (. = 0) if hhlabor == 0
la var flaborShare "share of working age females in hh"

* Generate adult equivalents in household
g male10 	= 1
g fem10_19 	= 0.84
g fem20		= 0.72
g child10	= 0.60

g ae = .
replace ae = male10 if (h2q8 >=10 ) & male == 1
replace ae = fem10_19 if (h2q8 >= 10 & h2q8 < 20) & female == 1
replace ae = fem20 if (h2q8 >= 20) & female == 1
replace ae = child10 if (h2q8) < 10 & hhmemb == 1
la var ae "Adult equivalents in household"

egen adultEquiv = total(ae), by(HHID)
la var adultEquiv "Total adult equivalent units"

**********************
* Education outcomes *
**********************
/* Literacy is defined as one’s ability to read with understanding and to
 write meaningfully in any language. */
g byte literateHoh = h4q4 == 4 & hoh == 1
g byte literateSpouse = h4q4 == 4 & h2q4 == 2 & hhmemb == 1

la var literateHoh "Hoh is literate"
la var literateSpouse "Spouse is literate"

/* Education level values found in h4q7 defined using the following:
http://microdata.worldbank.org/index.php/catalog/565/datafile/F2/V110
http://www.classbase.com/countries/Uganda/Education-System
	No Education (0)
	Pre-Primary (Less than Primary Year 1)
	Primary Level (Years 1 - 7)
	Post-Primary Specialized Training or Certificate
	Junior Vocational/Technical (Years 8 - 10)
	Lower Secondary (Years 8 - 11)
	Upper Secondary (Years 11 - 13)
	Post-Secondary Specialized Training or Certificate
	Tertiary (Above Secondary other than Post-Secondary Specialized Training or Cer
tificate)
*/
g educ = .
la var educ "Education levels"
* No education (This includes:"Don't Know" and "2" Responses))
replace educ = 0 if inlist(h4q7, 2, 99)
* Pre-primary
replace educ = 1 if inlist(h4q7, 10)
* Primary
replace educ = 2 if inlist(h4q7, 11, 12, 13, 14, 15, 16, 17)
* Post-Primary Specialized Training or Certificate
replace educ = 3 if inlist(h4q7, 41)
* Junior Techincal/Vocational
replace educ = 4 if inlist(h4q7, 21, 22, 23)
* Lower Secondary
replace educ = 5 if inlist(h4q7, 31, 32, 33, 34)
* Upper Secondary
replace educ = 6 if inlist(h4q7, 35, 36)
* Post-Secondary Specialized Training or Certificate
replace educ = 7 if inlist(h4q7, 51)
* Tertiary
replace educ = 8 if inlist(h4q7, 61)

g educHoh = educ if hoh == 1
g educSpouse = educ if h2q4 == 2 & hhmemb == 1

lab def ed 0 "No education" 1 "Pre-primary" 2 "Primary" 3 "Post-Primary" /*
*/ 4 "Junior Techincal/Vocational " 5 "Lower Secondary" 6 "Upper Secondary" /*
*/ 7 "Post-Secondary Specialized" 8 "Tertiary"
la values educ ed
la values educHoh ed
la values educSpouse ed

* Create variable to reflect the maximum level of education in the household for those 25+
egen educAdult = max(educ) if h2q8>24 & hhmemb ==1, by(HHID)
egen educAdultM = max(educ) if h2q8>24 & hhmemb ==1 & male == 1, by(HHID)
egen educAdultF = max(educ) if h2q8>24 & hhmemb ==1 & female == 1, by(HHID)

la var educAdult "Highest adult education in household"
la var educAdultM "Highest male adult education in household"
la var educAdultF "Highest female adult education in household"
la var educHoh "Education of Hoh"
la var educSpouse "Education of spouse"

* Calculate school expenses for all regular household members
egen totSchoolExptmp = rsum2(h4q15a h4q15b h4q15c h4q15d h4q15e h4q15f)
replace totSchoolExptmp = h4q15g if totSchoolExp == 0
egen totSchoolExp = total(totSchoolExptmp), by(HHID)
la var totSchoolExp "Total school expenses for household"

g byte aidSchool = (h4q16 == 1)
la var aidSchool "HH member received school scholarship (all sources)"

drop totNumDepRatio totDenomDepRatio demonDepRatio numDepRatio male10 fem10_19 fem20 child10 /*
*/ under15tmp under24tmp hhmemb totSchoolExptmp

* Retain only derived data for collapsing
ds(h2q* h4* T6* T2* LocID PID gsecMerge h3q* _merge educ), not
keep `r(varlist)'

* Collapse everything down to HH-level using max values for all vars
* Copy variable labels to reapply after collapse
include "$pathdo/copylabels.do"

ds(HHID), not
collapse (max) `r(varlist)', by(HHID)

* Reapply variable lables & value labels
include "$pathdo/attachlabels.do"

* Summarize collapsed data and review for potential coding errors
sum

* Save
save "$pathout/hhchar.dta", replace

* Keep a master file of only household id's for missing var checks
keep HHID PID
save "$pathout\hhid.dta", replace

* Create an html file of the log for internet sharability
log2html "$pathlog/02_hhchar", replace
log close


semester and 2 vars

semester and 2 vars

program ddchart

use ${stash}panelfips, clear

// need to exclude early months because of sparse data
// TODO! Far from complete, come back to this.

est clear
use ${stash}panelfips, clear

gen semester = hofd(dofm(month))
format semester %th

eststo: xtpoisson numuser 1.treat##b95.semester, fe vce(robust)
estimates save ${myestimates}dd_numuser, replace

eststo: xtpoisson numcontrib 1.treat##b95.semester, fe vce(robust)
estimates save ${myestimates}dd_contrib, replace

drawchart numuser 2006

end

program drawchart

local var `1'
local cutoff `2'

estimates use ${myestimates}dd_`var'
qui parmest, label list(parm estimate min* max* p) saving(${stash}pars_tmp, replace)

clear
use ${stash}pars_tmp, clear

keep if regexm(parm, "1.*treat.*semester.*") == 1
gen semester = regexs(1) if regexm(parm, ".*#([0-9][0-9][0-9]?)b?\..*")

destring semester, replace
replace semester = semester - 95
label variable semester "Half-Year"

qui gen xaxis = 0
* list estimate min max month

graph twoway (connected estimate semester, msize(small) lpattern(solid) lcolor(edkblue) lwidth(thin)) (line min semester, lwidth(vthin) lpattern(-) lcolor(gs8)) (line max semester, lwidth(vthin) lpattern(-) lcolor(gs8)) (line xaxis semester, lwidth(vthin) lcolor(gs8)) if semester > -4, xline(0) legend(off) title("") xtitle("Semester")

graph export ${tables}timeline_`var'.eps, replace
shell epstopdf ${tables}timeline_`var'.eps

end

program old
est clear
use ${stash}panelfips, clear
eststo: xtpoisson numuser 1.treat##b573.month if month > 550, fe vce(robust)

eststo: xtpoisson numuser 1.treat##b2007.year if month > 550, fe vce(robust)

estimates save ${myestimates}dd_numuser, replace

est clear
use ${stash}panelfips, clear
eststo: xtreg numuser 1.treat##b573.month, fe vce(robust)
estimates save ${myestimates}dd_numnewusers, replace

est clear
use ${stash}panelfips, clear
eststo: xtpoisson numcontrib 1.treat##b573.month if month > 550, fe vce(robust)
estimates save ${myestimates}dd_numcontrib, replace

est clear
use ${stash}panelfips, clear
eststo: xtpoisson numserious90 1.treat##b573.month if month > 564, fe vce(robust)
estimates save ${myestimates}dd_numserious90, replace

drawchart numuser -15
drawchart numnewusers -8
drawchart numcontrib -15
drawchart numserious90 -15
end

program ddchart

use ${stash}panelfips, clear

// need to exclude early months because of sparse data
// TODO! Far from complete, come back to this.

est clear
use ${stash}panelfips, clear

gen semester = hofd(dofm(month))
format semester %th

eststo: xtpoisson numuser 1.treat##b2007.year if month > 550, fe vce(robust)
estimates save ${myestimates}dd_numuser, replace

eststo: xtpoisson numuser 1.treat##b95.semester, fe vce(robust)
estimates save ${myestimates}dd_numuser, replace

drawchart numuser 2006

end

program drawchart

local var `1'
local cutoff `2'

estimates use ${myestimates}dd_`var'
qui parmest, label list(parm estimate min* max* p) saving(${stash}pars_tmp, replace)

clear
use ${stash}pars_tmp, clear

keep if regexm(parm, "1.*treat.*semester.*") == 1
gen semester = regexs(1) if regexm(parm, ".*#([0-9][0-9][0-9]?)b?\..*")

destring semester, replace
replace semester = semester - 95
label variable semester "Half-Year"

qui gen xaxis = 0
* list estimate min max month

graph twoway (connected estimate semester, msize(small) lpattern(solid) lcolor(edkblue) lwidth(thin)) (line min semester, lwidth(vthin) lpattern(-) lcolor(gs8)) (line max semester, lwidth(vthin) lpattern(-) lcolor(gs8)) (line xaxis semester, lwidth(vthin) lcolor(gs8)) if semester > -4, xline(0) legend(off) title("") xtitle("Semester")

graph export ${tables}timeline_`var'.eps, replace
shell epstopdf ${tables}timeline_`var'.eps

end

program old
est clear
use ${stash}panelfips, clear
eststo: xtpoisson numuser 1.treat##b573.month if month > 550, fe vce(robust)

eststo: xtpoisson numuser 1.treat##b2007.year if month > 550, fe vce(robust)

estimates save ${myestimates}dd_numuser, replace

est clear
use ${stash}panelfips, clear
eststo: xtreg numuser 1.treat##b573.month, fe vce(robust)
estimates save ${myestimates}dd_numnewusers, replace

est clear
use ${stash}panelfips, clear
eststo: xtpoisson numcontrib 1.treat##b573.month if month > 550, fe vce(robust)
estimates save ${myestimates}dd_numcontrib, replace

est clear
use ${stash}panelfips, clear
eststo: xtpoisson numserious90 1.treat##b573.month if month > 564, fe vce(robust)
estimates save ${myestimates}dd_numserious90, replace

drawchart numuser -15
drawchart numnewusers -8
drawchart numcontrib -15
drawchart numserious90 -15
end


wave update

wave update

onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/clk_i
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/rst_i
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_req
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_addr
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_we
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_wdata
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_ack
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_resp
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_rdata
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_req
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_addr
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_we
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_wdata
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_ack
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_resp
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_rdata
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_req
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_addr
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_we
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_wdata
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_ack
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_resp
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_rdata
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_req
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_addr
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_we
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_wdata
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_ack
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_resp
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_rdata
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_req
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_ack
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_addr
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_we
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_wdata
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_resp
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_rdata
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_req
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_ack
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_rdata
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_addr
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_we
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_resp
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_wdata
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_req
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_ack
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_addr
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_we
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_wdata
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_resp
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_rdata
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_req
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_ack
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_addr
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_we
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_wdata
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_resp
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_rdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_req
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s_addr
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s_we
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s_wdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_ack
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_rdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_resp
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_req
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s_addr
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s_we
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s_wdata
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_ack
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_rdata
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_resp
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_req
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s_addr
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s_we
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s_wdata
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_ack
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_rdata
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_resp
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_req
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s_addr
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s_we
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s_wdata
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_ack
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_rdata
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_resp
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_req
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s_addr
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s_we
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s_wdata
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_ack
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_rdata
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_resp
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_req
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s_addr
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s_we
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s_wdata
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_ack
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_rdata
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_resp
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_req
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s_addr
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s_we
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s_wdata
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_ack
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_rdata
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_resp
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_req
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s_addr
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s_we
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s_wdata
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_ack
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_rdata
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_resp
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_req
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s_addr
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s_we
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s_wdata
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_ack
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_rdata
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_resp
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_req
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s_addr
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s_we
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s_wdata
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_ack
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_rdata
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_resp
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_req
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s_addr
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s_we
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s_wdata
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_ack
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_rdata
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_resp
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_req
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s_addr
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s_we
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s_wdata
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_ack
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_rdata
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_resp
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_req
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s_addr
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s_we
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s_wdata
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_ack
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_rdata
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_resp
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_req
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s_addr
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s_we
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s_wdata
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_ack
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_rdata
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_resp
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_req
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s_addr
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s_we
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s_wdata
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_ack
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_rdata
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_resp
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_req
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s_addr
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s_we
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s_wdata
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_ack
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_rdata
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_resp
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpsticky_glbl_rr_arbiter
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_activereq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_breakreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_new
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_working
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_succ
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_initiated
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_finish
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_flushreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_rdy
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_stalled
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_broken
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_activereq_next
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_breakreq_next
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_mnum
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_address
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_we
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_wdata
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_activereq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_breakreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_new
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_working
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_succ
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_initiated
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_finish
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_flushreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_rdy
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_stalled
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_broken
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_activereq_next
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_breakreq_next
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_address
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_we
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_wdata
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_mnum
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_activereq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_breakreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_new
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_working
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_succ
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_initiated
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_finish
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_flushreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_rdy
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_stalled
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_broken
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_rdata
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_we
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_mnum
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_activereq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_breakreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_new
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_working
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_succ
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_initiated
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_finish
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_flushreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_rdy
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_stalled
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_broken
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_activereq_next
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_breakreq_next
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_address
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_we
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_wdata
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_snum
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_activereq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_breakreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_new
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_working
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_succ
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_initiated
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_finish
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_flushreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_rdy
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_stalled
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_broken
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_activereq_next
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_breakreq_next
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_snum
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_address
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_we
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_wdata
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_activereq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_breakreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_new
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_working
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_succ
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_initiated
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_finish
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_flushreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_rdy
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_stalled
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_broken
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_rdata
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_we
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_snum
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {81626880 ps} 0}
quietly wave cursor active 1
configure wave -namecolwidth 643
configure wave -valuecolwidth 100
configure wave -justifyvalue left
configure wave -signalnamewidth 0
configure wave -snapdistance 10
configure wave -datasetprefix 0
configure wave -rowmargin 4
configure wave -childrowmargin 2
configure wave -gridoffset 0
configure wave -gridperiod 1
configure wave -griddelta 40
configure wave -timeline 0
configure wave -timelineunits ps
update
WaveRestoreZoom {81357048 ps} {82382952 ps}

onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/clk_i
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/rst_i
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_req
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_addr
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_we
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_wdata
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_ack
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_resp
add wave -noupdate -expand -group master_0 -radix hexadecimal /xbar_tb/DUV/m0_rdata
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_req
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_addr
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_we
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_wdata
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_ack
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_resp
add wave -noupdate -expand -group master_1 -radix hexadecimal /xbar_tb/DUV/m1_rdata
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_req
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_addr
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_we
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_wdata
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_ack
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_resp
add wave -noupdate -expand -group master_2 -radix hexadecimal /xbar_tb/DUV/m2_rdata
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_req
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_addr
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_we
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_wdata
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_ack
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_resp
add wave -noupdate -expand -group master_3 -radix hexadecimal /xbar_tb/DUV/m3_rdata
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_req
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_ack
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_addr
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_we
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_wdata
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_resp
add wave -noupdate -expand -group slave_0 -radix hexadecimal /xbar_tb/DUV/s0_rdata
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_req
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_ack
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_rdata
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_addr
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_we
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_resp
add wave -noupdate -expand -group slave_1 -radix hexadecimal /xbar_tb/DUV/s1_wdata
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_req
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_ack
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_addr
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_we
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_wdata
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_resp
add wave -noupdate -expand -group slave_2 -radix hexadecimal /xbar_tb/DUV/s2_rdata
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_req
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_ack
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_addr
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_we
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_wdata
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_resp
add wave -noupdate -expand -group slave_3 -radix hexadecimal /xbar_tb/DUV/s3_rdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_req
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_addr
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_we
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_wdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_ack
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_rdata
add wave -noupdate -expand -group m0_s0 -radix hexadecimal /xbar_tb/DUV/m0_s0_resp
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_req
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_addr
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_we
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_wdata
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_ack
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_rdata
add wave -noupdate -expand -group m0_s1 -radix hexadecimal /xbar_tb/DUV/m0_s1_resp
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_req
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_addr
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_we
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_wdata
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_ack
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_rdata
add wave -noupdate -expand -group m0_s2 -radix hexadecimal /xbar_tb/DUV/m0_s2_resp
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_req
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_addr
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_we
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_wdata
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_ack
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_rdata
add wave -noupdate -expand -group m0_s3 -radix hexadecimal /xbar_tb/DUV/m0_s3_resp
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_req
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_addr
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_we
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_wdata
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_ack
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_rdata
add wave -noupdate -expand -group m1_s0 -radix hexadecimal /xbar_tb/DUV/m1_s0_resp
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_req
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_addr
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_we
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_wdata
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_ack
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_rdata
add wave -noupdate -expand -group m1_s1 -radix hexadecimal /xbar_tb/DUV/m1_s1_resp
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_req
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_addr
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_we
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_wdata
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_ack
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_rdata
add wave -noupdate -expand -group m1_s2 -radix hexadecimal /xbar_tb/DUV/m1_s2_resp
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_req
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_addr
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_we
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_wdata
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_ack
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_rdata
add wave -noupdate -expand -group m1_s3 -radix hexadecimal /xbar_tb/DUV/m1_s3_resp
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_req
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_addr
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_we
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_wdata
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_ack
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_rdata
add wave -noupdate -expand -group m2_s0 -radix hexadecimal /xbar_tb/DUV/m2_s0_resp
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_req
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_addr
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_we
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_wdata
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_ack
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_rdata
add wave -noupdate -expand -group m2_s1 -radix hexadecimal /xbar_tb/DUV/m2_s1_resp
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_req
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_addr
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_we
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_wdata
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_ack
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_rdata
add wave -noupdate -expand -group m2_s2 -radix hexadecimal /xbar_tb/DUV/m2_s2_resp
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_req
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_addr
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_we
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_wdata
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_ack
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_rdata
add wave -noupdate -expand -group m2_s3 -radix hexadecimal /xbar_tb/DUV/m2_s3_resp
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_req
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_addr
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_we
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_wdata
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_ack
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_rdata
add wave -noupdate -expand -group m3_s0 -radix hexadecimal /xbar_tb/DUV/m3_s0_resp
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_req
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_addr
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_we
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_wdata
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_ack
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_rdata
add wave -noupdate -expand -group m3_s1 -radix hexadecimal /xbar_tb/DUV/m3_s1_resp
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_req
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_addr
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_we
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_wdata
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_ack
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_rdata
add wave -noupdate -expand -group m3_s2 -radix hexadecimal /xbar_tb/DUV/m3_s2_resp
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_req
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_addr
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_we
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_wdata
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_ack
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_rdata
add wave -noupdate -expand -group m3_s3 -radix hexadecimal /xbar_tb/DUV/m3_s3_resp
add wave -noupdate -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpsticky_glbl_rr_arbiter
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_activereq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_breakreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_new
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_working
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_succ
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_initiated
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_finish
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_flushreq
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_rdy
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_stalled
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_broken
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_activereq_next
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_genpctrl_breakreq_next
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_mnum
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_address
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_we
add wave -noupdate -expand -group {S0 ARBITER} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_ARBITER_wdata
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_activereq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_breakreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_new
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_working
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_succ
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_initiated
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_finish
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_flushreq
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_rdy
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_stalled
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_broken
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_activereq_next
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_genpctrl_breakreq_next
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_address
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_we
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_wdata
add wave -noupdate -expand -group {S0 SREQ} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SREQ_mnum
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_activereq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_breakreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_repeatreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_new
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_working
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_succ
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_initiated
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_finish
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_flushreq
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_rdy
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_stalled
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_genpctrl_broken
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_rdata
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_we
add wave -noupdate -expand -group {S0 SRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_s0_pipe_genpstage_SRESP_mnum
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_activereq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_breakreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_new
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_working
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_succ
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_initiated
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_finish
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_flushreq
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_rdy
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_stalled
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_broken
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_activereq_next
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_genpctrl_breakreq_next
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_address
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_we
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_wdata
add wave -noupdate -expand -group {M0 DECODE} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_DECODE_snum
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_activereq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_breakreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_new
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_working
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_succ
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_initiated
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_finish
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_flushreq
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_rdy
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_stalled
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_broken
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_activereq_next
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_genpctrl_breakreq_next
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_snum
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_address
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_we
add wave -noupdate -expand -group {M0 SEND} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_SEND_wdata
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_activereq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_breakreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_repeatreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_new
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_working
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_succ
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_initiated
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_finish
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_flushreq
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_rdy
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_stalled
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_genpctrl_broken
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_rdata
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_we
add wave -noupdate -expand -group {M0 MRESP} -radix hexadecimal /xbar_tb/DUV/genpproc_m0_pipe_genpstage_MRESP_snum
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {81626880 ps} 0}
quietly wave cursor active 1
configure wave -namecolwidth 643
configure wave -valuecolwidth 100
configure wave -justifyvalue left
configure wave -signalnamewidth 0
configure wave -snapdistance 10
configure wave -datasetprefix 0
configure wave -rowmargin 4
configure wave -childrowmargin 2
configure wave -gridoffset 0
configure wave -gridperiod 1
configure wave -griddelta 40
configure wave -timeline 0
configure wave -timelineunits ps
update
WaveRestoreZoom {81357048 ps} {82382952 ps}


table headers

table headers

program declare_global

global path "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/"
global lahman "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/lahman/"

global basketball "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/basketball/"

global rawdata "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/"

global stash "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/stash/"

global tables "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/tables/"

global revlist "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/wiki/revlist/"

global fe "year"

global top "drop(*.year 0b* 1o* 1.post _cons) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "BASEBALL X POST") booktabs order(1.treat#1.post)  stats(, labels()) nomtitles nocons replace width(\hsize) postfoot(\end{tabular*} }) prefoot("") varwidth(25) eqlabels("") noisily"

global middle "drop(*.year 0b* 1o* 1.post _cons) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "BASEBALL X POST") booktabs order(1.treat#1.post)  stats(, labels()) nomtitles nocons width(\hsize) postfoot(\end{tabular*} }) prefoot("") append collabels(none) prehead(`"{"' `"\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}"' \begin{tabular*}{\hsize}{@{\hskip\tabcolsep\extracolsep\fill}l*{@E}{c}}) nonumbers eqlabels("")"

global end "drop(*.year 0b* 1o* _cons 1.post) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "BASEBALL X POST") booktabs order(1.treat#1.post) s(countyfe yearfe N N_g, label("Player FE" "Year FE" N "Clusters")) nomtitles nocons append width(\hsize) nonumbers prehead(`"{"' `"\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}"' \begin{tabular*}{\hsize}{@{\hskip\tabcolsep\extracolsep\fill}l*{@E}{c}}) eqlabels("")"

end

program declare_global

global path "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/"
global lahman "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/lahman/"

global basketball "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/basketball/"

global rawdata "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/"

global stash "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/stash/"

global tables "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/tables/"

global revlist "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/wiki/revlist/"

global fe "year"

global top "drop(*.year 0b* 1o* 1.post _cons) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "TIGER X POST") booktabs order(1.treat#1.post)  stats(, labels()) nomtitles nocons replace width(\hsize) postfoot(\end{tabular*} }) prefoot("") varwidth(25) eqlabels("") noisily"

global middle "drop(*.year 0b* 1o* 1.post _cons) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "TIGER X POST") booktabs order(1.treat#1.post)  stats(, labels()) nomtitles nocons width(\hsize) postfoot(\end{tabular*} }) prefoot("") append collabels(none) prehead(`"{"' `"\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}"' \begin{tabular*}{\hsize}{@{\hskip\tabcolsep\extracolsep\fill}l*{@E}{c}}) nonumbers eqlabels("")"

global end "drop(*.year 0b* 1o* _cons 1.post) star(+ 0.15 * 0.10 ** 0.05 *** 0.01) se ar2 nonotes coeflabels(1.treat#1.post "TIGER X POST") booktabs order(1.treat#1.post) s(countyfe yearfe N N_g, label("County FE" "Year FE" N "Clusters")) nomtitles nocons append width(\hsize) nonumbers prehead(`"{"' `"\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}"' \begin{tabular*}{\hsize}{@{\hskip\tabcolsep\extracolsep\fill}l*{@E}{c}}) eqlabels("")"

end


add fixed effect var

add fixed effect var

program declare_global

global path "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/"
global lahman "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/lahman/"

global basketball "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/basketball/"

global rawdata "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/"

global stash "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/stash/"

global tables "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/tables/"

global fe "year"

end

program declare_global

global path "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/"
global lahman "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/lahman/"

global basketball "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/basketball/"

global rawdata "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/"

global stash "/mnt/nfs6/wikipedia.proj/wikibaseball/rawdata/stash/"

global tables "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/tables/"

end


table finished

table finished

clear all
set more off
set matsize 11000
program drop _all

qui adopath + "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/ado"
declare_global

cd ${path}

// 1a. Produce Baseball / Basketball datasets
make_baseball

make_basketball

make_traf

make_rev

use ${lahman}bb_master, clear
append using ${basketball}bk_master
gen isbaseball = (minutesrank==.)
save ${stash}bbk_master, replace

** outsheet wikihandle playerid using ${stash}wikilist.csv, replace nonames noquote

// 1b. Merge data
make_merge

//1c. Make limited data
use ${stash}master, clear
keep if year == 2008 | year == 2013
save ${stash}master2, replace

/////////// ANALYSIS //////////////////

// 1. Summary Stats
summary

// 2. Digitization
reg_all digit

// 3. Copy DD
reg_all copy

// 4. Copy DDD
reg_ddd

// 5. Traffic

// 5a. DD regressions
reg_traf

// 5b. IV
ivest

// 2. Meanline Charts
program drop _all
meanline img Images(Baseball) 1
meanline img Images(Basketball) 0

meanline text Text(Baseball) 1
meanline text Text(Basketball) 0

meanline bd Citations(Baseball) 1
meanline bd Citations(Basketball) 0

meanline traf Traffic(Baseball) 1
meanline traf Traffic(Basketball) 0

meanline numuser Users(Baseball) 1
meanline numuser Users(Basketball) 0

meanline numrev Revisions(Baseball) 1
meanline numrev Revisions(Basketball)

meanline avgsize Size(Baseball) 1
meanline avgsize Size(Basketball) 0

// 3. Baseline Digit & Copyright Regressions
reg_digit ln

reg_copy
reg_copy ln

// 4. DDD regressions
reg_ddd
reg_ddd ln

// 5. IVreg

// 6. Killer Pictures
program drop _all
killer_pic

// 7. Time dummies picture
ddpic img 1
ddpic img 0

ddpic text 1
ddpic text 0

ddpic traf 1
ddpic traf 0

ddpic bd 1
ddpic bd 0

clear all
set more off
set matsize 11000
program drop _all

qui adopath + "/mnt/nfs6/wikipedia.proj/wikibaseball/scripts/stata/ado"
declare_global

cd ${path}

// 1a. Produce Baseball / Basketball datasets
make_baseball

make_basketball

make_traf

make_rev

use ${lahman}bb_master, clear
append using ${basketball}bk_master
gen isbaseball = (minutesrank==.)
save ${stash}bbk_master, replace

** outsheet wikihandle playerid using ${stash}wikilist.csv, replace nonames noquote

// 1b. Merge data
make_merge

//1c. Make limited data
use ${stash}master, clear
keep if year == 2008 | year == 2013
save ${stash}master2, replace

/////////// ANALYSIS //////////////////

// 1. Summary Stats
summary

// 2. Digitization
reg_all digit

// 3. Copy DD
reg_all copy

// 4. Copy DDD
reg_ddd

// 5. Traffic
reg_traf

ivest

// 2. Meanline Charts
program drop _all
meanline img Images(Baseball) 1
meanline img Images(Basketball) 0

meanline text Text(Baseball) 1
meanline text Text(Basketball) 0

meanline bd Citations(Baseball) 1
meanline bd Citations(Basketball) 0

meanline traf Traffic(Baseball) 1
meanline traf Traffic(Basketball) 0

meanline numuser Users(Baseball) 1
meanline numuser Users(Basketball) 0

meanline numrev Revisions(Baseball) 1
meanline numrev Revisions(Basketball)

meanline avgsize Size(Baseball) 1
meanline avgsize Size(Basketball) 0

// 3. Baseline Digit & Copyright Regressions
reg_digit ln

reg_copy
reg_copy ln

// 4. DDD regressions
reg_ddd
reg_ddd ln

// 5. IVreg

// 6. Killer Pictures
program drop _all
killer_pic

// 7. Time dummies picture
ddpic img 1
ddpic img 0

ddpic text 1
ddpic text 0

ddpic traf 1
ddpic traf 0

ddpic bd 1
ddpic bd 0