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

📄 top.bdf

📁 一个测试端口测试程序
💻 BDF
字号:
/*
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-2002 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.2"))
(pin
	(input)
	(rect 136 520 304 536)
	(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
	(text "RXD" (rect 5 0 25 12)(font "Arial" ))
	(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 154 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 136 312 304 328)
	(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
	(text "CLK" (rect 5 0 24 12)(font "Arial" ))
	(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 154 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 136 328 304 344)
	(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
	(text "NRESET" (rect 5 0 45 12)(font "Arial" ))
	(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 154 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 136 488 304 504)
	(text "INPUT" (rect 133 0 159 10)(font "Arial" (font_size 6)))
	(text "RXD_OSVIEW" (rect 5 0 72 12)(font "Arial" ))
	(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 154 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 824 520 1000 536)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "TXD" (rect 90 0 108 12)(font "Arial" ))
	(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 824 456 1004 472)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "NWRITE_SRAM32" (rect 90 0 175 12)(font "Arial" ))
	(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 824 440 1000 456)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "NREAD" (rect 90 0 126 12)(font "Arial" ))
	(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 824 376 1015 392)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "NSELECT1_SRAM32" (rect 90 0 186 12)(font "Arial" ))
	(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 824 360 1015 376)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "NSELECT0_SRAM32" (rect 90 0 186 12)(font "Arial" ))
	(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 824 392 1015 408)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "ADDRESS[17..0]" (rect 90 0 169 12)(font "Arial" ))
	(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 824 408 1022 424)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "NBYTE_ENABLE[3..0]" (rect 90 0 193 12)(font "Arial" ))
	(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 824 488 1000 504)
	(text "OUTPUT" (rect 1 0 37 10)(font "Arial" (font_size 6)))
	(text "TXD_OSVIEW" (rect 90 0 154 12)(font "Arial" ))
	(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
	(bidir)
	(rect 824 424 1000 440)
	(text "BIDIR" (rect 1 0 24 10)(font "Arial" (font_size 6)))
	(text "DATA[31..0]" (rect 90 0 146 12)(font "Arial" ))
	(pt 0 8)
	(drawing
		(line (pt 56 4)(pt 78 4)(line_width 1))
		(line (pt 0 8)(pt 52 8)(line_width 1))
		(line (pt 56 12)(pt 78 12)(line_width 1))
		(line (pt 78 4)(pt 82 8)(line_width 1))
		(line (pt 78 12)(pt 82 8)(line_width 1))
		(line (pt 56 4)(pt 52 8)(line_width 1))
		(line (pt 52 8)(pt 56 12)(line_width 1))
	)
	(text "VCC" (rect 4 7 22 17)(font "Arial" (font_size 6)))
)
(symbol
	(rect 360 288 760 560)
	(text "sopc" (rect 4 0 34 16)(font "Arial" (font_size 10)))
	(text "inst" (rect 4 256 20 268)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk " (rect 0 0 17 14)(font "Arial" (font_size 8)))
		(text "clk " (rect 20 25 37 39)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "reset_n " (rect 0 0 44 14)(font "Arial" (font_size 8)))
		(text "reset_n " (rect 20 41 64 55)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 208)
		(input)
		(text "rxd_to_the_uart_OSView " (rect 0 0 139 14)(font "Arial" (font_size 8)))
		(text "rxd_to_the_uart_OSView " (rect 20 201 159 215)(font "Arial" (font_size 8)))
		(line (pt 0 208)(pt 16 208)(line_width 1))
	)
	(port
		(pt 0 240)
		(input)
		(text "rxd_to_the_uart_printf " (rect 0 0 122 14)(font "Arial" (font_size 8)))
		(text "rxd_to_the_uart_printf " (rect 20 233 142 247)(font "Arial" (font_size 8)))
		(line (pt 0 240)(pt 16 240)(line_width 1))
	)
	(port
		(pt 400 80)
		(output)
		(text "select0_n_to_the_nios_dev_board_sram32 " (rect 0 0 233 14)(font "Arial" (font_size 8)))
		(text "select0_n_to_the_nios_dev_board_sram32 " (rect 164 73 397 87)(font "Arial" (font_size 8)))
		(line (pt 384 80)(pt 400 80)(line_width 1))
	)
	(port
		(pt 400 96)
		(output)
		(text "select1_n_to_the_nios_dev_board_sram32 " (rect 0 0 233 14)(font "Arial" (font_size 8)))
		(text "select1_n_to_the_nios_dev_board_sram32 " (rect 164 89 397 103)(font "Arial" (font_size 8)))
		(line (pt 384 96)(pt 400 96)(line_width 1))
	)
	(port
		(pt 400 112)
		(output)
		(text "tri_state_bridge_0_address[17..0] " (rect 0 0 182 14)(font "Arial" (font_size 8)))
		(text "tri_state_bridge_0_address[17..0] " (rect 209 105 391 119)(font "Arial" (font_size 8)))
		(line (pt 384 112)(pt 400 112)(line_width 3))
	)
	(port
		(pt 400 128)
		(output)
		(text "tri_state_bridge_0_byteenablen[3..0] " (rect 0 0 196 14)(font "Arial" (font_size 8)))
		(text "tri_state_bridge_0_byteenablen[3..0] " (rect 197 121 393 135)(font "Arial" (font_size 8)))
		(line (pt 384 128)(pt 400 128)(line_width 3))
	)
	(port
		(pt 400 160)
		(output)
		(text "tri_state_bridge_0_readn " (rect 0 0 136 14)(font "Arial" (font_size 8)))
		(text "tri_state_bridge_0_readn " (rect 251 153 387 167)(font "Arial" (font_size 8)))
		(line (pt 384 160)(pt 400 160)(line_width 1))
	)
	(port
		(pt 400 176)
		(output)
		(text "write_n_to_the_nios_dev_board_sram32 " (rect 0 0 222 14)(font "Arial" (font_size 8)))
		(text "write_n_to_the_nios_dev_board_sram32 " (rect 176 169 398 183)(font "Arial" (font_size 8)))
		(line (pt 384 176)(pt 400 176)(line_width 1))
	)
	(port
		(pt 400 208)
		(output)
		(text "txd_from_the_uart_OSView " (rect 0 0 152 14)(font "Arial" (font_size 8)))
		(text "txd_from_the_uart_OSView " (rect 240 201 392 215)(font "Arial" (font_size 8)))
		(line (pt 384 208)(pt 400 208)(line_width 1))
	)
	(port
		(pt 400 240)
		(output)
		(text "txd_from_the_uart_printf " (rect 0 0 135 14)(font "Arial" (font_size 8)))
		(text "txd_from_the_uart_printf " (rect 257 233 392 247)(font "Arial" (font_size 8)))
		(line (pt 384 240)(pt 400 240)(line_width 1))
	)
	(port
		(pt 400 144)
		(bidir)
		(text "tri_state_bridge_0_data[31..0] " (rect 0 0 161 14)(font "Arial" (font_size 8)))
		(text "tri_state_bridge_0_data[31..0] " (rect 227 137 388 151)(font "Arial" (font_size 8)))
		(line (pt 384 144)(pt 400 144)(line_width 3))
	)
	(drawing
		(line (pt 16 64)(pt 383 64)(color 0 0 0)(dotted)(line_width 1))
		(line (pt 16 192)(pt 383 192)(color 0 0 0)(dotted)(line_width 1))
		(line (pt 16 224)(pt 383 224)(color 0 0 0)(dotted)(line_width 1))
		(rectangle (rect 16 16 384 256)(line_width 1))
	)
)
(connector
	(pt 304 528)
	(pt 360 528)
)
(connector
	(pt 360 336)
	(pt 304 336)
)
(connector
	(pt 360 320)
	(pt 304 320)
)
(connector
	(pt 760 368)
	(pt 824 368)
)
(connector
	(pt 760 384)
	(pt 824 384)
)
(connector
	(pt 824 400)
	(pt 760 400)
	(bus)
)
(connector
	(pt 824 416)
	(pt 760 416)
	(bus)
)
(connector
	(pt 824 432)
	(pt 760 432)
	(bus)
)
(connector
	(pt 824 448)
	(pt 760 448)
)
(connector
	(pt 824 464)
	(pt 760 464)
)
(connector
	(pt 824 528)
	(pt 760 528)
)
(connector
	(pt 304 496)
	(pt 360 496)
)
(connector
	(pt 824 496)
	(pt 760 496)
)

⌨️ 快捷键说明

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