/*
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 240 528)
	(text "reg_file" (rect 5 0 47 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 496 25 508)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "reg_sel_ir" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "reg_sel_ir" (rect 21 27 77 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "reg_sel_pc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_pc" (rect 21 43 84 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48))
	)
	(port
		(pt 0 64)
		(input)
		(text "ctl_sw_4u" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "ctl_sw_4u" (rect 21 59 81 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64))
	)
	(port
		(pt 0 80)
		(input)
		(text "reg_sel_wz" (rect 0 0 68 14)(font "Arial" (font_size 8)))
		(text "reg_sel_wz" (rect 21 75 89 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80))
	)
	(port
		(pt 0 96)
		(input)
		(text "reg_sel_sp" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sp" (rect 21 91 84 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96))
	)
	(port
		(pt 0 112)
		(input)
		(text "reg_sel_iy" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_iy" (rect 21 107 80 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112))
	)
	(port
		(pt 0 128)
		(input)
		(text "reg_sel_ix" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_ix" (rect 21 123 80 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128))
	)
	(port
		(pt 0 144)
		(input)
		(text "reg_sel_hl2" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "reg_sel_hl2" (rect 21 139 87 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144))
	)
	(port
		(pt 0 160)
		(input)
		(text "reg_sel_hl" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_hl" (rect 21 155 80 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160))
	)
	(port
		(pt 0 176)
		(input)
		(text "reg_sel_de2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "reg_sel_de2" (rect 21 171 91 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176))
	)
	(port
		(pt 0 192)
		(input)
		(text "reg_sel_de" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_de" (rect 21 187 84 201)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 16 192))
	)
	(port
		(pt 0 208)
		(input)
		(text "reg_sel_bc2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "reg_sel_bc2" (rect 21 203 91 217)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208))
	)
	(port
		(pt 0 224)
		(input)
		(text "reg_sel_bc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_bc" (rect 21 219 84 233)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 16 224))
	)
	(port
		(pt 0 240)
		(input)
		(text "reg_sel_af2" (rect 0 0 68 14)(font "Arial" (font_size 8)))
		(text "reg_sel_af2" (rect 21 235 89 249)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240))
	)
	(port
		(pt 0 256)
		(input)
		(text "reg_sel_af" (rect 0 0 61 14)(font "Arial" (font_size 8)))
		(text "reg_sel_af" (rect 21 251 82 265)(font "Arial" (font_size 8)))
		(line (pt 0 256)(pt 16 256))
	)
	(port
		(pt 0 272)
		(input)
		(text "ctl_reg_in_hi" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_in_hi" (rect 21 267 92 281)(font "Arial" (font_size 8)))
		(line (pt 0 272)(pt 16 272))
	)
	(port
		(pt 0 288)
		(input)
		(text "ctl_reg_in_lo" (rect 0 0 71 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_in_lo" (rect 21 283 92 297)(font "Arial" (font_size 8)))
		(line (pt 0 288)(pt 16 288))
	)
	(port
		(pt 0 304)
		(input)
		(text "ctl_reg_out_lo" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_out_lo" (rect 21 299 101 313)(font "Arial" (font_size 8)))
		(line (pt 0 304)(pt 16 304))
	)
	(port
		(pt 0 320)
		(input)
		(text "ctl_reg_out_hi" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_out_hi" (rect 21 315 101 329)(font "Arial" (font_size 8)))
		(line (pt 0 320)(pt 16 320))
	)
	(port
		(pt 0 336)
		(input)
		(text "reg_sw_4d_lo" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "reg_sw_4d_lo" (rect 21 331 103 345)(font "Arial" (font_size 8)))
		(line (pt 0 336)(pt 16 336))
	)
	(port
		(pt 0 352)
		(input)
		(text "reg_sw_4d_hi" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "reg_sw_4d_hi" (rect 21 347 103 361)(font "Arial" (font_size 8)))
		(line (pt 0 352)(pt 16 352))
	)
	(port
		(pt 0 368)
		(input)
		(text "reg_gp_we" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "reg_gp_we" (rect 21 363 87 377)(font "Arial" (font_size 8)))
		(line (pt 0 368)(pt 16 368))
	)
	(port
		(pt 0 384)
		(input)
		(text "reg_sys_we_lo" (rect 0 0 89 14)(font "Arial" (font_size 8)))
		(text "reg_sys_we_lo" (rect 21 379 110 393)(font "Arial" (font_size 8)))
		(line (pt 0 384)(pt 16 384))
	)
	(port
		(pt 0 400)
		(input)
		(text "reg_sel_sys_lo" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sys_lo" (rect 21 395 108 409)(font "Arial" (font_size 8)))
		(line (pt 0 400)(pt 16 400))
	)
	(port
		(pt 0 416)
		(input)
		(text "reg_sel_gp_lo" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "reg_sel_gp_lo" (rect 21 411 101 425)(font "Arial" (font_size 8)))
		(line (pt 0 416)(pt 16 416))
	)
	(port
		(pt 0 432)
		(input)
		(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
		(text "clk" (rect 21 427 36 441)(font "Arial" (font_size 8)))
		(line (pt 0 432)(pt 16 432))
	)
	(port
		(pt 0 448)
		(input)
		(text "reg_sys_we_hi" (rect 0 0 89 14)(font "Arial" (font_size 8)))
		(text "reg_sys_we_hi" (rect 21 443 110 457)(font "Arial" (font_size 8)))
		(line (pt 0 448)(pt 16 448))
	)
	(port
		(pt 0 464)
		(input)
		(text "reg_sel_sys_hi" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sys_hi" (rect 21 459 108 473)(font "Arial" (font_size 8)))
		(line (pt 0 464)(pt 16 464))
	)
	(port
		(pt 0 480)
		(input)
		(text "reg_sel_gp_hi" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "reg_sel_gp_hi" (rect 21 475 101 489)(font "Arial" (font_size 8)))
		(line (pt 0 480)(pt 16 480))
	)
	(port
		(pt 224 32)
		(bidir)
		(text "db_lo_ds[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "db_lo_ds[7..0]" (rect 123 27 203 41)(font "Arial" (font_size 8)))
		(line (pt 224 32)(pt 208 32)(line_width 3))
	)
	(port
		(pt 224 48)
		(bidir)
		(text "db_lo_as[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "db_lo_as[7..0]" (rect 123 43 203 57)(font "Arial" (font_size 8)))
		(line (pt 224 48)(pt 208 48)(line_width 3))
	)
	(port
		(pt 224 64)
		(bidir)
		(text "db_hi_ds[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "db_hi_ds[7..0]" (rect 123 59 203 73)(font "Arial" (font_size 8)))
		(line (pt 224 64)(pt 208 64)(line_width 3))
	)
	(port
		(pt 224 80)
		(bidir)
		(text "db_hi_as[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "db_hi_as[7..0]" (rect 123 75 203 89)(font "Arial" (font_size 8)))
		(line (pt 224 80)(pt 208 80)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 208 496))
	)
)
