/*
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-2009 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 16 16 368 560)
	(text "STACK_MAIN" (rect 5 0 82 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 528 25 540)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "CMD[M..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "CMD[M..0]" (rect 21 27 77 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "CLOCK_IN" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "CLOCK_IN" (rect 21 43 80 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "DATA_IN[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "DATA_IN[7..0]" (rect 21 59 101 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "IP_IN[7..0]" (rect 0 0 55 14)(font "Arial" (font_size 8)))
		(text "IP_IN[7..0]" (rect 21 75 76 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "IR_IN[7..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "IR_IN[7..0]" (rect 21 91 77 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "AR_IN[7..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "AR_IN[7..0]" (rect 21 107 84 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 0 128)
		(input)
		(text "DR_IN[7..0]" (rect 0 0 62 14)(font "Arial" (font_size 8)))
		(text "DR_IN[7..0]" (rect 21 123 83 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 3))
	)
	(port
		(pt 0 144)
		(input)
		(text "FR_IN[7..0]" (rect 0 0 61 14)(font "Arial" (font_size 8)))
		(text "FR_IN[7..0]" (rect 21 139 82 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 3))
	)
	(port
		(pt 0 160)
		(input)
		(text "FALSE_TRUE_IN[1..0]" (rect 0 0 122 14)(font "Arial" (font_size 8)))
		(text "FALSE_TRUE_IN[1..0]" (rect 21 155 143 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160)(line_width 3))
	)
	(port
		(pt 0 176)
		(input)
		(text "DECODE_IN[N..0]" (rect 0 0 95 14)(font "Arial" (font_size 8)))
		(text "DECODE_IN[N..0]" (rect 21 171 116 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176)(line_width 3))
	)
	(port
		(pt 352 32)
		(output)
		(text "SELECT_REG_SPEC_OUT[7..0]" (rect 0 0 174 14)(font "Arial" (font_size 8)))
		(text "SELECT_REG_SPEC_OUT[7..0]" (rect 157 27 331 41)(font "Arial" (font_size 8)))
		(line (pt 352 32)(pt 336 32)(line_width 3))
	)
	(port
		(pt 352 48)
		(output)
		(text "WRITE_ON_SPEC_OUT" (rect 0 0 130 14)(font "Arial" (font_size 8)))
		(text "WRITE_ON_SPEC_OUT" (rect 201 43 331 57)(font "Arial" (font_size 8)))
		(line (pt 352 48)(pt 336 48)(line_width 1))
	)
	(port
		(pt 352 64)
		(output)
		(text "IP_UP_SPEC_OUT" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "IP_UP_SPEC_OUT" (rect 230 59 331 73)(font "Arial" (font_size 8)))
		(line (pt 352 64)(pt 336 64)(line_width 1))
	)
	(port
		(pt 352 80)
		(output)
		(text "AR_DOWN_SPEC_OUT" (rect 0 0 132 14)(font "Arial" (font_size 8)))
		(text "AR_DOWN_SPEC_OUT" (rect 199 75 331 89)(font "Arial" (font_size 8)))
		(line (pt 352 80)(pt 336 80)(line_width 1))
	)
	(port
		(pt 352 96)
		(output)
		(text "DATA_SPEC_OUT[7..0]" (rect 0 0 132 14)(font "Arial" (font_size 8)))
		(text "DATA_SPEC_OUT[7..0]" (rect 199 91 331 105)(font "Arial" (font_size 8)))
		(line (pt 352 96)(pt 336 96)(line_width 3))
	)
	(port
		(pt 352 112)
		(output)
		(text "ADDR_MEM_OUT[7..0]" (rect 0 0 127 14)(font "Arial" (font_size 8)))
		(text "ADDR_MEM_OUT[7..0]" (rect 204 107 331 121)(font "Arial" (font_size 8)))
		(line (pt 352 112)(pt 336 112)(line_width 3))
	)
	(port
		(pt 352 128)
		(output)
		(text "WRITE_ON_MEM_OUT" (rect 0 0 126 14)(font "Arial" (font_size 8)))
		(text "WRITE_ON_MEM_OUT" (rect 205 123 331 137)(font "Arial" (font_size 8)))
		(line (pt 352 128)(pt 336 128)(line_width 1))
	)
	(port
		(pt 352 144)
		(output)
		(text "CLOCK_MEM_OUT" (rect 0 0 106 14)(font "Arial" (font_size 8)))
		(text "CLOCK_MEM_OUT" (rect 225 139 331 153)(font "Arial" (font_size 8)))
		(line (pt 352 144)(pt 336 144)(line_width 1))
	)
	(port
		(pt 352 160)
		(output)
		(text "ROM_MEM_OUT" (rect 0 0 92 14)(font "Arial" (font_size 8)))
		(text "ROM_MEM_OUT" (rect 239 155 331 169)(font "Arial" (font_size 8)))
		(line (pt 352 160)(pt 336 160)(line_width 1))
	)
	(port
		(pt 352 176)
		(output)
		(text "SELECT_REG_GLOB_OUT[7..0]" (rect 0 0 178 14)(font "Arial" (font_size 8)))
		(text "SELECT_REG_GLOB_OUT[7..0]" (rect 153 171 331 185)(font "Arial" (font_size 8)))
		(line (pt 352 176)(pt 336 176)(line_width 3))
	)
	(port
		(pt 352 192)
		(output)
		(text "WRITE_ON_GLOB_OUT" (rect 0 0 134 14)(font "Arial" (font_size 8)))
		(text "WRITE_ON_GLOB_OUT" (rect 197 187 331 201)(font "Arial" (font_size 8)))
		(line (pt 352 192)(pt 336 192)(line_width 1))
	)
	(port
		(pt 352 208)
		(output)
		(text "DATA_REG_GLOB_OUT[7..0]" (rect 0 0 167 14)(font "Arial" (font_size 8)))
		(text "DATA_REG_GLOB_OUT[7..0]" (rect 164 203 331 217)(font "Arial" (font_size 8)))
		(line (pt 352 208)(pt 336 208)(line_width 3))
	)
	(port
		(pt 352 224)
		(output)
		(text "ACLR_COUNTER_OUT" (rect 0 0 128 14)(font "Arial" (font_size 8)))
		(text "ACLR_COUNTER_OUT" (rect 203 219 331 233)(font "Arial" (font_size 8)))
		(line (pt 352 224)(pt 336 224)(line_width 1))
	)
	(port
		(pt 352 240)
		(output)
		(text "STOP_OUT" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "STOP_OUT" (rect 268 235 331 249)(font "Arial" (font_size 8)))
		(line (pt 352 240)(pt 336 240)(line_width 1))
	)
	(port
		(pt 352 256)
		(output)
		(text "EN_OUT_MEM" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "EN_OUT_MEM" (rect 251 251 331 265)(font "Arial" (font_size 8)))
		(line (pt 352 256)(pt 336 256)(line_width 1))
	)
	(port
		(pt 352 272)
		(output)
		(text "EN_OUT_REG" (rect 0 0 79 14)(font "Arial" (font_size 8)))
		(text "EN_OUT_REG" (rect 252 267 331 281)(font "Arial" (font_size 8)))
		(line (pt 352 272)(pt 336 272)(line_width 1))
	)
	(port
		(pt 352 288)
		(output)
		(text "OVERFLOW" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "OVERFLOW" (rect 262 283 331 297)(font "Arial" (font_size 8)))
		(line (pt 352 288)(pt 336 288)(line_width 1))
	)
	(port
		(pt 352 304)
		(output)
		(text "SP_OUT[7..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "SP_OUT[7..0]" (rect 256 299 331 313)(font "Arial" (font_size 8)))
		(line (pt 352 304)(pt 336 304)(line_width 3))
	)
	(port
		(pt 352 320)
		(output)
		(text "S0[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S0[7..0]" (rect 288 315 331 329)(font "Arial" (font_size 8)))
		(line (pt 352 320)(pt 336 320)(line_width 3))
	)
	(port
		(pt 352 336)
		(output)
		(text "S1[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S1[7..0]" (rect 288 331 331 345)(font "Arial" (font_size 8)))
		(line (pt 352 336)(pt 336 336)(line_width 3))
	)
	(port
		(pt 352 352)
		(output)
		(text "S2[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S2[7..0]" (rect 288 347 331 361)(font "Arial" (font_size 8)))
		(line (pt 352 352)(pt 336 352)(line_width 3))
	)
	(port
		(pt 352 368)
		(output)
		(text "S3[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S3[7..0]" (rect 288 363 331 377)(font "Arial" (font_size 8)))
		(line (pt 352 368)(pt 336 368)(line_width 3))
	)
	(port
		(pt 352 384)
		(output)
		(text "S4[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S4[7..0]" (rect 288 379 331 393)(font "Arial" (font_size 8)))
		(line (pt 352 384)(pt 336 384)(line_width 3))
	)
	(port
		(pt 352 400)
		(output)
		(text "S5[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S5[7..0]" (rect 288 395 331 409)(font "Arial" (font_size 8)))
		(line (pt 352 400)(pt 336 400)(line_width 3))
	)
	(port
		(pt 352 416)
		(output)
		(text "S6[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S6[7..0]" (rect 288 411 331 425)(font "Arial" (font_size 8)))
		(line (pt 352 416)(pt 336 416)(line_width 3))
	)
	(port
		(pt 352 432)
		(output)
		(text "S7[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S7[7..0]" (rect 288 427 331 441)(font "Arial" (font_size 8)))
		(line (pt 352 432)(pt 336 432)(line_width 3))
	)
	(port
		(pt 352 448)
		(output)
		(text "S8[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S8[7..0]" (rect 288 443 331 457)(font "Arial" (font_size 8)))
		(line (pt 352 448)(pt 336 448)(line_width 3))
	)
	(port
		(pt 352 464)
		(output)
		(text "S9[7..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "S9[7..0]" (rect 288 459 331 473)(font "Arial" (font_size 8)))
		(line (pt 352 464)(pt 336 464)(line_width 3))
	)
	(port
		(pt 352 480)
		(output)
		(text "S10[7..0]" (rect 0 0 50 14)(font "Arial" (font_size 8)))
		(text "S10[7..0]" (rect 281 475 331 489)(font "Arial" (font_size 8)))
		(line (pt 352 480)(pt 336 480)(line_width 3))
	)
	(port
		(pt 352 496)
		(output)
		(text "S11[7..0]" (rect 0 0 50 14)(font "Arial" (font_size 8)))
		(text "S11[7..0]" (rect 281 491 331 505)(font "Arial" (font_size 8)))
		(line (pt 352 496)(pt 336 496)(line_width 3))
	)
	(parameter
		"M"
		"1"
		""
		(type "PARAMETER_UNSIGNED_DEC")	)
	(parameter
		"N"
		"3"
		""
		(type "PARAMETER_UNSIGNED_DEC")	)
	(drawing
		(rectangle (rect 16 16 336 528)(line_width 1))
	)
	(annotation_block (parameter)(rect 368 -64 468 16))
)
