Makefile 16.5 KB
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
#!/usr/sbin/smake -J 4

###########################################################
#
#  rules for extracting vectors from iosim/simv2.ipc
#
###########################################################

PRDEPTH    = $(ROOT)/PR
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules

IOSIM      = $(ROOT)/PR/iosim/src/iosim
TDXBIN     = /hosts/kitana/ecad/attest/release/sgi_irix_33/bin
TDX_LSIM   = $(TDXBIN)/tdx_lsim

SLOWIOSIM  = $(IOSIM) -n $(BASE).slf                                               \
		      -f $(IODIR)/$(BASE).tst                                      \
		      -l $(SLOWDIR)/$(BASE).log                                    \
		      -s "$(SIMVDIR)/simv2.ipc +ADDFLAGS                           \
		                               +test_bypass                        \
			                       +rcp_test_tssi                      \
				               +tssi_name=$(SLOWDIR)/$(BASE).slf"; \

SLOWEXECS  = - cd $(DIRECTED);                                                     \
	     $(SLOWIOSIM)                                                          \
	     $(COMPACT)                                                            \

HPIOSIM    = $(IOSIM) -n $(BASE).slf-hp                                            \
                      -f $(IODIR)/$(BASE).tst                                      \
		      -l $(HPDIR)/$(BASE).log                                      \
		      -s "$(SIMVDIR)/simv2.ipc +ADDFLAGS                           \
                                               +ignore_vbus                        \
                                               +freeze_vclk_false                  \
		                               +rcp_hp330_tssi                     \
                                               +tssi_name=$(HPDIR)/$(BASE).slf";   


HPEXECS    = - cd $(DIRECTED);                                                     \
	     $(HPIOSIM)                                                            \
	     compress -f $(HPDIR)/$(BASE).slf                                      \

BASE 	   = `basename $@  | sed 's/\..*//'`

ATTEST     = /hosts/sonya/d/tonyd/attest
VECDIR     = /hosts/rayden/e/fault/vec
MODEL      = $(ATTEST)/rcp_inner/rcp_inner
SLOWDIR    = /hosts/rayden/e/fault/tssi_slow
HPDIR      = /hosts/rayden/e/fault/tssi_hp
FULLDIR    = /hosts/sonya/d/tonyd/tssi_full

SIMV       = $(SIMVDIR)/simv2.ipc

