/*
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 280 432)
	(text "reg_control" (rect 5 0 69 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 400 25 412)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "ctl_reg_gp_we" (rect 0 0 86 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_gp_we" (rect 21 27 107 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32))
	)
	(port
		(pt 0 48)
		(input)
		(text "ctl_reg_gp_hilo[1..0]" (rect 0 0 114 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_gp_hilo[1..0]" (rect 21 43 135 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "ctl_reg_gp_sel[1..0]" (rect 0 0 112 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_gp_sel[1..0]" (rect 21 59 133 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "ctl_reg_ex_de_hl" (rect 0 0 97 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_ex_de_hl" (rect 21 75 118 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80))
	)
	(port
		(pt 0 96)
		(input)
		(text "ctl_reg_exx" (rect 0 0 67 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_exx" (rect 21 91 88 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96))
	)
	(port
		(pt 0 112)
		(input)
		(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
		(text "clk" (rect 21 107 36 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112))
	)
	(port
		(pt 0 128)
		(input)
		(text "nreset" (rect 0 0 36 14)(font "Arial" (font_size 8)))
		(text "nreset" (rect 21 123 57 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128))
	)
	(port
		(pt 0 144)
		(input)
		(text "use_ixiy" (rect 0 0 47 14)(font "Arial" (font_size 8)))
		(text "use_ixiy" (rect 21 139 68 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144))
	)
	(port
		(pt 0 160)
		(input)
		(text "use_ix" (rect 0 0 37 14)(font "Arial" (font_size 8)))
		(text "use_ix" (rect 21 155 58 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160))
	)
	(port
		(pt 0 176)
		(input)
		(text "ctl_reg_ex_af" (rect 0 0 79 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_ex_af" (rect 21 171 100 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176))
	)
	(port
		(pt 0 192)
		(input)
		(text "nhold_clk_wait" (rect 0 0 84 14)(font "Arial" (font_size 8)))
		(text "nhold_clk_wait" (rect 21 187 105 201)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 16 192))
	)
	(port
		(pt 0 208)
		(input)
		(text "ctl_reg_use_sp" (rect 0 0 88 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_use_sp" (rect 21 203 109 217)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208))
	)
	(port
		(pt 0 224)
		(input)
		(text "ctl_reg_sys_we_hi" (rect 0 0 109 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sys_we_hi" (rect 21 219 130 233)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 16 224))
	)
	(port
		(pt 0 240)
		(input)
		(text "ctl_reg_sys_we" (rect 0 0 93 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sys_we" (rect 21 235 114 249)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240))
	)
	(port
		(pt 0 256)
		(input)
		(text "ctl_reg_sys_we_lo" (rect 0 0 109 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sys_we_lo" (rect 21 251 130 265)(font "Arial" (font_size 8)))
		(line (pt 0 256)(pt 16 256))
	)
	(port
		(pt 0 272)
		(input)
		(text "ctl_reg_sys_hilo[1..0]" (rect 0 0 121 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sys_hilo[1..0]" (rect 21 267 142 281)(font "Arial" (font_size 8)))
		(line (pt 0 272)(pt 16 272)(line_width 3))
	)
	(port
		(pt 0 288)
		(input)
		(text "ctl_sw_4d" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "ctl_sw_4d" (rect 21 283 81 297)(font "Arial" (font_size 8)))
		(line (pt 0 288)(pt 16 288))
	)
	(port
		(pt 0 304)
		(input)
		(text "ctl_reg_sel_ir" (rect 0 0 76 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sel_ir" (rect 21 299 97 313)(font "Arial" (font_size 8)))
		(line (pt 0 304)(pt 16 304))
	)
	(port
		(pt 0 320)
		(input)
		(text "ctl_reg_sel_pc" (rect 0 0 83 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sel_pc" (rect 21 315 104 329)(font "Arial" (font_size 8)))
		(line (pt 0 320)(pt 16 320))
	)
	(port
		(pt 0 336)
		(input)
		(text "ctl_reg_not_pc" (rect 0 0 84 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_not_pc" (rect 21 331 105 345)(font "Arial" (font_size 8)))
		(line (pt 0 336)(pt 16 336))
	)
	(port
		(pt 0 352)
		(input)
		(text "ctl_reg_sel_wz" (rect 0 0 88 14)(font "Arial" (font_size 8)))
		(text "ctl_reg_sel_wz" (rect 21 347 109 361)(font "Arial" (font_size 8)))
		(line (pt 0 352)(pt 16 352))
	)
	(port
		(pt 264 32)
		(output)
		(text "reg_gp_we" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "reg_gp_we" (rect 177 27 243 41)(font "Arial" (font_size 8)))
		(line (pt 264 32)(pt 248 32))
	)
	(port
		(pt 264 48)
		(output)
		(text "reg_sel_gp_lo" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "reg_sel_gp_lo" (rect 163 43 243 57)(font "Arial" (font_size 8)))
		(line (pt 264 48)(pt 248 48))
	)
	(port
		(pt 264 64)
		(output)
		(text "reg_sel_gp_hi" (rect 0 0 80 14)(font "Arial" (font_size 8)))
		(text "reg_sel_gp_hi" (rect 163 59 243 73)(font "Arial" (font_size 8)))
		(line (pt 264 64)(pt 248 64))
	)
	(port
		(pt 264 80)
		(output)
		(text "reg_sel_bc2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "reg_sel_bc2" (rect 173 75 243 89)(font "Arial" (font_size 8)))
		(line (pt 264 80)(pt 248 80))
	)
	(port
		(pt 264 96)
		(output)
		(text "reg_sel_bc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_bc" (rect 180 91 243 105)(font "Arial" (font_size 8)))
		(line (pt 264 96)(pt 248 96))
	)
	(port
		(pt 264 112)
		(output)
		(text "reg_sel_de2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "reg_sel_de2" (rect 173 107 243 121)(font "Arial" (font_size 8)))
		(line (pt 264 112)(pt 248 112))
	)
	(port
		(pt 264 128)
		(output)
		(text "reg_sel_hl2" (rect 0 0 66 14)(font "Arial" (font_size 8)))
		(text "reg_sel_hl2" (rect 177 123 243 137)(font "Arial" (font_size 8)))
		(line (pt 264 128)(pt 248 128))
	)
	(port
		(pt 264 144)
		(output)
		(text "reg_sel_de" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_de" (rect 180 139 243 153)(font "Arial" (font_size 8)))
		(line (pt 264 144)(pt 248 144))
	)
	(port
		(pt 264 160)
		(output)
		(text "reg_sel_hl" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_hl" (rect 184 155 243 169)(font "Arial" (font_size 8)))
		(line (pt 264 160)(pt 248 160))
	)
	(port
		(pt 264 176)
		(output)
		(text "reg_sel_ix" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_ix" (rect 184 171 243 185)(font "Arial" (font_size 8)))
		(line (pt 264 176)(pt 248 176))
	)
	(port
		(pt 264 192)
		(output)
		(text "reg_sel_iy" (rect 0 0 59 14)(font "Arial" (font_size 8)))
		(text "reg_sel_iy" (rect 184 187 243 201)(font "Arial" (font_size 8)))
		(line (pt 264 192)(pt 248 192))
	)
	(port
		(pt 264 208)
		(output)
		(text "reg_sel_af2" (rect 0 0 68 14)(font "Arial" (font_size 8)))
		(text "reg_sel_af2" (rect 175 203 243 217)(font "Arial" (font_size 8)))
		(line (pt 264 208)(pt 248 208))
	)
	(port
		(pt 264 224)
		(output)
		(text "reg_sel_af" (rect 0 0 61 14)(font "Arial" (font_size 8)))
		(text "reg_sel_af" (rect 182 219 243 233)(font "Arial" (font_size 8)))
		(line (pt 264 224)(pt 248 224))
	)
	(port
		(pt 264 240)
		(output)
		(text "reg_sel_sp" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sp" (rect 180 235 243 249)(font "Arial" (font_size 8)))
		(line (pt 264 240)(pt 248 240))
	)
	(port
		(pt 264 256)
		(output)
		(text "reg_sys_we_hi" (rect 0 0 89 14)(font "Arial" (font_size 8)))
		(text "reg_sys_we_hi" (rect 154 251 243 265)(font "Arial" (font_size 8)))
		(line (pt 264 256)(pt 248 256))
	)
	(port
		(pt 264 272)
		(output)
		(text "reg_sys_we_lo" (rect 0 0 89 14)(font "Arial" (font_size 8)))
		(text "reg_sys_we_lo" (rect 154 267 243 281)(font "Arial" (font_size 8)))
		(line (pt 264 272)(pt 248 272))
	)
	(port
		(pt 264 288)
		(output)
		(text "reg_sel_sys_lo" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sys_lo" (rect 156 283 243 297)(font "Arial" (font_size 8)))
		(line (pt 264 288)(pt 248 288))
	)
	(port
		(pt 264 304)
		(output)
		(text "reg_sel_sys_hi" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "reg_sel_sys_hi" (rect 156 299 243 313)(font "Arial" (font_size 8)))
		(line (pt 264 304)(pt 248 304))
	)
	(port
		(pt 264 320)
		(output)
		(text "reg_sw_4d_lo" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "reg_sw_4d_lo" (rect 161 315 243 329)(font "Arial" (font_size 8)))
		(line (pt 264 320)(pt 248 320))
	)
	(port
		(pt 264 336)
		(output)
		(text "reg_sw_4d_hi" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "reg_sw_4d_hi" (rect 161 331 243 345)(font "Arial" (font_size 8)))
		(line (pt 264 336)(pt 248 336))
	)
	(port
		(pt 264 352)
		(output)
		(text "reg_sel_ir" (rect 0 0 56 14)(font "Arial" (font_size 8)))
		(text "reg_sel_ir" (rect 187 347 243 361)(font "Arial" (font_size 8)))
		(line (pt 264 352)(pt 248 352))
	)
	(port
		(pt 264 368)
		(output)
		(text "reg_sel_pc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "reg_sel_pc" (rect 180 363 243 377)(font "Arial" (font_size 8)))
		(line (pt 264 368)(pt 248 368))
	)
	(port
		(pt 264 384)
		(output)
		(text "reg_sel_wz" (rect 0 0 68 14)(font "Arial" (font_size 8)))
		(text "reg_sel_wz" (rect 175 379 243 393)(font "Arial" (font_size 8)))
		(line (pt 264 384)(pt 248 384))
	)
	(drawing
		(rectangle (rect 16 16 248 400))
	)
)
