⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tictactoe.bsf

📁 quartus 中
💻 BSF
字号:
/*
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-2003 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 256 272)
	(text "TicTacToe" (rect 5 0 54 12)(font "Arial" ))
	(text "inst" (rect 8 240 25 252)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "start" (rect 0 0 22 12)(font "Arial" ))
		(text "start" (rect 21 59 43 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "imove[3..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "imove[3..0]" (rect 21 75 77 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 240 32)
		(output)
		(text "winA" (rect 0 0 22 12)(font "Arial" ))
		(text "winA" (rect 197 27 219 39)(font "Arial" ))
		(line (pt 240 32)(pt 224 32)(line_width 1))
	)
	(port
		(pt 240 48)
		(output)
		(text "winX" (rect 0 0 21 12)(font "Arial" ))
		(text "winX" (rect 198 43 219 55)(font "Arial" ))
		(line (pt 240 48)(pt 224 48)(line_width 1))
	)
	(port
		(pt 240 64)
		(output)
		(text "finished" (rect 0 0 38 12)(font "Arial" ))
		(text "finished" (rect 181 59 219 71)(font "Arial" ))
		(line (pt 240 64)(pt 224 64)(line_width 1))
	)
	(port
		(pt 240 80)
		(output)
		(text "turn[1..0]" (rect 0 0 44 12)(font "Arial" ))
		(text "turn[1..0]" (rect 175 75 219 87)(font "Arial" ))
		(line (pt 240 80)(pt 224 80)(line_width 3))
	)
	(port
		(pt 240 96)
		(output)
		(text "line_vertical_1" (rect 0 0 70 12)(font "Arial" ))
		(text "line_vertical_1" (rect 149 91 219 103)(font "Arial" ))
		(line (pt 240 96)(pt 224 96)(line_width 1))
	)
	(port
		(pt 240 112)
		(output)
		(text "line_vertical_2" (rect 0 0 70 12)(font "Arial" ))
		(text "line_vertical_2" (rect 149 107 219 119)(font "Arial" ))
		(line (pt 240 112)(pt 224 112)(line_width 1))
	)
	(port
		(pt 240 128)
		(output)
		(text "line_vertical_3" (rect 0 0 70 12)(font "Arial" ))
		(text "line_vertical_3" (rect 149 123 219 135)(font "Arial" ))
		(line (pt 240 128)(pt 224 128)(line_width 1))
	)
	(port
		(pt 240 144)
		(output)
		(text "line_horizontal_1" (rect 0 0 80 12)(font "Arial" ))
		(text "line_horizontal_1" (rect 139 139 219 151)(font "Arial" ))
		(line (pt 240 144)(pt 224 144)(line_width 1))
	)
	(port
		(pt 240 160)
		(output)
		(text "line_horizontal_2" (rect 0 0 80 12)(font "Arial" ))
		(text "line_horizontal_2" (rect 139 155 219 167)(font "Arial" ))
		(line (pt 240 160)(pt 224 160)(line_width 1))
	)
	(port
		(pt 240 176)
		(output)
		(text "line_horizontal_3" (rect 0 0 80 12)(font "Arial" ))
		(text "line_horizontal_3" (rect 139 171 219 183)(font "Arial" ))
		(line (pt 240 176)(pt 224 176)(line_width 1))
	)
	(port
		(pt 240 192)
		(output)
		(text "line_diagonal_left_to_right" (rect 0 0 127 12)(font "Arial" ))
		(text "line_diagonal_left_to_right" (rect 92 187 219 199)(font "Arial" ))
		(line (pt 240 192)(pt 224 192)(line_width 1))
	)
	(port
		(pt 240 208)
		(output)
		(text "line_diagonal_right_to_left" (rect 0 0 127 12)(font "Arial" ))
		(text "line_diagonal_right_to_left" (rect 92 203 219 215)(font "Arial" ))
		(line (pt 240 208)(pt 224 208)(line_width 1))
	)
	(port
		(pt 240 224)
		(output)
		(text "cats_game" (rect 0 0 54 12)(font "Arial" ))
		(text "cats_game" (rect 165 219 219 231)(font "Arial" ))
		(line (pt 240 224)(pt 224 224)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 224 240)(line_width 1))
	)
)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -