📄 biport_test.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-2005 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 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 "graphic" (version "1.3"))
(pin
(input)
(rect 24 128 192 144)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "input[7..0]" (rect 5 0 54 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 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 168 200 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "sel" (rect 5 0 19 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 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 416 64 592 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "output[7..0]" (rect 90 0 146 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 432 128 608 144)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "bidir_port[7..0]" (rect 90 0 160 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 24 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 264 96 384 152)
(text "lpm_bustri0" (rect 49 1 128 17)(font "Arial" (font_size 10)))
(text "inst3" (rect 8 40 31 52)(font "Arial" ))
(port
(pt 40 56)
(input)
(text "enabledt" (rect 0 0 48 14)(font "Arial" (font_size 8)))
(text "enabledt" (rect 40 10 88 24)(font "Arial" (font_size 8))(invisible))
(line (pt 40 56)(pt 40 44)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[7..0]" (rect -3 -5 50 9)(font "Arial" (font_size 8))(invisible))
(line (pt 0 40)(pt 32 40)(line_width 3))
)
(port
(pt 40 0)
(input)
(text "enabletr" (rect 0 0 46 14)(font "Arial" (font_size 8)))
(text "enabletr" (rect 40 -36 86 -22)(font "Arial" (font_size 8))(invisible))
)
(port
(pt 0 24)
(output)
(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "result[7..0]" (rect -3 -25 57 -11)(font "Arial" (font_size 8))(invisible))
(line (pt 0 24)(pt 32 24)(line_width 3))
)
(port
(pt 120 40)
(bidir)
(text "tridata[7..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
(text "tridata[7..0]" (rect 124 -14 187 0)(font "Arial" (font_size 8))(invisible))
(line (pt 120 40)(pt 48 40)(line_width 3))
)
(drawing
(text "8" (rect 83 41 88 53)(font "Arial" ))
(text "8" (rect 15 41 20 53)(font "Arial" ))
(text "8" (rect 15 25 20 37)(font "Arial" ))
(line (pt 48 16)(pt 32 24)(line_width 1))
(line (pt 32 24)(pt 48 32)(line_width 1))
(line (pt 48 32)(pt 48 16)(line_width 1))
(line (pt 32 32)(pt 48 40)(line_width 1))
(line (pt 48 40)(pt 32 48)(line_width 1))
(line (pt 32 48)(pt 32 32)(line_width 1))
(line (pt 48 24)(pt 56 24)(line_width 3))
(line (pt 56 24)(pt 56 40)(line_width 3))
(line (pt 78 44)(pt 86 36)(line_width 1))
(line (pt 10 44)(pt 18 36)(line_width 1))
(line (pt 10 28)(pt 18 20)(line_width 1))
(line (pt 40 0)(pt 40 20)(line_width 1))
)
)
(symbol
(rect 240 16 288 48)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 21 20 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(connector
(pt 192 136)
(pt 264 136)
(bus)
)
(connector
(pt 384 136)
(pt 432 136)
(bus)
)
(connector
(pt 304 176)
(pt 304 152)
)
(connector
(pt 416 72)
(pt 256 72)
(bus)
)
(connector
(pt 256 120)
(pt 256 72)
(bus)
)
(connector
(pt 264 120)
(pt 256 120)
(bus)
)
(connector
(pt 240 32)
(pt 232 32)
)
(connector
(pt 232 32)
(pt 232 176)
)
(connector
(pt 304 176)
(pt 232 176)
)
(connector
(pt 232 176)
(pt 200 176)
)
(connector
(pt 288 32)
(pt 304 32)
)
(connector
(pt 304 32)
(pt 304 96)
)
(junction (pt 232 176))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -