/*
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-2004 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 16 16 304 304)
	(text "DC_Motor_Main" (rect 5 0 93 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 272 25 284)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "AD7492_Busy" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "AD7492_Busy" (rect 21 27 103 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "AD7492_Data[11..0]" (rect 0 0 114 14)(font "Arial" (font_size 8)))
		(text "AD7492_Data[11..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 "Reset" (rect 0 0 33 14)(font "Arial" (font_size 8)))
		(text "Reset" (rect 21 59 54 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "Clock" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "Clock" (rect 21 75 51 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "Position_Set[11..0]" (rect 0 0 105 14)(font "Arial" (font_size 8)))
		(text "Position_Set[11..0]" (rect 21 91 126 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 0 112)
		(input)
		(text "Position_SW" (rect 0 0 70 14)(font "Arial" (font_size 8)))
		(text "Position_SW" (rect 21 107 91 121)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "Rate_SW" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "Rate_SW" (rect 21 123 74 137)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 0 144)
		(input)
		(text "Current_SW" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "Current_SW" (rect 21 139 90 153)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 1))
	)
	(port
		(pt 0 160)
		(input)
		(text "Rate_Pulse" (rect 0 0 63 14)(font "Arial" (font_size 8)))
		(text "Rate_Pulse" (rect 21 155 84 169)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160)(line_width 1))
	)
	(port
		(pt 0 176)
		(input)
		(text "Rate_Measure_Ctrl" (rect 0 0 108 14)(font "Arial" (font_size 8)))
		(text "Rate_Measure_Ctrl" (rect 21 171 129 185)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176)(line_width 1))
	)
	(port
		(pt 0 192)
		(input)
		(text "Rate_Set[15..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
		(text "Rate_Set[15..0]" (rect 21 187 108 201)(font "Arial" (font_size 8)))
		(line (pt 0 192)(pt 16 192)(line_width 3))
	)
	(port
		(pt 0 208)
		(input)
		(text "Current_Set[11..0]" (rect 0 0 103 14)(font "Arial" (font_size 8)))
		(text "Current_Set[11..0]" (rect 21 203 124 217)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208)(line_width 3))
	)
	(port
		(pt 0 224)
		(input)
		(text "AD7895_Busy" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "AD7895_Busy" (rect 21 219 103 233)(font "Arial" (font_size 8)))
		(line (pt 0 224)(pt 16 224)(line_width 1))
	)
	(port
		(pt 0 240)
		(input)
		(text "AD7895_Data" (rect 0 0 79 14)(font "Arial" (font_size 8)))
		(text "AD7895_Data" (rect 21 235 100 249)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240)(line_width 1))
	)
	(port
		(pt 0 256)
		(input)
		(text "Clk_SCL" (rect 0 0 47 14)(font "Arial" (font_size 8)))
		(text "Clk_SCL" (rect 21 251 68 265)(font "Arial" (font_size 8)))
		(line (pt 0 256)(pt 16 256)(line_width 1))
	)
	(port
		(pt 288 32)
		(output)
		(text "AD7492_RD" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "AD7492_RD" (rect 198 27 267 41)(font "Arial" (font_size 8)))
		(line (pt 288 32)(pt 272 32)(line_width 1))
	)
	(port
		(pt 288 48)
		(output)
		(text "AD7492_Mode" (rect 0 0 83 14)(font "Arial" (font_size 8)))
		(text "AD7492_Mode" (rect 184 43 267 57)(font "Arial" (font_size 8)))
		(line (pt 288 48)(pt 272 48)(line_width 1))
	)
	(port
		(pt 288 64)
		(output)
		(text "AD7492_Conv" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "AD7492_Conv" (rect 185 59 267 73)(font "Arial" (font_size 8)))
		(line (pt 288 64)(pt 272 64)(line_width 1))
	)
	(port
		(pt 288 80)
		(output)
		(text "AD7492_CS" (rect 0 0 69 14)(font "Arial" (font_size 8)))
		(text "AD7492_CS" (rect 198 75 267 89)(font "Arial" (font_size 8)))
		(line (pt 288 80)(pt 272 80)(line_width 1))
	)
	(port
		(pt 288 96)
		(output)
		(text "Position_Adjust_Drive" (rect 0 0 123 14)(font "Arial" (font_size 8)))
		(text "Position_Adjust_Drive" (rect 144 91 267 105)(font "Arial" (font_size 8)))
		(line (pt 288 96)(pt 272 96)(line_width 1))
	)
	(port
		(pt 288 112)
		(output)
		(text "Rate_Adjust_Drive" (rect 0 0 106 14)(font "Arial" (font_size 8)))
		(text "Rate_Adjust_Drive" (rect 161 107 267 121)(font "Arial" (font_size 8)))
		(line (pt 288 112)(pt 272 112)(line_width 1))
	)
	(port
		(pt 288 128)
		(output)
		(text "Rate_Over" (rect 0 0 61 14)(font "Arial" (font_size 8)))
		(text "Rate_Over" (rect 206 123 267 137)(font "Arial" (font_size 8)))
		(line (pt 288 128)(pt 272 128)(line_width 1))
	)
	(port
		(pt 288 144)
		(output)
		(text "Current_Adjust_Drive" (rect 0 0 122 14)(font "Arial" (font_size 8)))
		(text "Current_Adjust_Drive" (rect 145 139 267 153)(font "Arial" (font_size 8)))
		(line (pt 288 144)(pt 272 144)(line_width 1))
	)
	(port
		(pt 288 160)
		(output)
		(text "AD7895_Conv" (rect 0 0 82 14)(font "Arial" (font_size 8)))
		(text "AD7895_Conv" (rect 185 155 267 169)(font "Arial" (font_size 8)))
		(line (pt 288 160)(pt 272 160)(line_width 1))
	)
	(port
		(pt 288 176)
		(output)
		(text "AD7895_SCL" (rect 0 0 76 14)(font "Arial" (font_size 8)))
		(text "AD7895_SCL" (rect 191 171 267 185)(font "Arial" (font_size 8)))
		(line (pt 288 176)(pt 272 176)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 272 272)(line_width 1))
	)
)
