/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2013 Altera Corporation
Your use of Altera Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files from any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Altera Program License 
Subscription Agreement, Altera MegaCore Function License 
Agreement, or other applicable license agreement, including, 
without limitation, that your use is for the sole purpose of 
programming logic devices manufactured by Altera and sold by 
Altera or its authorized distributors.  Please refer to the 
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 0 0 480 696)
	(text "DDR3_test" (rect 209 -1 256 11)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 680 20 692)(font "Arial" ))
	(port
		(pt 0 72)
		(input)
		(text "pll_ref_clk" (rect 0 0 41 12)(font "Arial" (font_size 8)))
		(text "pll_ref_clk" (rect 4 61 70 72)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 144 72)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "global_reset_n" (rect 0 0 57 12)(font "Arial" (font_size 8)))
		(text "global_reset_n" (rect 4 101 88 112)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 144 112)(line_width 1))
	)
	(port
		(pt 0 152)
		(input)
		(text "soft_reset_n" (rect 0 0 51 12)(font "Arial" (font_size 8)))
		(text "soft_reset_n" (rect 4 141 76 152)(font "Arial" (font_size 8)))
		(line (pt 0 152)(pt 144 152)(line_width 1))
	)
	(port
		(pt 0 208)
		(input)
		(text "avl_burstbegin" (rect 0 0 57 12)(font "Arial" (font_size 8)))
		(text "avl_burstbegin" (rect 4 197 88 208)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 144 208)(line_width 1))
	)
	(port
		(pt 0 224)
		(input)
		(text "avl_addr[20..0]" (rect 0 0 60 12)(font "Arial" (font_size 8)))
		(text "avl_addr[20..0]" (rect 4 213 94 224)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 144 224)(line_width 3))
	)
	(port
		(pt 0 272)
		(input)
		(text "avl_wdata[31..0]" (rect 0 0 63 12)(font "Arial" (font_size 8)))
		(text "avl_wdata[31..0]" (rect 4 261 100 272)(font "Arial" (font_size 8)))
		(line (pt 0 272)(pt 144 272)(line_width 3))
	)
	(port
		(pt 0 288)
		(input)
		(text "avl_be[3..0]" (rect 0 0 47 12)(font "Arial" (font_size 8)))
		(text "avl_be[3..0]" (rect 4 277 76 288)(font "Arial" (font_size 8)))
		(line (pt 0 288)(pt 144 288)(line_width 3))
	)
	(port
		(pt 0 304)
		(input)
		(text "avl_read_req" (rect 0 0 54 12)(font "Arial" (font_size 8)))
		(text "avl_read_req" (rect 4 293 76 304)(font "Arial" (font_size 8)))
		(line (pt 0 304)(pt 144 304)(line_width 1))
	)
	(port
		(pt 0 320)
		(input)
		(text "avl_write_req" (rect 0 0 54 12)(font "Arial" (font_size 8)))
		(text "avl_write_req" (rect 4 309 82 320)(font "Arial" (font_size 8)))
		(line (pt 0 320)(pt 144 320)(line_width 1))
	)
	(port
		(pt 0 336)
		(input)
		(text "avl_size[2..0]" (rect 0 0 51 12)(font "Arial" (font_size 8)))
		(text "avl_size[2..0]" (rect 4 325 88 336)(font "Arial" (font_size 8)))
		(line (pt 0 336)(pt 144 336)(line_width 3))
	)
	(port
		(pt 0 448)
		(input)
		(text "oct_rzqin" (rect 0 0 35 12)(font "Arial" (font_size 8)))
		(text "oct_rzqin" (rect 4 437 58 448)(font "Arial" (font_size 8)))
		(line (pt 0 448)(pt 144 448)(line_width 1))
	)
	(port
		(pt 480 72)
		(output)
		(text "afi_clk" (rect 0 0 25 12)(font "Arial" (font_size 8)))
		(text "afi_clk" (rect 445 61 487 72)(font "Arial" (font_size 8)))
		(line (pt 480 72)(pt 336 72)(line_width 1))
	)
	(port
		(pt 480 112)
		(output)
		(text "afi_half_clk" (rect 0 0 46 12)(font "Arial" (font_size 8)))
		(text "afi_half_clk" (rect 419 101 491 112)(font "Arial" (font_size 8)))
		(line (pt 480 112)(pt 336 112)(line_width 1))
	)
	(port
		(pt 480 152)
		(output)
		(text "afi_reset_n" (rect 0 0 46 12)(font "Arial" (font_size 8)))
		(text "afi_reset_n" (rect 420 141 486 152)(font "Arial" (font_size 8)))
		(line (pt 480 152)(pt 336 152)(line_width 1))
	)
	(port
		(pt 480 192)
		(output)
		(text "afi_reset_export_n" (rect 0 0 76 12)(font "Arial" (font_size 8)))
		(text "afi_reset_export_n" (rect 382 181 490 192)(font "Arial" (font_size 8)))
		(line (pt 480 192)(pt 336 192)(line_width 1))
	)
	(port
		(pt 480 232)
		(output)
		(text "mem_a[12..0]" (rect 0 0 55 12)(font "Arial" (font_size 8)))
		(text "mem_a[12..0]" (rect 415 221 487 232)(font "Arial" (font_size 8)))
		(line (pt 480 232)(pt 336 232)(line_width 3))
	)
	(port
		(pt 480 248)
		(output)
		(text "mem_ba[2..0]" (rect 0 0 56 12)(font "Arial" (font_size 8)))
		(text "mem_ba[2..0]" (rect 413 237 485 248)(font "Arial" (font_size 8)))
		(line (pt 480 248)(pt 336 248)(line_width 3))
	)
	(port
		(pt 480 264)
		(output)
		(text "mem_ck" (rect 0 0 36 12)(font "Arial" (font_size 8)))
		(text "mem_ck" (rect 438 253 474 264)(font "Arial" (font_size 8)))
		(line (pt 480 264)(pt 336 264)(line_width 1))
	)
	(port
		(pt 480 280)
		(output)
		(text "mem_ck_n" (rect 0 0 47 12)(font "Arial" (font_size 8)))
		(text "mem_ck_n" (rect 425 269 473 280)(font "Arial" (font_size 8)))
		(line (pt 480 280)(pt 336 280)(line_width 1))
	)
	(port
		(pt 480 296)
		(output)
		(text "mem_cke" (rect 0 0 41 12)(font "Arial" (font_size 8)))
		(text "mem_cke" (rect 432 285 474 296)(font "Arial" (font_size 8)))
		(line (pt 480 296)(pt 336 296)(line_width 1))
	)
	(port
		(pt 480 312)
		(output)
		(text "mem_cs_n" (rect 0 0 47 12)(font "Arial" (font_size 8)))
		(text "mem_cs_n" (rect 424 301 472 312)(font "Arial" (font_size 8)))
		(line (pt 480 312)(pt 336 312)(line_width 1))
	)
	(port
		(pt 480 328)
		(output)
		(text "mem_dm" (rect 0 0 40 12)(font "Arial" (font_size 8)))
		(text "mem_dm" (rect 435 317 471 328)(font "Arial" (font_size 8)))
		(line (pt 480 328)(pt 336 328)(line_width 1))
	)
	(port
		(pt 480 344)
		(output)
		(text "mem_ras_n" (rect 0 0 50 12)(font "Arial" (font_size 8)))
		(text "mem_ras_n" (rect 420 333 474 344)(font "Arial" (font_size 8)))
		(line (pt 480 344)(pt 336 344)(line_width 1))
	)
	(port
		(pt 480 360)
		(output)
		(text "mem_cas_n" (rect 0 0 51 12)(font "Arial" (font_size 8)))
		(text "mem_cas_n" (rect 418 349 472 360)(font "Arial" (font_size 8)))
		(line (pt 480 360)(pt 336 360)(line_width 1))
	)
	(port
		(pt 480 376)
		(output)
		(text "mem_we_n" (rect 0 0 48 12)(font "Arial" (font_size 8)))
		(text "mem_we_n" (rect 420 365 468 376)(font "Arial" (font_size 8)))
		(line (pt 480 376)(pt 336 376)(line_width 1))
	)
	(port
		(pt 480 392)
		(output)
		(text "mem_reset_n" (rect 0 0 57 12)(font "Arial" (font_size 8)))
		(text "mem_reset_n" (rect 411 381 477 392)(font "Arial" (font_size 8)))
		(line (pt 480 392)(pt 336 392)(line_width 1))
	)
	(port
		(pt 480 456)
		(output)
		(text "mem_odt" (rect 0 0 38 12)(font "Arial" (font_size 8)))
		(text "mem_odt" (rect 434 445 476 456)(font "Arial" (font_size 8)))
		(line (pt 480 456)(pt 336 456)(line_width 1))
	)
	(port
		(pt 0 192)
		(output)
		(text "avl_ready" (rect 0 0 41 12)(font "Arial" (font_size 8)))
		(text "avl_ready" (rect 4 181 58 192)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 144 192)(line_width 1))
	)
	(port
		(pt 0 240)
		(output)
		(text "avl_rdata_valid" (rect 0 0 61 12)(font "Arial" (font_size 8)))
		(text "avl_rdata_valid" (rect 4 229 94 240)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 144 240)(line_width 1))
	)
	(port
		(pt 0 256)
		(output)
		(text "avl_rdata[31..0]" (rect 0 0 61 12)(font "Arial" (font_size 8)))
		(text "avl_rdata[31..0]" (rect 4 245 100 256)(font "Arial" (font_size 8)))
		(line (pt 0 256)(pt 144 256)(line_width 3))
	)
	(port
		(pt 0 376)
		(output)
		(text "local_init_done" (rect 0 0 56 12)(font "Arial" (font_size 8)))
		(text "local_init_done" (rect 4 365 94 376)(font "Arial" (font_size 8)))
		(line (pt 0 376)(pt 144 376)(line_width 1))
	)
	(port
		(pt 0 392)
		(output)
		(text "local_cal_success" (rect 0 0 71 12)(font "Arial" (font_size 8)))
		(text "local_cal_success" (rect 4 381 106 392)(font "Arial" (font_size 8)))
		(line (pt 0 392)(pt 144 392)(line_width 1))
	)
	(port
		(pt 0 408)
		(output)
		(text "local_cal_fail" (rect 0 0 49 12)(font "Arial" (font_size 8)))
		(text "local_cal_fail" (rect 4 397 88 408)(font "Arial" (font_size 8)))
		(line (pt 0 408)(pt 144 408)(line_width 1))
	)
	(port
		(pt 0 488)
		(output)
		(text "pll_mem_clk" (rect 0 0 50 12)(font "Arial" (font_size 8)))
		(text "pll_mem_clk" (rect 4 477 70 488)(font "Arial" (font_size 8)))
		(line (pt 0 488)(pt 144 488)(line_width 1))
	)
	(port
		(pt 0 504)
		(output)
		(text "pll_write_clk" (rect 0 0 47 12)(font "Arial" (font_size 8)))
		(text "pll_write_clk" (rect 4 493 82 504)(font "Arial" (font_size 8)))
		(line (pt 0 504)(pt 144 504)(line_width 1))
	)
	(port
		(pt 0 520)
		(output)
		(text "pll_locked" (rect 0 0 37 12)(font "Arial" (font_size 8)))
		(text "pll_locked" (rect 4 509 64 520)(font "Arial" (font_size 8)))
		(line (pt 0 520)(pt 144 520)(line_width 1))
	)
	(port
		(pt 0 536)
		(output)
		(text "pll_write_clk_pre_phy_clk" (rect 0 0 103 12)(font "Arial" (font_size 8)))
		(text "pll_write_clk_pre_phy_clk" (rect 4 525 154 536)(font "Arial" (font_size 8)))
		(line (pt 0 536)(pt 144 536)(line_width 1))
	)
	(port
		(pt 0 552)
		(output)
		(text "pll_addr_cmd_clk" (rect 0 0 70 12)(font "Arial" (font_size 8)))
		(text "pll_addr_cmd_clk" (rect 4 541 100 552)(font "Arial" (font_size 8)))
		(line (pt 0 552)(pt 144 552)(line_width 1))
	)
	(port
		(pt 0 568)
		(output)
		(text "pll_avl_clk" (rect 0 0 41 12)(font "Arial" (font_size 8)))
		(text "pll_avl_clk" (rect 4 557 70 568)(font "Arial" (font_size 8)))
		(line (pt 0 568)(pt 144 568)(line_width 1))
	)
	(port
		(pt 0 584)
		(output)
		(text "pll_config_clk" (rect 0 0 53 12)(font "Arial" (font_size 8)))
		(text "pll_config_clk" (rect 4 573 88 584)(font "Arial" (font_size 8)))
		(line (pt 0 584)(pt 144 584)(line_width 1))
	)
	(port
		(pt 0 600)
		(output)
		(text "pll_dr_clk" (rect 0 0 37 12)(font "Arial" (font_size 8)))
		(text "pll_dr_clk" (rect 4 589 64 600)(font "Arial" (font_size 8)))
		(line (pt 0 600)(pt 144 600)(line_width 1))
	)
	(port
		(pt 0 616)
		(output)
		(text "pll_dr_clk_pre_phy_clk" (rect 0 0 94 12)(font "Arial" (font_size 8)))
		(text "pll_dr_clk_pre_phy_clk" (rect 4 605 136 616)(font "Arial" (font_size 8)))
		(line (pt 0 616)(pt 144 616)(line_width 1))
	)
	(port
		(pt 0 632)
		(output)
		(text "pll_mem_phy_clk" (rect 0 0 71 12)(font "Arial" (font_size 8)))
		(text "pll_mem_phy_clk" (rect 4 621 94 632)(font "Arial" (font_size 8)))
		(line (pt 0 632)(pt 144 632)(line_width 1))
	)
	(port
		(pt 0 648)
		(output)
		(text "afi_phy_clk" (rect 0 0 47 12)(font "Arial" (font_size 8)))
		(text "afi_phy_clk" (rect 4 637 70 648)(font "Arial" (font_size 8)))
		(line (pt 0 648)(pt 144 648)(line_width 1))
	)
	(port
		(pt 0 664)
		(output)
		(text "pll_avl_phy_clk" (rect 0 0 62 12)(font "Arial" (font_size 8)))
		(text "pll_avl_phy_clk" (rect 4 653 94 664)(font "Arial" (font_size 8)))
		(line (pt 0 664)(pt 144 664)(line_width 1))
	)
	(port
		(pt 480 408)
		(bidir)
		(text "mem_dq[7..0]" (rect 0 0 56 12)(font "Arial" (font_size 8)))
		(text "mem_dq[7..0]" (rect 413 397 485 408)(font "Arial" (font_size 8)))
		(line (pt 480 408)(pt 336 408)(line_width 3))
	)
	(port
		(pt 480 424)
		(bidir)
		(text "mem_dqs" (rect 0 0 41 12)(font "Arial" (font_size 8)))
		(text "mem_dqs" (rect 431 413 473 424)(font "Arial" (font_size 8)))
		(line (pt 480 424)(pt 336 424)(line_width 1))
	)
	(port
		(pt 480 440)
		(bidir)
		(text "mem_dqs_n" (rect 0 0 51 12)(font "Arial" (font_size 8)))
		(text "mem_dqs_n" (rect 418 429 472 440)(font "Arial" (font_size 8)))
		(line (pt 480 440)(pt 336 440)(line_width 1))
	)
	(drawing
		(text "pll_ref_clk" (rect 83 43 232 99)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "clk" (rect 149 67 316 144)(font "Arial" (color 0 0 0)))
		(text "global_reset" (rect 73 83 218 179)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "reset_n" (rect 149 107 340 224)(font "Arial" (color 0 0 0)))
		(text "soft_reset" (rect 84 123 228 259)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "reset_n" (rect 149 147 340 304)(font "Arial" (color 0 0 0)))
		(text "afi_clk" (rect 337 43 716 99)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "clk" (rect 321 67 660 144)(font "Arial" (color 0 0 0)))
		(text "afi_half_clk" (rect 337 83 746 179)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "clk" (rect 321 107 660 224)(font "Arial" (color 0 0 0)))
		(text "afi_reset" (rect 337 123 728 259)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "reset_n" (rect 300 147 642 304)(font "Arial" (color 0 0 0)))
		(text "afi_reset_export" (rect 337 163 770 339)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "reset_n" (rect 300 187 642 384)(font "Arial" (color 0 0 0)))
		(text "memory" (rect 337 203 710 419)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "mem_a" (rect 301 227 632 464)(font "Arial" (color 0 0 0)))
		(text "mem_ba" (rect 296 243 628 496)(font "Arial" (color 0 0 0)))
		(text "mem_ck" (rect 296 259 628 528)(font "Arial" (color 0 0 0)))
		(text "mem_ck_n" (rect 285 275 618 560)(font "Arial" (color 0 0 0)))
		(text "mem_cke" (rect 291 291 624 592)(font "Arial" (color 0 0 0)))
		(text "mem_cs_n" (rect 285 307 618 624)(font "Arial" (color 0 0 0)))
		(text "mem_dm" (rect 293 323 622 656)(font "Arial" (color 0 0 0)))
		(text "mem_ras_n" (rect 281 339 616 688)(font "Arial" (color 0 0 0)))
		(text "mem_cas_n" (rect 280 355 614 720)(font "Arial" (color 0 0 0)))
		(text "mem_we_n" (rect 284 371 616 752)(font "Arial" (color 0 0 0)))
		(text "mem_reset_n" (rect 273 387 612 784)(font "Arial" (color 0 0 0)))
		(text "mem_dq" (rect 296 403 628 816)(font "Arial" (color 0 0 0)))
		(text "mem_dqs" (rect 291 419 624 848)(font "Arial" (color 0 0 0)))
		(text "mem_dqs_n" (rect 280 435 614 880)(font "Arial" (color 0 0 0)))
		(text "mem_odt" (rect 293 451 628 912)(font "Arial" (color 0 0 0)))
		(text "avl" (rect 129 163 276 339)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "waitrequest_n" (rect 149 187 376 384)(font "Arial" (color 0 0 0)))
		(text "beginbursttransfer" (rect 149 203 406 416)(font "Arial" (color 0 0 0)))
		(text "address" (rect 149 219 340 448)(font "Arial" (color 0 0 0)))
		(text "readdatavalid" (rect 149 235 376 480)(font "Arial" (color 0 0 0)))
		(text "readdata" (rect 149 251 346 512)(font "Arial" (color 0 0 0)))
		(text "writedata" (rect 149 267 352 544)(font "Arial" (color 0 0 0)))
		(text "byteenable" (rect 149 283 358 576)(font "Arial" (color 0 0 0)))
		(text "read" (rect 149 299 322 608)(font "Arial" (color 0 0 0)))
		(text "write" (rect 149 315 328 640)(font "Arial" (color 0 0 0)))
		(text "burstcount" (rect 149 331 358 672)(font "Arial" (color 0 0 0)))
		(text "status" (rect 109 347 254 707)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "local_init_done" (rect 149 371 388 752)(font "Arial" (color 0 0 0)))
		(text "local_cal_success" (rect 149 387 400 784)(font "Arial" (color 0 0 0)))
		(text "local_cal_fail" (rect 149 403 382 816)(font "Arial" (color 0 0 0)))
		(text "oct" (rect 128 419 274 851)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "rzqin" (rect 149 443 328 896)(font "Arial" (color 0 0 0)))
		(text "pll_sharing" (rect 81 459 228 931)(font "Arial" (color 128 0 0)(font_size 9)))
		(text "pll_mem_clk" (rect 149 483 364 976)(font "Arial" (color 0 0 0)))
		(text "pll_write_clk" (rect 149 499 376 1008)(font "Arial" (color 0 0 0)))
		(text "pll_locked" (rect 149 515 358 1040)(font "Arial" (color 0 0 0)))
		(text "pll_write_clk_pre_phy_clk" (rect 149 531 448 1072)(font "Arial" (color 0 0 0)))
		(text "pll_addr_cmd_clk" (rect 149 547 394 1104)(font "Arial" (color 0 0 0)))
		(text "pll_avl_clk" (rect 149 563 364 1136)(font "Arial" (color 0 0 0)))
		(text "pll_config_clk" (rect 149 579 382 1168)(font "Arial" (color 0 0 0)))
		(text "pll_dr_clk" (rect 149 595 358 1200)(font "Arial" (color 0 0 0)))
		(text "pll_dr_clk_pre_phy_clk" (rect 149 611 430 1232)(font "Arial" (color 0 0 0)))
		(text "pll_mem_phy_clk" (rect 149 627 388 1264)(font "Arial" (color 0 0 0)))
		(text "afi_phy_clk" (rect 149 643 364 1296)(font "Arial" (color 0 0 0)))
		(text "pll_avl_phy_clk" (rect 149 659 388 1328)(font "Arial" (color 0 0 0)))
		(text " altera_mem_if_ddr3_emif " (rect 364 680 878 1370)(font "Arial" ))
		(line (pt 145 52)(pt 145 76)(line_width 1))
		(line (pt 146 52)(pt 146 76)(line_width 1))
		(line (pt 145 92)(pt 145 116)(line_width 1))
		(line (pt 146 92)(pt 146 116)(line_width 1))
		(line (pt 145 132)(pt 145 156)(line_width 1))
		(line (pt 146 132)(pt 146 156)(line_width 1))
		(line (pt 335 52)(pt 335 76)(line_width 1))
		(line (pt 334 52)(pt 334 76)(line_width 1))
		(line (pt 335 92)(pt 335 116)(line_width 1))
		(line (pt 334 92)(pt 334 116)(line_width 1))
		(line (pt 335 132)(pt 335 156)(line_width 1))
		(line (pt 334 132)(pt 334 156)(line_width 1))
		(line (pt 335 172)(pt 335 196)(line_width 1))
		(line (pt 334 172)(pt 334 196)(line_width 1))
		(line (pt 335 212)(pt 335 460)(line_width 1))
		(line (pt 334 212)(pt 334 460)(line_width 1))
		(line (pt 145 172)(pt 145 340)(line_width 1))
		(line (pt 146 172)(pt 146 340)(line_width 1))
		(line (pt 145 356)(pt 145 412)(line_width 1))
		(line (pt 146 356)(pt 146 412)(line_width 1))
		(line (pt 145 428)(pt 145 452)(line_width 1))
		(line (pt 146 428)(pt 146 452)(line_width 1))
		(line (pt 145 468)(pt 145 668)(line_width 1))
		(line (pt 146 468)(pt 146 668)(line_width 1))
		(line (pt 144 32)(pt 336 32)(line_width 1))
		(line (pt 336 32)(pt 336 680)(line_width 1))
		(line (pt 144 680)(pt 336 680)(line_width 1))
		(line (pt 144 32)(pt 144 680)(line_width 1))
		(line (pt 0 0)(pt 480 0)(line_width 1))
		(line (pt 480 0)(pt 480 696)(line_width 1))
		(line (pt 0 696)(pt 480 696)(line_width 1))
		(line (pt 0 0)(pt 0 696)(line_width 1))
	)
)
