GNUmakefile 25.8 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 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
#!smake -J 3
#
#

PRDEPTH = ../../../../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=

LCOPTS = -g

LVCSOPTS     =	-y .                                                    \
		+incdir+$(PRDEPTH)/$(HW)/chip/rcp/inc -Mmakep=make

OLDOPTS      =	-y $(PRDEPTH)/$(HW)/chip/rcp/vi/src                        \
		-y $(PRDEPTH)/$(HW)/chip/rcp/rdp/src                       \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/sc                    \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/ram                   \
		-v $(PRDEPTH)/$(HW)/chip/lib/verilog/udp/compass_udps.v    \
		+libext+.v+.vzd                                         \
		-P $(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/pli.tab \
		$(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/libpli.a   \
		$(ROOT)/host_lib/libimage.a

RTLOPTS      =	-y $(PRDEPTH)/$(HW)/chip/rcp/vi/src                        \
		-y $(PRDEPTH)/$(HW)/chip/rcp/rdp/src                       \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/stdcell               \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/ram                   \
		+libext+.v                                              \
		-P $(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/pli.tab \
		$(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/libpli.a   \
		$(ROOT)/host_lib/libimage.a

SYNOPTS      =	-y $(PRDEPTH)/$(HW)/chip/rcp/vi/syn                        \
		-y $(PRDEPTH)/$(HW)/chip/rcp/rdp/syn                       \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/stdcell               \
		-y $(PRDEPTH)/$(HW)/chip/lib/verilog/ram                   \
		+libext+.v+.vsyn                                        \
		-P $(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/pli.tab \
		$(ROOT)/PR/rdpsim/test/vi/OutData/vi_pipe/Pli/libpli.a   \
		$(ROOT)/host_lib/libimage.a

LDIRT = driver*.v *.mem *.out vcs.log *.dump vi_pipe0?? *.tab simv* inp??? Pli/*.o Pli/*.a checkall rsimv* ssimv* rtlcsrc* syncsrc* rfoo???.rgb

HDR	= $(ROOT)/PR/include

LCINCS	= -I. \
	-I$(HDR) \
	-I$(ROOT) \
	-I$(ROOT)/usr/include

CVG     = CVG

include $(PRDEPTH)/PRrules

.mem.out: 

ERROR = \
	@if  grep "ERROR" FILE ;	\
	then	echo "";    \
	else					\
		echo "NO ERRORS IN SIMULATION";	\
	fi 

RTESTS = rsimv000 rsimv001 rsimv002 rsimv003 rsimv004 rsimv005 rsimv006 rsimv007 rsimv008 rsimv009 rsimv010 rsimv011
STESTS = ssimv000 ssimv001 ssimv002 ssimv003 ssimv004 ssimv005 ssimv006 ssimv007 ssimv008 ssimv009 ssimv010 ssimv011
OTESTS = simv000 simv001 simv002 simv003 simv004 simv005 simv006 simv007 simv008 simv009 simv010 simv011

default rtests: checkall $(RTESTS)

stests: $(STESTS)

otests: $(OTESTS)


$(PLI)/libpli.a: $(_FORCE)
	(cd Pli; make ; cd ..)

checkall: checkall.c vi_pipe.c 
	$(CC) $(LCINCS) $(LCOPTS) -o $@ checkall.c -L$(ROOT)/host_lib -limage -lm

inp000: inp000.c
	$(CC) $(LCINCS) -o $@ $?
inp001: inp001.c
	$(CC) $(LCINCS) -o $@ $?

vi_pipe000.tab: inp000
	./inp000 -i $(CVG)/random16.cvg > vi_pipe000.tab

vi_pipe001.tab: inp000
	./inp000 -i $(CVG)/cross32.cvg > vi_pipe001.tab

vi_pipe002.tab: inp000
	./inp000 -i $(CVG)/greendot32.cvg > vi_pipe002.tab

vi_pipe003.tab: inp000
	./inp000 -i $(CVG)/random32.cvg > vi_pipe003.tab

vi_pipe004.tab: inp000
	./inp000 -i $(CVG)/cross16.cvg > vi_pipe004.tab

vi_pipe005.tab: inp000
	./inp000 -i $(CVG)/bump.cvg > vi_pipe005.tab

vi_pipe006.tab: inp000
	./inp000 -i $(CVG)/test030.2_0.cvg > vi_pipe006.tab

vi_pipe007.tab: inp001
	./inp001 > vi_pipe007.tab

vi_pipe008.tab: inp000
	./inp000 -i $(CVG)/small.cvg          > vi_pipe008.tab

vi_pipe009.tab: inp000
	./inp000 -i $(CVG)/small.cvg -g       > vi_pipe009.tab

vi_pipe010.tab: inp000
	./inp000 -i $(CVG)/small.cvg -g -t    > vi_pipe010.tab

vi_pipe011.tab: inp000
	./inp000 -i $(CVG)/small.cvg -g -t -d > vi_pipe011.tab

driver000.v: vi_pipe000.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe000.tab > driver000.v

driver001.v: vi_pipe001.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe001.tab > driver001.v

driver002.v: vi_pipe002.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe002.tab > driver002.v

driver003.v: vi_pipe003.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe003.tab > driver003.v

driver004.v: vi_pipe004.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe004.tab > driver004.v

driver005.v: vi_pipe005.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe005.tab > driver005.v

driver006.v: vi_pipe006.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe006.tab > driver006.v

driver007.v: vi_pipe007.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe007.tab > driver007.v

driver008.v: vi_pipe008.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe008.tab > driver008.v

driver009.v: vi_pipe009.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe009.tab > driver009.v

driver010.v: vi_pipe010.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe010.tab > driver010.v

driver011.v: vi_pipe011.tab $(TAB2VMEM)
	$(TAB2VMEM) -o /dev/null -s 100 vi_pipe011.tab > driver011.v


simv000: top_level.v driver000.v display.v vi_pipe000.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv000 -Mdir="vi_pipe000" top_level.v driver000.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv000 -vcd verilog000.dump +dump=yes +mem=vi_pipe000.mem +out=test000.out +rgb=foo000.rgb +height=5 +width=5 > simv000.out) \
	else (echo "simv -nodump" ; ./simv000 +mem=vi_pipe000.mem +vcs+dumpvarsoff +out=test000.out +rgb=foo000.rgb +height=5 +width=5 > simv000.out) \
	fi 
#	checkall.pl test000.out | tee checkall000.out
	./checkall -i test000.out | tee checkall000.out
	$(ERROR:FILE=checkall000.out)

simv001: top_level.v driver001.v display.v vi_pipe001.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv001 -Mdir="vi_pipe001" top_level.v driver001.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv001 -vcd verilog001.dump +dump=yes +mem=vi_pipe001.mem +out=test001.out +rgb=foo001.rgb +height=5 +width=5 > simv001.out) \
	else (echo "simv -nodump" ; ./simv001 +mem=vi_pipe001.mem +vcs+dumpvarsoff +out=test001.out +rgb=foo001.rgb +height=5 +width=5 > simv001.out) \
	fi 
#	checkall.pl test001.out | tee checkall001.out
	./checkall -i test001.out | tee checkall001.out
	$(ERROR:FILE=checkall001.out)

simv002: top_level.v driver002.v display.v vi_pipe002.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv002 -Mdir="vi_pipe002" top_level.v driver002.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv002 -vcd verilog002.dump +dump=yes +mem=vi_pipe002.mem +out=test002.out +rgb=foo002.rgb +height=5 +width=5 > simv002.out) \
	else (echo "simv -nodump" ; ./simv002 +mem=vi_pipe002.mem +vcs+dumpvarsoff +out=test002.out +rgb=foo002.rgb +height=5 +width=5 > simv002.out) \
	fi 
#	checkall.pl test002.out | tee checkall002.out
	./checkall -i test002.out | tee checkall002.out
	$(ERROR:FILE=checkall002.out)

simv003: top_level.v driver003.v display.v vi_pipe003.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv003 -Mdir="vi_pipe003" top_level.v driver003.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv003 -vcd verilog003.dump +dump=yes +mem=vi_pipe003.mem +out=test003.out +rgb=foo003.rgb +height=5 +width=5 > simv003.out) \
	else (echo "simv -nodump" ; ./simv003 +mem=vi_pipe003.mem +vcs+dumpvarsoff +out=test003.out +rgb=foo003.rgb +height=5 +width=5 > simv003.out) \
	fi 
#	checkall.pl test003.out | tee checkall003.out
	./checkall -i test003.out | tee checkall003.out
	$(ERROR:FILE=checkall003.out)

simv004: top_level.v driver004.v display.v vi_pipe004.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv004 -Mdir="vi_pipe004" top_level.v driver004.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv004 -vcd verilog004.dump +dump=yes +mem=vi_pipe004.mem +out=test004.out +rgb=foo004.rgb +height=5 +width=5 > simv004.out) \
	else (echo "simv -nodump" ; ./simv004 +mem=vi_pipe004.mem +vcs+dumpvarsoff +out=test004.out +rgb=foo004.rgb +height=5 +width=5 > simv004.out) \
	fi 
#	checkall.pl test004.out | tee checkall004.out
	./checkall -i test004.out | tee checkall004.out
	$(ERROR:FILE=checkall004.out)

simv005: top_level.v driver005.v display.v vi_pipe005.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv005 -Mdir="vi_pipe005" top_level.v driver005.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv005 -vcd verilog005.dump +dump=yes +mem=vi_pipe005.mem +out=test005.out +rgb=foo005.rgb > simv005.out) \
	else (echo "simv -nodump" ; ./simv005 +mem=vi_pipe005.mem +vcs+dumpvarsoff +out=test005.out +rgb=foo005.rgb > simv005.out) \
	fi 
#	checkall.pl test005.out | tee checkall005.out
	./checkall -i test005.out | tee checkall005.out
	$(ERROR:FILE=checkall005.out)

simv006: top_level.v driver006.v display.v vi_pipe006.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv006 -Mdir="vi_pipe006" top_level.v driver006.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv006 -vcd verilog006.dump +dump=yes +mem=vi_pipe006.mem +out=test006.out +rgb=foo006.rgb > simv006.out) \
	else (echo "simv -nodump" ; ./simv006 +mem=vi_pipe006.mem +vcs+dumpvarsoff +out=test006.out +rgb=foo006.rgb > simv006.out) \
	fi 
#	checkall.pl test006.out | tee checkall006.out
	./checkall -i test006.out | tee checkall006.out
	$(ERROR:FILE=checkall006.out)

simv007: top_level.v driver007.v display.v vi_pipe007.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv007 -Mdir="vi_pipe007" top_level.v driver007.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv007 -vcd verilog007.dump +dump=yes +mem=vi_pipe007.mem +out=test007.out > simv007.out) \
	else (echo "simv -nodump" ; ./simv007 +mem=vi_pipe007.mem +vcs+dumpvarsoff +out=test007.out > simv007.out) \
	fi 
#	checkall.pl test007.out | tee checkall007.out
	./checkall -i test007.out | tee checkall007.out
	$(ERROR:FILE=checkall007.out)

simv008: top_level.v driver008.v display.v vi_pipe008.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv008 -Mdir="vi_pipe008" top_level.v driver008.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv008 -vcd verilog008.dump +dump=yes +mem=vi_pipe008.mem +out=test008.out +rgb=foo008.rgb +height=122 +width=103 > simv008.out) \
	else (echo "simv -nodump" ; ./simv008 +mem=vi_pipe008.mem +vcs+dumpvarsoff +out=test008.out +rgb=foo008.rgb  +height=122 +width=103> simv008.out) \
	fi 
#	checkall.pl test008.out | tee checkall008.out
	./checkall -i test008.out | tee checkall008.out
	$(ERROR:FILE=checkall008.out)

simv009: top_level.v driver009.v display.v vi_pipe009.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv009 -Mdir="vi_pipe009" top_level.v driver009.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv009 -vcd verilog009.dump +dump=yes +mem=vi_pipe009.mem +out=test009.out +rgb=foo009.rgb  +height=122 +width=103> simv009.out) \
	else (echo "simv -nodump" ; ./simv009 +mem=vi_pipe009.mem +vcs+dumpvarsoff +out=test009.out +rgb=foo009.rgb  +height=122 +width=103> simv009.out) \
	fi 
#	checkall.pl test009.out | tee checkall009.out
	./checkall -i test009.out | tee checkall009.out
	$(ERROR:FILE=checkall009.out)

simv010: top_level.v driver010.v display.v vi_pipe010.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv010 -Mdir="vi_pipe010" top_level.v driver010.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv010 -vcd verilog010.dump +dump=yes +mem=vi_pipe010.mem +out=test010.out +rgb=foo010.rgb  +height=122 +width=103> simv010.out) \
	else (echo "simv -nodump" ; ./simv010 +mem=vi_pipe010.mem +vcs+dumpvarsoff +out=test010.out +rgb=foo010.rgb  +height=122 +width=103> simv010.out) \
	fi 
#	checkall.pl test010.out | tee checkall010.out
	./checkall -i test010.out | tee checkall010.out
	$(ERROR:FILE=checkall010.out)

simv011: top_level.v driver011.v display.v vi_pipe011.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(OLDOPTS) -o simv011 -Mdir="vi_pipe011" top_level.v driver011.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "simv -dump" ; ./simv011 -vcd verilog011.dump +dump=yes +mem=vi_pipe011.mem +out=test011.out +rgb=foo011.rgb  +height=122 +width=103> simv011.out) \
	else (echo "simv -nodump" ; ./simv011 +mem=vi_pipe011.mem +vcs+dumpvarsoff +out=test011.out +rgb=foo011.rgb  +height=122 +width=103> simv011.out) \
	fi 
#	checkall.pl test011.out | tee checkall011.out
	./checkall -i test011.out | tee checkall011.out
	$(ERROR:FILE=checkall011.out)

rsimv000: top_level.v driver000.v display.v vi_pipe000.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv000 -Mdir="rtlcsrc000" top_level.v driver000.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv000 -vcd rverilog000.dump +dump=yes +mem=vi_pipe000.mem +out=rtest000.out +rgb=rfoo000.rgb +height=5 +width=5 > rsimv000.out) \
	else (echo "rsimv -nodump" ; ./rsimv000 +mem=vi_pipe000.mem +vcs+dumpvarsoff +out=rtest000.out +rgb=rfoo000.rgb +height=5 +width=5 > rsimv000.out) \
	fi 
	./checkall -i rtest000.out | tee rcheckall000.out
	$(ERROR:FILE=rcheckall000.out)

rsimv001: top_level.v driver001.v display.v vi_pipe001.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv001 -Mdir="rtlcsrc001" top_level.v driver001.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv001 -vcd rverilog001.dump +dump=yes +mem=vi_pipe001.mem +out=rtest001.out +rgb=rfoo001.rgb +height=5 +width=5 > rsimv001.out) \
	else (echo "rsimv -nodump" ; ./rsimv001 +mem=vi_pipe001.mem +vcs+dumpvarsoff +out=rtest001.out +rgb=rfoo001.rgb +height=5 +width=5 > rsimv001.out) \
	fi 
	./checkall -i rtest001.out | tee rcheckall001.out
	$(ERROR:FILE=rcheckall001.out)

rsimv002: top_level.v driver002.v display.v vi_pipe002.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv002 -Mdir="rtlcsrc002" top_level.v driver002.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv002 -vcd rverilog002.dump +dump=yes +mem=vi_pipe002.mem +out=rtest002.out +rgb=rfoo002.rgb +height=5 +width=5 > rsimv002.out) \
	else (echo "rsimv -nodump" ; ./rsimv002 +mem=vi_pipe002.mem +vcs+dumpvarsoff +out=rtest002.out +rgb=rfoo002.rgb +height=5 +width=5 > rsimv002.out) \
	fi 
	./checkall -i rtest002.out | tee rcheckall002.out
	$(ERROR:FILE=rcheckall002.out)

rsimv003: top_level.v driver003.v display.v vi_pipe003.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv003 -Mdir="rtlcsrc003" top_level.v driver003.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv003 -vcd rverilog003.dump +dump=yes +mem=vi_pipe003.mem +out=rtest003.out +rgb=rfoo003.rgb +height=5 +width=5 > rsimv003.out) \
	else (echo "rsimv -nodump" ; ./rsimv003 +mem=vi_pipe003.mem +vcs+dumpvarsoff +out=rtest003.out +rgb=rfoo003.rgb +height=5 +width=5 > rsimv003.out) \
	fi 
	./checkall -i rtest003.out | tee rcheckall003.out
	$(ERROR:FILE=rcheckall003.out)

rsimv004: top_level.v driver004.v display.v vi_pipe004.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv004 -Mdir="rtlcsrc004" top_level.v driver004.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv004 -vcd rverilog004.dump +dump=yes +mem=vi_pipe004.mem +out=rtest004.out +rgb=rfoo004.rgb +height=5 +width=5 > rsimv004.out) \
	else (echo "rsimv -nodump" ; ./rsimv004 +mem=vi_pipe004.mem +vcs+dumpvarsoff +out=rtest004.out +rgb=rfoo004.rgb +height=5 +width=5 > rsimv004.out) \
	fi 
	./checkall -i rtest004.out | tee rcheckall004.out
	$(ERROR:FILE=rcheckall004.out)

rsimv005: top_level.v driver005.v display.v vi_pipe005.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv005 -Mdir="rtlcsrc005" top_level.v driver005.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv005 -vcd rverilog005.dump +dump=yes +mem=vi_pipe005.mem +out=rtest005.out +rgb=rfoo005.rgb > rsimv005.out) \
	else (echo "rsimv -nodump" ; ./rsimv005 +mem=vi_pipe005.mem +vcs+dumpvarsoff +out=rtest005.out +rgb=rfoo005.rgb > rsimv005.out) \
	fi 
	./checkall -i rtest005.out | tee rcheckall005.out
	$(ERROR:FILE=rcheckall005.out)

rsimv006: top_level.v driver006.v display.v vi_pipe006.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv006 -Mdir="rtlcsrc006" top_level.v driver006.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv006 -vcd rverilog006.dump +dump=yes +mem=vi_pipe006.mem +out=rtest006.out +rgb=rfoo006.rgb > rsimv006.out) \
	else (echo "rsimv -nodump" ; ./rsimv006 +mem=vi_pipe006.mem +vcs+dumpvarsoff +out=rtest006.out +rgb=rfoo006.rgb > rsimv006.out) \
	fi 
	./checkall -i rtest006.out | tee rcheckall006.out
	$(ERROR:FILE=rcheckall006.out)

rsimv007: top_level.v driver007.v display.v vi_pipe007.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv007 -Mdir="rtlcsrc007" top_level.v driver007.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv007 -vcd rverilog007.dump +dump=yes +mem=vi_pipe007.mem +out=rtest007.out > rsimv007.out) \
	else (echo "rsimv -nodump" ; ./rsimv007 +mem=vi_pipe007.mem +vcs+dumpvarsoff +out=rtest007.out > rsimv007.out) \
	fi 
	./checkall -i rtest007.out | tee rcheckall007.out
	$(ERROR:FILE=rcheckall007.out)

rsimv008: top_level.v driver008.v display.v vi_pipe008.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv008 -Mdir="rtlcsrc008" top_level.v driver008.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv008 -vcd rverilog008.dump +dump=yes +mem=vi_pipe008.mem +out=rtest008.out +rgb=rfoo008.rgb +height=122 +width=103 > rsimv008.out) \
	else (echo "rsimv -nodump" ; ./rsimv008 +mem=vi_pipe008.mem +vcs+dumpvarsoff +out=rtest008.out +rgb=rfoo008.rgb  +height=122 +width=103> rsimv008.out) \
	fi 
	./checkall -i rtest008.out | tee rcheckall008.out
	$(ERROR:FILE=rcheckall008.out)

rsimv009: top_level.v driver009.v display.v vi_pipe009.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv009 -Mdir="rtlcsrc009" top_level.v driver009.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv009 -vcd rverilog009.dump +dump=yes +mem=vi_pipe009.mem +out=rtest009.out +rgb=rfoo009.rgb  +height=122 +width=103> rsimv009.out) \
	else (echo "rsimv -nodump" ; ./rsimv009 +mem=vi_pipe009.mem +vcs+dumpvarsoff +out=rtest009.out +rgb=rfoo009.rgb  +height=122 +width=103> rsimv009.out) \
	fi 
	./checkall -i rtest009.out | tee rcheckall009.out
	$(ERROR:FILE=rcheckall009.out)

rsimv010: top_level.v driver010.v display.v vi_pipe010.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv010 -Mdir="rtlcsrc010" top_level.v driver010.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv010 -vcd rverilog010.dump +dump=yes +mem=vi_pipe010.mem +out=rtest010.out +rgb=rfoo010.rgb  +height=122 +width=103> rsimv010.out) \
	else (echo "rsimv -nodump" ; ./rsimv010 +mem=vi_pipe010.mem +vcs+dumpvarsoff +out=rtest010.out +rgb=rfoo010.rgb  +height=122 +width=103> rsimv010.out) \
	fi 
	./checkall -i rtest010.out | tee rcheckall010.out
	$(ERROR:FILE=rcheckall010.out)

rsimv011: top_level.v driver011.v display.v vi_pipe011.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(RTLOPTS) -o rsimv011 -Mdir="rtlcsrc011" top_level.v driver011.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "rsimv -dump" ; ./rsimv011 -vcd rverilog011.dump +dump=yes +mem=vi_pipe011.mem +out=rtest011.out +rgb=rfoo011.rgb  +height=122 +width=103> rsimv011.out) \
	else (echo "rsimv -nodump" ; ./rsimv011 +mem=vi_pipe011.mem +vcs+dumpvarsoff +out=rtest011.out +rgb=rfoo011.rgb  +height=122 +width=103> rsimv011.out) \
	fi 
	./checkall -i rtest011.out | tee rcheckall011.out
	$(ERROR:FILE=rcheckall011.out)

ssimv000: top_level.v driver000.v display.v vi_pipe000.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv000 -Mdir="syncsrc000" top_level.v driver000.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv000 -vcd sverilog000.dump +dump=yes +mem=vi_pipe000.mem +out=stest000.out +rgb=sfoo000.rgb +height=5 +width=5 > ssimv000.out) \
	else (echo "ssimv -nodump" ; ./ssimv000 +mem=vi_pipe000.mem +vcs+dumpvarsoff +out=stest000.out +rgb=sfoo000.rgb +height=5 +width=5 > ssimv000.out) \
	fi 
	./checkall -i stest000.out | tee scheckall000.out
	$(ERROR:FILE=scheckall000.out)

ssimv001: top_level.v driver001.v display.v vi_pipe001.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv001 -Mdir="syncsrc001" top_level.v driver001.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv001 -vcd sverilog001.dump +dump=yes +mem=vi_pipe001.mem +out=stest001.out +rgb=sfoo001.rgb +height=5 +width=5 > ssimv001.out) \
	else (echo "ssimv -nodump" ; ./ssimv001 +mem=vi_pipe001.mem +vcs+dumpvarsoff +out=stest001.out +rgb=sfoo001.rgb +height=5 +width=5 > ssimv001.out) \
	fi 
	./checkall -i stest001.out | tee scheckall001.out
	$(ERROR:FILE=scheckall001.out)

ssimv002: top_level.v driver002.v display.v vi_pipe002.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv002 -Mdir="syncsrc002" top_level.v driver002.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv002 -vcd sverilog002.dump +dump=yes +mem=vi_pipe002.mem +out=stest002.out +rgb=sfoo002.rgb +height=5 +width=5 > ssimv002.out) \
	else (echo "ssimv -nodump" ; ./ssimv002 +mem=vi_pipe002.mem +vcs+dumpvarsoff +out=stest002.out +rgb=sfoo002.rgb +height=5 +width=5 > ssimv002.out) \
	fi 
	./checkall -i stest002.out | tee scheckall002.out
	$(ERROR:FILE=scheckall002.out)

ssimv003: top_level.v driver003.v display.v vi_pipe003.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv003 -Mdir="syncsrc003" top_level.v driver003.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv003 -vcd sverilog003.dump +dump=yes +mem=vi_pipe003.mem +out=stest003.out +rgb=sfoo003.rgb +height=5 +width=5 > ssimv003.out) \
	else (echo "ssimv -nodump" ; ./ssimv003 +mem=vi_pipe003.mem +vcs+dumpvarsoff +out=stest003.out +rgb=sfoo003.rgb +height=5 +width=5 > ssimv003.out) \
	fi 
	./checkall -i stest003.out | tee scheckall003.out
	$(ERROR:FILE=scheckall003.out)

ssimv004: top_level.v driver004.v display.v vi_pipe004.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv004 -Mdir="syncsrc004" top_level.v driver004.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv004 -vcd sverilog004.dump +dump=yes +mem=vi_pipe004.mem +out=stest004.out +rgb=sfoo004.rgb +height=5 +width=5 > ssimv004.out) \
	else (echo "ssimv -nodump" ; ./ssimv004 +mem=vi_pipe004.mem +vcs+dumpvarsoff +out=stest004.out +rgb=sfoo004.rgb +height=5 +width=5 > ssimv004.out) \
	fi 
	./checkall -i stest004.out | tee scheckall004.out
	$(ERROR:FILE=scheckall004.out)

ssimv005: top_level.v driver005.v display.v vi_pipe005.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv005 -Mdir="syncsrc005" top_level.v driver005.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv005 -vcd sverilog005.dump +dump=yes +mem=vi_pipe005.mem +out=stest005.out +rgb=sfoo005.rgb > ssimv005.out) \
	else (echo "ssimv -nodump" ; ./ssimv005 +mem=vi_pipe005.mem +vcs+dumpvarsoff +out=stest005.out +rgb=sfoo005.rgb > ssimv005.out) \
	fi 
	./checkall -i stest005.out | tee scheckall005.out
	$(ERROR:FILE=scheckall005.out)

ssimv006: top_level.v driver006.v display.v vi_pipe006.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv006 -Mdir="syncsrc006" top_level.v driver006.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv006 -vcd sverilog006.dump +dump=yes +mem=vi_pipe006.mem +out=stest006.out +rgb=sfoo006.rgb > ssimv006.out) \
	else (echo "ssimv -nodump" ; ./ssimv006 +mem=vi_pipe006.mem +vcs+dumpvarsoff +out=stest006.out +rgb=sfoo006.rgb > ssimv006.out) \
	fi 
	./checkall -i stest006.out | tee scheckall006.out
	$(ERROR:FILE=scheckall006.out)

ssimv007: top_level.v driver007.v display.v vi_pipe007.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv007 -Mdir="syncsrc007" top_level.v driver007.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv007 -vcd sverilog007.dump +dump=yes +mem=vi_pipe007.mem +out=stest007.out > ssimv007.out) \
	else (echo "ssimv -nodump" ; ./ssimv007 +mem=vi_pipe007.mem +vcs+dumpvarsoff +out=stest007.out > ssimv007.out) \
	fi 
	./checkall -i stest007.out | tee scheckall007.out
	$(ERROR:FILE=scheckall007.out)

ssimv008: top_level.v driver008.v display.v vi_pipe008.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv008 -Mdir="syncsrc008" top_level.v driver008.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv008 -vcd sverilog008.dump +dump=yes +mem=vi_pipe008.mem +out=stest008.out +rgb=sfoo008.rgb +height=122 +width=103 > ssimv008.out) \
	else (echo "ssimv -nodump" ; ./ssimv008 +mem=vi_pipe008.mem +vcs+dumpvarsoff +out=stest008.out +rgb=sfoo008.rgb  +height=122 +width=103> ssimv008.out) \
	fi 
	./checkall -i stest008.out | tee scheckall008.out
	$(ERROR:FILE=scheckall008.out)

ssimv009: top_level.v driver009.v display.v vi_pipe009.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv009 -Mdir="syncsrc009" top_level.v driver009.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv009 -vcd sverilog009.dump +dump=yes +mem=vi_pipe009.mem +out=stest009.out +rgb=sfoo009.rgb  +height=122 +width=103> ssimv009.out) \
	else (echo "ssimv -nodump" ; ./ssimv009 +mem=vi_pipe009.mem +vcs+dumpvarsoff +out=stest009.out +rgb=sfoo009.rgb  +height=122 +width=103> ssimv009.out) \
	fi 
	./checkall -i stest009.out | tee scheckall009.out
	$(ERROR:FILE=scheckall009.out)

ssimv010: top_level.v driver010.v display.v vi_pipe010.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv010 -Mdir="syncsrc010" top_level.v driver010.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv010 -vcd sverilog010.dump +dump=yes +mem=vi_pipe010.mem +out=stest010.out +rgb=sfoo010.rgb  +height=122 +width=103> ssimv010.out) \
	else (echo "ssimv -nodump" ; ./ssimv010 +mem=vi_pipe010.mem +vcs+dumpvarsoff +out=stest010.out +rgb=sfoo010.rgb  +height=122 +width=103> ssimv010.out) \
	fi 
	./checkall -i stest010.out | tee scheckall010.out
	$(ERROR:FILE=scheckall010.out)

ssimv011: top_level.v driver011.v display.v vi_pipe011.mem $(PLI)/libpli.a checkall
	$(VCS) $(VCSOPTS) $(SYNOPTS) -o ssimv011 -Mdir="syncsrc011" top_level.v driver011.v 
	@ if [ "$(DUMP)" ]; \
	then (echo "ssimv -dump" ; ./ssimv011 -vcd sverilog011.dump +dump=yes +mem=vi_pipe011.mem +out=stest011.out +rgb=sfoo011.rgb  +height=122 +width=103> ssimv011.out) \
	else (echo "ssimv -nodump" ; ./ssimv011 +mem=vi_pipe011.mem +vcs+dumpvarsoff +out=stest011.out +rgb=sfoo011.rgb  +height=122 +width=103> ssimv011.out) \
	fi 
	./checkall -i stest011.out | tee scheckall011.out
	$(ERROR:FILE=scheckall011.out)