LDIRT      = ./*.rdram ./*.log ./*.tab ./*.rgb ./*.vec

DIRECTED   = $(ROOT)/PR/iosim/data/directed
VECTOR_DIR = $(ROOT)/PR/hw2/chip/vector
IODIR      = $(VECTOR_DIR)/io

ROM_DATA = $(DIRECTED)/rom_4.data \
	   $(DIRECTED)/rom_8.data

PIF_DATA = $(DIRECTED)/pif.data

TSSI2J971     = /hosts/sonya/d/tonyd/tssi_slow/tssi2j971
LVM_COMPRESS  = /hosts/sonya/d/tonyd/tssi_slow/lvm_compress

# If you change this, change VCOMPACT also

COMPACT       = $(TSSI2J971) $(@:.Z=);                          \
                compress -f $(@:.Z=);                           \
                $(LVM_COMPRESS) $(@:.slf.Z=.lvmadr);            \
                rm $(@:.slf.Z=.lvmadr);                         \
                compress -f $(@:.slf.Z=C.lvmadr)

VCOMPACT      = $(TSSI2J971) $(SLOWDIR)/$(@:.slow=.slf);        \
                compress -f $(SLOWDIR)/$(@:.slow=.slf);         \
                $(LVM_COMPRESS) $(SLOWDIR)/$(@:.slow=.lvmadr);  \
                rm $(SLOWDIR)/$(@:.slow=.lvmadr);               \
                compress -f $(SLOWDIR)/$(@:.slow=C.lvmadr)
		
default: 

allhp: pi_vector.hp si_vector.hp ai_vector.hp mi_vector.hp viall_vector.hp

$(ROOT)/PR/iosim/src/iosim: $(_FORCE)
	cd $(ROOT)/PR/iosim/src; make iosim

$(SIMVDIR)/simv2.ipc: $(_FORCE)
	cd $(ROOT)/PR/hw2/chip/sim; make ipc


####################################################################################
# Targets for generation of Fault Grading Vector files
####################################################################################

############ PI

pi_v.vec: $(VECDIR)/pi/$$@
pi_v.tog: $(VECDIR)/pi/$$@

$(VECDIR)/pi/pi_v.vec: $(IODIR)/pi_v.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_v -f $(IODIR)/pi_v.tst -l $(IODIR)/pi_v_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +mbus_mon \
		+rcp_attest_tab +attest_name=$(VECDIR)/pi/pi_v.vec";

$(VECDIR)/pi/pi_v.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit


pi_vector.vec: $(VECDIR)/pi/$$@
pi_vector.tog: $(VECDIR)/pi/$$@

$(VECDIR)/pi/pi_vector.vec: $(IODIR)/pi_vector.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_vector -f $(IODIR)/pi_vector.tst -l $(IODIR)/pi_vector_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +mbus_mon \
		+rcp_attest_tab +attest_name=$(VECDIR)/pi/pi_vector.vec";

$(VECDIR)/pi/pi_vector.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit

pi_vector.slow: $(SLOWDIR)/pi_vector.slf.Z

$(SLOWDIR)/pi_vector.slf.Z: $(IODIR)/pi_vector.tst $(ROM_DATA) 
			    $(SLOWEXECS:ADDFLAGS=load_rom)

pi_vector.hp: $(HPDIR)/pi_vector.slf.Z

$(HPDIR)/pi_vector.slf.Z: $(IODIR)/pi_vector.tst $(ROM_DATA) 
			  $(HPEXECS:ADDFLAGS=load_rom)


############ SI

si_v.vec: $(VECDIR)/si/$$@
si_v.tog: $(VECDIR)/si/$$@

$(VECDIR)/si/si_v.vec: $(IODIR)/si_v.tst $(PIF_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n si_v -f $(IODIR)/si_v.tst -l $(IODIR)/si_v_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +load_pif +mbus_mon \
		+rcp_attest_tab +attest_name=$(VECDIR)/si/si_v.vec";

$(VECDIR)/si/si_v.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit


si_vector.vec: $(VECDIR)/si/$$@
si_vector.tog: $(VECDIR)/si/$$@

$(VECDIR)/si/si_vector.vec: $(IODIR)/si_vector.tst $(PIF_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n si_vector -f $(IODIR)/si_vector.tst -l $(IODIR)/si_vector_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +load_pif +mbus_mon \
		+rcp_attest_tab +attest_name=$(VECDIR)/si/si_vector.vec";

$(VECDIR)/si/si_vector.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit

si_vector.slow: $(SLOWDIR)/si_vector.slf.Z

$(SLOWDIR)/si_vector.slf.Z: $(IODIR)/si_vector.tst $(PIF_DATA) 
			    $(SLOWEXECS:ADDFLAGS=load_pif)

si_vector.hp: $(HPDIR)/si_vector.slf.Z

$(HPDIR)/si_vector.slf.Z: $(IODIR)/si_vector.tst $(PIF_DATA) 
			  $(HPEXECS:ADDFLAGS=load_pif)


############ AI

ai_v.vec: $(VECDIR)/ai/$$@
ai_v.tog: $(VECDIR)/ai/$$@

$(VECDIR)/ai/ai_v.vec: $(IODIR)/ai_v.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n ai_v -f $(IODIR)/ai_v.tst -l $(IODIR)/ai_v_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +freeze_vclk_false \
		+rcp_attest_tab +attest_name=$(VECDIR)/ai/ai_v.vec";

$(VECDIR)/ai/ai_v.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit


ai_vector.vec: $(VECDIR)/ai/$$@
ai_vector.tog: $(VECDIR)/ai/$$@

$(VECDIR)/ai/ai_vector.vec: $(IODIR)/ai_vector.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n ai_vector -f $(IODIR)/ai_vector.tst -l $(IODIR)/ai_vector_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +freeze_vclk_false \
		+rcp_attest_tab +attest_name=$(VECDIR)/ai/ai_vector.vec";

$(VECDIR)/ai/ai_vector.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit

ai_vector.slow: $(SLOWDIR)/ai_vector.slf.Z

$(SLOWDIR)/ai_vector.slf.Z: $(IODIR)/ai_vector.tst 
			    $(SLOWEXECS:ADDFLAGS=freeze_vclk_false)

ai_vector.hp: $(HPDIR)/ai_vector.slf.Z

$(HPDIR)/ai_vector.slf.Z: $(IODIR)/ai_vector.tst 
			  $(HPEXECS)

############ MI

mi_vector.vec: $(VECDIR)/mi/$$@
mi_vector.tog: $(VECDIR)/mi/$$@

$(VECDIR)/mi/mi_vector.vec: $(IODIR)/mi_vector.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n mi_vector -f $(IODIR)/mi_vector.tst -l $(IODIR)/mi_vector_attest.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +cbus_mon \
		+rcp_attest_tab +attest_name=$(VECDIR)/mi/mi_vector.vec";

$(VECDIR)/mi/mi_vector.tog: $$(@:.tog=.vec)
	$(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		-outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit

mi_vector.slow: $(SLOWDIR)/mi_vector.slf.Z

$(SLOWDIR)/mi_vector.slf.Z: $(IODIR)/mi_vector.tst 
			    $(SLOWEXECS:ADDFLAGS=cbus_mon)

mi_vector.hp: $(HPDIR)/mi_vector.slf.Z

$(HPDIR)/mi_vector.slf.Z: $(IODIR)/mi_vector.tst
			  $(HPEXECS:ADDFLAGS=cbus_mon)

############ VI

# VI section is at end of makefile

####################################################################################
# Targets for generation of older slow-speed test vector files
####################################################################################

pi_v.slf.Z: $(SLOWDIR)/pi_v.slf.Z

$(SLOWDIR)/pi_v.slf.Z: $(IODIR)/pi_v.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_v.slf -f $(IODIR)/pi_v.tst -l $(IODIR)/pi_v.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +test_bypass +mbus_mon \
		+rcp_test_tssi +tssi_name=$(SLOWDIR)/pi_v.slf"; \
	$(COMPACT)

si_v.slf.Z: $(SLOWDIR)/si_v.slf.Z

$(SLOWDIR)/si_v.slf.Z: $(IODIR)/si_v.tst $(PIF_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n si_v.slf -f $(IODIR)/si_v.tst -l $(IODIR)/si_v.log \
		-s "$(SIMVDIR)/simv2.ipc +load_pif +test_bypass +mbus_mon \
		+rcp_test_tssi +tssi_name=$(SLOWDIR)/si_v.slf"; \
	$(COMPACT)

ai_v.slf.Z: $(SLOWDIR)/ai_v.slf.Z

$(SLOWDIR)/ai_v.slf.Z: $(IODIR)/ai_v.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n ai_v.slf -f $(IODIR)/ai_v.tst -l $(IODIR)/ai_v.log \
		-s "$(SIMVDIR)/simv2.ipc +test_bypass +mbus_mon +freeze_vclk_false \
		+rcp_test_tssi +tssi_name=$(SLOWDIR)/ai_v.slf"; \
	$(COMPACT)

####################################################################################
# Targets for generation of full-speed test vector files
####################################################################################

$(FULLDIR)/pi_v.slf.Z: $(IODIR)/pi_v.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_v.slf-full-f $(IODIR)/pi_v.tst -l $(IODIR)/pi_v_full.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/pi_v.slf"; \
	compress -f $(FULLDIR)/pi_v.slf

$(FULLDIR)/pi_vector.slf.Z: $(IODIR)/pi_vector.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_vector.slf-full -f $(IODIR)/pi_vector.tst -l $(IODIR)/pi_vector_full.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/pi_vector.slf"; \
	compress -f $(FULLDIR)/pi_vector.slf

$(FULLDIR)/si_v.slf.Z: $(IODIR)/si_v.tst $(PIF_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n si_v.slf-full -f $(IODIR)/si_v.tst -l $(IODIR)/si_v_full.log \
		-s "$(SIMVDIR)/simv2.ipc +load_pif +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/si_v.slf"; \
	compress -f $(FULLDIR)/si_v.slf

$(FULLDIR)/ai_v.slf.Z: $(IODIR)/ai_v.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n ai_v.slf-full -f $(IODIR)/ai_v.tst -l $(IODIR)/ai_v_full.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/ai_v.slf"; \
	compress -f $(FULLDIR)/ai_v.slf

$(FULLDIR)/viv_v.slf.Z: $(IODIR)/viv_v.full.tst $(IODIR)/viv_v.rdram.Z
	uncompress -c $(IODIR)/viv_v.rdram.Z > $(IODIR)/viv_v.rdram; \
	$(ROOT)/PR/iosim/src/iosim -m -n viv_v.slf-full -f $(IODIR)/viv_v.full.tst -l $(IODIR)/viv_v_full.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/viv_v.slf"; \
	compress -f $(FULLDIR)/viv_v.slf

$(FULLDIR)/vih_v.slf.Z: $(IODIR)/vih_v.full.tst $(IODIR)/vih_v.rdram.Z
	uncompress -c $(IODIR)/vih_v.rdram.Z > $(IODIR)/vih_v.rdram; \
	$(ROOT)/PR/iosim/src/iosim -m -n vih_v.slf-full -f $(IODIR)/vih_v.full.tst -l $(IODIR)/vih_v_full.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +freeze_vclk_false \
		+rcp_full_tssi +tssi_name=$(FULLDIR)/vih_v.slf"; \
	compress -f $(FULLDIR)/vih_v.slf


####################################################################################
# Targets for generation of HP test vector files
####################################################################################

$(HPDIR)/pi_v.slf.Z: $(IODIR)/pi_v.tst $(ROM_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n pi_v.slf-hp -f $(IODIR)/pi_v.tst -l $(IODIR)/pi_v_hp.log \
		-s "$(SIMVDIR)/simv2.ipc +load_rom +mbus_mon +ignore_vbus +freeze_vclk_false \
		+rcp_hp330_tssi +tssi_name=$(HPDIR)/pi_v.slf"; \
	compress -f $(HPDIR)/pi_v.slf


$(HPDIR)/si_v.slf.Z: $(IODIR)/si_v.tst $(PIF_DATA) 
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n si_v.slf-hp -f $(IODIR)/si_v.tst -l $(IODIR)/si_v_hp.log \
		-s "$(SIMVDIR)/simv2.ipc +load_pif +mbus_mon +ignore_vbus +freeze_vclk_false \
		+rcp_hp330_tssi +tssi_name=$(HPDIR)/si_v.slf"; \
	compress -f $(HPDIR)/si_v.slf

$(HPDIR)/ai_v.slf.Z: $(IODIR)/ai_v.tst
	- cd $(DIRECTED); \
	$(ROOT)/PR/iosim/src/iosim -n ai_v.slf-hp -f $(IODIR)/ai_v.tst -l $(IODIR)/ai_v_hp.log \
		-s "$(SIMVDIR)/simv2.ipc +mbus_mon +ignore_vbus +freeze_vclk_false \
		+rcp_hp330_tssi +tssi_name=$(HPDIR)/ai_v.slf"; \
	compress -f $(HPDIR)/ai_v.slf

####################################################################################
# Targets for generation of new vi tests            
####################################################################################

# global vi test setup

MONITOR       = $(ROOT)/PR/rdpsim/backend/monitor -i $(BASE).tab -o $(BASE).rgb
UNCOMPRESS    = uncompress -c random.rdram.Z > $(IODIR)/$(BASE).rdram

IOSIMFLAGS    = -n $(BASE) -f $(IODIR)/$(BASE).tst -l $(IODIR)/$(BASE)_attest.log

LOGARGS	      = # +vi_all_dump -vcd /d/kluster/vi.dump 
SIMVFLAGS     = "$(SIMV) $(LOGARGS) +vitab=$(BASE).tab +rcp_attest_tab \
                 +attest_name=$(VECDIR)/vi/$@ \
		 +mbus_mon +mmap_rdram=$(IODIR)/$(BASE) +freeze_vectorclk_false"

VIVECDEPENDS  = $(IODIR)/$$(@:.vec=).tst random.rdram.Z
VITOGDEPENDS  = $(VECDIR)/vi/$$(@:.tog=.vec)


VIVECCOMMANDS = $(UNCOMPRESS); \
	        $(IOSIM) $(IOSIMFLAGS) -s $(SIMVFLAGS);

VITOGCOMMANDS = $(TDX_LSIM) $(MODEL) -vector_file $? -log_file $(?:.vec=.lsimlog) \
		 -outmodel $(@:.tog=) -init_file ../rcp_inner.tdxinit

SLOWFLAGS     = -n $(BASE).slf -f $(IODIR)/$(BASE).tst -l $(SLOWDIR)/$(BASE).log
SLOWSIMV      = "$(SIMV) +test_bypass +mbus_mon \
	         +mmap_rdram=$(IODIR)/$(BASE) +freeze_vclk_false \
	         +rcp_test_tssi +tssi_name=$(SLOWDIR)/$(BASE).slf"
	      
SLOWDPDS      = $(IODIR)/$$(@:.slow=).tst random.rdram.Z

SLOWCMDS      = $(UNCOMPRESS); \
	        $(IOSIM) $(SLOWFLAGS) -s $(SLOWSIMV); \
	        $(VCOMPACT);

###################################################################################

# 32 bit, 640x4  NTSC LAN2
vih32_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS) 
		    $(MONITOR) -h 0x004402c4 -v 0x00010009

vih32_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  

# 18 bit, 32x120 NTSC HAN1
viv18_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS) 
		    $(MONITOR) -h 0x00200040 -v 0x000500f5

viv18_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  
		  
# 18 bit, 640x4  PAL  HAF1	
vih18_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS) 
		    $(MONITOR) -h 0x004a02ca -v 0x00010009

vih18_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  
		  
# test 1, HPN2, LPN1, LPF2, HPF1, LAF1
vic01_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS)
		  
vic01_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  

# test 2, HPN1, LPN2, LAN1, LAF2
vic02_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS) 

vic02_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  

# test 3, LAN1 with random X/Y scale changes
vic03_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS) 

vic03_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  
		     		  
# Random test. Writes of random data to vi registers
virnd_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS)

virnd_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  
		  
# Span buffer test.
vispn_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS)
		    $(MONITOR) -h 0x00200040 -v 0x00050025

vispn_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  

# Combination of 8 primary tests
viall_vector.vec:   $(VIVECDEPENDS)
		    $(VIVECCOMMANDS)

viall_vector.tog:   $(VITOGDEPENDS)
		    $(VITOGCOMMANDS)                  

viall_vector.slow:  $(SLOWDPDS)
		    $(SLOWCMDS)

viall_vector.hp:    $(HPDIR)/viall_vector.slf.Z

$(HPDIR)/viall_vector.slf.Z: $(IODIR)/viall_vector.tst 
			  $(HPEXECS:ADDFLAGS=mmap_rdram=viall_vector)