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

📄 nn.gdf

📁 这是本人在Max plus2环境下用VHDL语言编的交通灯控制程序。做EDA课程设计的朋友可以下来参考参考。
💻 GDF
📖 第 1 页 / 共 2 页
字号:
/*
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 "graphic" (version "1.3"))
(pin
	(input)
	(rect 8 96 176 112)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "CLK" (rect 51 1 74 15)(font "Arial" (font_size 8)))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 8 120 176 136)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "RST" (rect 51 1 74 15)(font "Arial" (font_size 8)))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 8 176 176 192)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "SB" (rect 57 1 73 15)(font "Arial" (font_size 8)))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 8 144 176 160)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "SM" (rect 56 1 73 15)(font "Arial" (font_size 8)))
	(pt 168 8)
	(drawing
		(line (pt 92 12)(pt 117 12)(line_width 1))
		(line (pt 92 4)(pt 117 4)(line_width 1))
		(line (pt 121 8)(pt 168 8)(line_width 1))
		(line (pt 92 12)(pt 92 4)(line_width 1))
		(line (pt 117 4)(pt 121 8)(line_width 1))
		(line (pt 117 12)(pt 121 8)(line_width 1))
	)
	(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 752 72 928 88)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "MR" (rect 90 0 107 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 752 192 928 208)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "BG" (rect 90 0 107 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 752 168 928 184)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "BY" (rect 90 0 107 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 752 144 928 160)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "BR" (rect 90 0 106 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 768 120 944 136)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "MG" (rect 90 0 108 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 752 96 928 112)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "MY" (rect 90 0 108 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 856 392 1032 408)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "DOUTM[7..0]" (rect 90 0 160 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(pin
	(output)
	(rect 864 424 1040 440)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "DOUTB[7..0]" (rect 90 0 159 14)(font "Arial" (font_size 8)))
	(pt 0 8)
	(drawing
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 52 4)(pt 78 4)(line_width 1))
		(line (pt 52 12)(pt 78 12)(line_width 1))
		(line (pt 52 12)(pt 52 4)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 82 8)(pt 78 12)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
	)
)
(symbol
	(rect 224 368 408 464)
	(text "CNT15" (rect 65 3 112 19)(font "Courier New" (font_size 10)(bold)))
	(text "1" (rect 0 87 5 99)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "SB" (rect 20 20 31 32)(font "Courier New" (bold)))
		(text "SB" (rect 20 20 31 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "SM" (rect 20 36 31 48)(font "Courier New" (bold)))
		(text "SM" (rect 20 36 31 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "CLK" (rect 20 52 37 64)(font "Courier New" (bold)))
		(text "CLK" (rect 20 52 37 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "EN15" (rect 20 68 43 80)(font "Courier New" (bold)))
		(text "EN15" (rect 20 68 43 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 184 40)
		(output)
		(text "DOUT15M[7..0]" (rect 101 36 177 48)(font "Courier New" (bold)))
		(text "DOUT15M[7..0]" (rect 101 36 177 48)(font "Courier New" (bold)))
		(line (pt 168 40)(pt 184 40)(line_width 3))
	)
	(port
		(pt 184 56)
		(output)
		(text "DOUT15B[7..0]" (rect 101 52 177 64)(font "Courier New" (bold)))
		(text "DOUT15B[7..0]" (rect 101 52 177 64)(font "Courier New" (bold)))
		(line (pt 168 56)(pt 184 56)(line_width 3))
	)
	(drawing
		(line (pt 16 80)(pt 168 80)(line_width 1))
		(line (pt 16 16)(pt 168 16)(line_width 1))
		(line (pt 16 80)(pt 16 16)(line_width 1))
		(line (pt 168 80)(pt 168 16)(line_width 1))
	)
)
(symbol
	(rect 224 248 408 328)
	(text "CNT25" (rect 65 3 112 19)(font "Courier New" (font_size 10)(bold)))
	(text "2" (rect 0 71 5 83)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "SB" (rect 20 20 31 32)(font "Courier New" (bold)))
		(text "SB" (rect 20 20 31 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "CLK" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "EN25" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "EN25" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 184 24)
		(output)
		(text "DOUT25M[7..0]" (rect 101 20 177 32)(font "Courier New" (bold)))
		(text "DOUT25M[7..0]" (rect 101 20 177 32)(font "Courier New" (bold)))
		(line (pt 168 24)(pt 184 24)(line_width 3))
	)
	(port
		(pt 184 40)
		(output)
		(text "DOUT25B[7..0]" (rect 101 36 177 48)(font "Courier New" (bold)))
		(text "DOUT25B[7..0]" (rect 101 36 177 48)(font "Courier New" (bold)))
		(line (pt 168 40)(pt 184 40)(line_width 3))
	)
	(drawing
		(line (pt 16 64)(pt 168 64)(line_width 1))
		(line (pt 16 16)(pt 168 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 168 64)(pt 168 16)(line_width 1))
	)
)
(symbol
	(rect 232 488 400 568)
	(text "CNT5" (rect 62 3 99 19)(font "Courier New" (font_size 10)(bold)))
	(text "3" (rect 0 71 5 83)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold)))
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "EN5M" (rect 20 36 43 48)(font "Courier New" (bold)))
		(text "EN5M" (rect 20 36 43 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "EN5B" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "EN5B" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 168 40)
		(output)
		(text "DOUT5[7..0]" (rect 95 36 159 48)(font "Courier New" (bold)))
		(text "DOUT5[7..0]" (rect 95 36 159 48)(font "Courier New" (bold)))
		(line (pt 152 40)(pt 168 40)(line_width 3))
	)
	(drawing
		(line (pt 16 64)(pt 152 64)(line_width 1))
		(line (pt 16 16)(pt 152 16)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 152 64)(pt 152 16)(line_width 1))
	)
)
(symbol
	(rect 248 80 352 144)
	(text "FPJ" (rect 35 3 63 19)(font "Courier New" (font_size 10)(bold)))
	(text "4" (rect 0 55 5 67)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold)))
		(text "CLK" (rect 20 20 37 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "RST" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "RST" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 104 24)
		(output)
		(text "cout" (rect 66 20 89 32)(font "Courier New" (bold)))
		(text "cout" (rect 66 20 89 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(drawing
		(line (pt 16 48)(pt 88 48)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 48)(pt 16 16)(line_width 1))
		(line (pt 88 48)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 512 64 616 192)
	(text "JTDKZ" (rect 25 3 72 19)(font "Courier New" (font_size 10)(bold)))
	(text "5" (rect 0 119 5 131)(font "Courier New" (bold)))
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 20 36 37 48)(font "Courier New" (bold)))
		(text "CLK" (rect 20 36 37 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "SM" (rect 20 52 31 64)(font "Courier New" (bold)))
		(text "SM" (rect 20 52 31 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "SB" (rect 20 68 31 80)(font "Courier New" (bold)))
		(text "SB" (rect 20 68 31 80)(font "Courier New" (bold)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 104 24)
		(output)
		(text "MR" (rect 76 20 87 32)(font "Courier New" (bold)))
		(text "MR" (rect 76 20 87 32)(font "Courier New" (bold)))
		(line (pt 88 24)(pt 104 24)(line_width 1))
	)
	(port
		(pt 104 40)
		(output)
		(text "MY" (rect 76 36 87 48)(font "Courier New" (bold)))
		(text "MY" (rect 76 36 87 48)(font "Courier New" (bold)))
		(line (pt 88 40)(pt 104 40)(line_width 1))
	)
	(port
		(pt 104 56)
		(output)
		(text "MG" (rect 76 52 87 64)(font "Courier New" (bold)))
		(text "MG" (rect 76 52 87 64)(font "Courier New" (bold)))
		(line (pt 88 56)(pt 104 56)(line_width 1))
	)
	(port
		(pt 104 72)
		(output)
		(text "BR" (rect 76 68 87 80)(font "Courier New" (bold)))
		(text "BR" (rect 76 68 87 80)(font "Courier New" (bold)))
		(line (pt 88 72)(pt 104 72)(line_width 1))
	)
	(port
		(pt 104 88)
		(output)
		(text "BY" (rect 76 84 87 96)(font "Courier New" (bold)))
		(text "BY" (rect 76 84 87 96)(font "Courier New" (bold)))
		(line (pt 88 88)(pt 104 88)(line_width 1))
	)
	(port
		(pt 104 104)
		(output)
		(text "BG" (rect 76 100 87 112)(font "Courier New" (bold)))
		(text "BG" (rect 76 100 87 112)(font "Courier New" (bold)))
		(line (pt 88 104)(pt 104 104)(line_width 1))
	)
	(drawing
		(line (pt 16 112)(pt 88 112)(line_width 1))
		(line (pt 16 16)(pt 88 16)(line_width 1))
		(line (pt 16 112)(pt 16 16)(line_width 1))
		(line (pt 88 112)(pt 88 16)(line_width 1))
	)
)
(symbol
	(rect 576 328 808 504)
	(text "XSKZ" (rect 94 3 131 19)(font "Courier New" (font_size 10)(bold)))
	(text "6" (rect 0 167 5 179)(font "Courier New" (bold)))
	(port
		(pt 0 24)
		(input)
		(text "EN25" (rect 20 20 43 32)(font "Courier New" (bold)))
		(text "EN25" (rect 20 20 43 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "EN15" (rect 20 36 43 48)(font "Courier New" (bold)))
		(text "EN15" (rect 20 36 43 48)(font "Courier New" (bold)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "EN5M" (rect 20 52 43 64)(font "Courier New" (bold)))
		(text "EN5M" (rect 20 52 43 64)(font "Courier New" (bold)))
		(line (pt 0 56)(pt 16 56)(line_width 1))

⌨️ 快捷键说明

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