/*
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.2"))
(symbol
	(rect 16 16 272 464)
	(text "alu" (rect 5 0 21 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 432 25 444)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "alu_oe" (rect 0 0 37 14)(font "Arial" (font_size 8)))
		(text "alu_oe" (rect 21 27 58 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "alu_shift_in" (rect 0 0 64 14)(font "Arial" (font_size 8)))
		(text "alu_shift_in" (rect 21 43 85 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 0 64)
		(input)
		(text "alu_shift_left" (rect 0 0 73 14)(font "Arial" (font_size 8)))
		(text "alu_shift_left" (rect 21 59 94 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64))
	)
	(port
		(pt 0 80)
		(input)
		(text "alu_shift_right" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "alu_shift_right" (rect 21 75 101 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80))
	)
	(port
		(pt 0 96)
		(input)
		(text "alu_core_R" (rect 0 0 64 14)(font "Arial" (font_size 8)))
		(text "alu_core_R" (rect 21 91 85 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96))
	)
	(port
		(pt 0 112)
		(input)
		(text "alu_core_V" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "alu_core_V" (rect 21 107 87 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112))
	)
	(port
		(pt 0 128)
		(input)
		(text "alu_core_S" (rect 0 0 64 14)(font "Arial" (font_size 8)))
		(text "alu_core_S" (rect 21 123 85 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128))
	)
	(port
		(pt 0 144)
		(input)
		(text "alu_bs_oe" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "alu_bs_oe" (rect 21 139 80 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144))
	)
	(port
		(pt 0 160)
		(input)
		(text "alu_parity_in" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "alu_parity_in" (rect 21 155 92 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160))
	)
	(port
		(pt 0 176)
		(input)
		(text "alu_shift_oe" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "alu_shift_oe" (rect 21 171 90 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176))
	)
	(port
		(pt 0 192)
		(input)
		(text "alu_core_cf_in" (rect 0 0 84 14)(font "Arial" (font_size 8)))
		(text "alu_core_cf_in" (rect 21 187 105 201)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 16 192))
	)
	(port
		(pt 0 208)
		(input)
		(text "alu_op2_oe" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "alu_op2_oe" (rect 21 203 87 217)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208))
	)
	(port
		(pt 0 224)
		(input)
		(text "alu_op1_oe" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "alu_op1_oe" (rect 21 219 87 233)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 16 224))
	)
	(port
		(pt 0 240)
		(input)
		(text "alu_res_oe" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "alu_res_oe" (rect 21 235 84 249)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240))
	)
	(port
		(pt 0 256)
		(input)
		(text "alu_op1_sel_low" (rect 0 0 96 14)(font "Arial" (font_size 8)))
		(text "alu_op1_sel_low" (rect 21 251 117 265)(font "Arial" (font_size 8)))
		(line (pt 0 256)(pt 16 256))
	)
	(port
		(pt 0 272)
		(input)
		(text "alu_op1_sel_zero" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "alu_op1_sel_zero" (rect 21 267 122 281)(font "Arial" (font_size 8)))
		(line (pt 0 272)(pt 16 272))
	)
	(port
		(pt 0 288)
		(input)
		(text "alu_op1_sel_bus" (rect 0 0 96 14)(font "Arial" (font_size 8)))
		(text "alu_op1_sel_bus" (rect 21 283 117 297)(font "Arial" (font_size 8)))
		(line (pt 0 288)(pt 16 288))
	)
	(port
		(pt 0 304)
		(input)
		(text "alu_op2_sel_zero" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "alu_op2_sel_zero" (rect 21 299 122 313)(font "Arial" (font_size 8)))
		(line (pt 0 304)(pt 16 304))
	)
	(port
		(pt 0 320)
		(input)
		(text "alu_op2_sel_bus" (rect 0 0 96 14)(font "Arial" (font_size 8)))
		(text "alu_op2_sel_bus" (rect 21 315 117 329)(font "Arial" (font_size 8)))
		(line (pt 0 320)(pt 16 320))
	)
	(port
		(pt 0 336)
		(input)
		(text "alu_op2_sel_lq" (rect 0 0 84 14)(font "Arial" (font_size 8)))
		(text "alu_op2_sel_lq" (rect 21 331 105 345)(font "Arial" (font_size 8)))
		(line (pt 0 336)(pt 16 336))
	)
	(port
		(pt 0 352)
		(input)
		(text "alu_op_low" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "alu_op_low" (rect 21 347 87 361)(font "Arial" (font_size 8)))
		(line (pt 0 352)(pt 16 352))
	)
	(port
		(pt 0 368)
		(input)
		(text "alu_sel_op2_neg" (rect 0 0 96 14)(font "Arial" (font_size 8)))
		(text "alu_sel_op2_neg" (rect 21 363 117 377)(font "Arial" (font_size 8)))
		(line (pt 0 368)(pt 16 368))
	)
	(port
		(pt 0 384)
		(input)
		(text "alu_sel_op2_high" (rect 0 0 99 14)(font "Arial" (font_size 8)))
		(text "alu_sel_op2_high" (rect 21 379 120 393)(font "Arial" (font_size 8)))
		(line (pt 0 384)(pt 16 384))
	)
	(port
		(pt 0 400)
		(input)
		(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
		(text "clk" (rect 21 395 36 409)(font "Arial" (font_size 8)))
		(line (pt 0 400)(pt 16 400))
	)
	(port
		(pt 0 416)
		(input)
		(text "bsel[2..0]" (rect 0 0 51 14)(font "Arial" (font_size 8)))
		(text "bsel[2..0]" (rect 21 411 72 425)(font "Arial" (font_size 8)))
		(line (pt 0 416)(pt 16 416)(line_width 3))
	)
	(port
		(pt 256 32)
		(output)
		(text "alu_zero" (rect 0 0 49 14)(font "Arial" (font_size 8)))
		(text "alu_zero" (rect 186 27 235 41)(font "Arial" (font_size 8)))
		(line (pt 256 32)(pt 240 32))
	)
	(port
		(pt 256 48)
		(output)
		(text "alu_parity_out" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "alu_parity_out" (rect 155 43 235 57)(font "Arial" (font_size 8)))
		(line (pt 256 48)(pt 240 48))
	)
	(port
		(pt 256 64)
		(output)
		(text "alu_high_eq_9" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "alu_high_eq_9" (rect 153 59 235 73)(font "Arial" (font_size 8)))
		(line (pt 256 64)(pt 240 64))
	)
	(port
		(pt 256 80)
		(output)
		(text "alu_high_gt_9" (rect 0 0 79 14)(font "Arial" (font_size 8)))
		(text "alu_high_gt_9" (rect 156 75 235 89)(font "Arial" (font_size 8)))
		(line (pt 256 80)(pt 240 80))
	)
	(port
		(pt 256 96)
		(output)
		(text "alu_low_gt_9" (rect 0 0 76 14)(font "Arial" (font_size 8)))
		(text "alu_low_gt_9" (rect 159 91 235 105)(font "Arial" (font_size 8)))
		(line (pt 256 96)(pt 240 96))
	)
	(port
		(pt 256 112)
		(output)
		(text "alu_shift_db0" (rect 0 0 76 14)(font "Arial" (font_size 8)))
		(text "alu_shift_db0" (rect 159 107 235 121)(font "Arial" (font_size 8)))
		(line (pt 256 112)(pt 240 112))
	)
	(port
		(pt 256 128)
		(output)
		(text "alu_shift_db7" (rect 0 0 76 14)(font "Arial" (font_size 8)))
		(text "alu_shift_db7" (rect 159 123 235 137)(font "Arial" (font_size 8)))
		(line (pt 256 128)(pt 240 128))
	)
	(port
		(pt 256 144)
		(output)
		(text "alu_core_cf_out" (rect 0 0 93 14)(font "Arial" (font_size 8)))
		(text "alu_core_cf_out" (rect 142 139 235 153)(font "Arial" (font_size 8)))
		(line (pt 256 144)(pt 240 144))
	)
	(port
		(pt 256 160)
		(output)
		(text "alu_sf_out" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "alu_sf_out" (rect 175 155 235 169)(font "Arial" (font_size 8)))
		(line (pt 256 160)(pt 240 160))
	)
	(port
		(pt 256 176)
		(output)
		(text "alu_yf_out" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "alu_yf_out" (rect 175 171 235 185)(font "Arial" (font_size 8)))
		(line (pt 256 176)(pt 240 176))
	)
	(port
		(pt 256 192)
		(output)
		(text "alu_xf_out" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "alu_xf_out" (rect 175 187 235 201)(font "Arial" (font_size 8)))
		(line (pt 256 192)(pt 240 192))
	)
	(port
		(pt 256 208)
		(output)
		(text "alu_vf_out" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "alu_vf_out" (rect 175 203 235 217)(font "Arial" (font_size 8)))
		(line (pt 256 208)(pt 240 208))
	)
	(port
		(pt 256 224)
		(output)
		(text "test_db_low[3..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
		(text "test_db_low[3..0]" (rect 136 219 235 233)(font "Arial" (font_size 8)))
		(line (pt 256 224)(pt 240 224)(line_width 3))
	)
	(port
		(pt 256 256)
		(output)
		(text "test_db_high[3..0]" (rect 0 0 101 14)(font "Arial" (font_size 8)))
		(text "test_db_high[3..0]" (rect 134 251 235 265)(font "Arial" (font_size 8)))
		(line (pt 256 256)(pt 240 256)(line_width 3))
	)
	(port
		(pt 256 240)
		(bidir)
		(text "db[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "db[7..0]" (rect 193 235 235 249)(font "Arial" (font_size 8)))
		(line (pt 256 240)(pt 240 240)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 240 432))
	)
)
