📄 try.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 -56 192 112 208)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "we" (rect 5 0 17 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 -56 112 112 128)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "write_add[4..0]" (rect 5 0 76 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 -56 144 112 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clear" (rect 5 0 28 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 520 216 696 232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ready" (rect 90 0 118 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 520 184 696 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "flag" (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))
)
)
(symbol
(rect 392 152 496 248)
(text "DFF2" (rect 34 -1 71 15)(font "Courier New" (font_size 10)(bold)))
(text "inst" (rect 3 85 20 97)(font "Arial" ))
(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 40)
(input)
(text "D" (rect 20 36 25 48)(font "Courier New" (bold)))
(text "D" (rect 20 36 25 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "PRN" (rect 20 20 37 32)(font "Courier New" (bold)))
(text "PRN" (rect 20 20 37 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "CLRN" (rect 20 68 43 80)(font "Courier New" (bold)))
(text "CLRN" (rect 20 68 43 80)(font "Courier New" (bold)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 104 40)
(output)
(text "Q" (rect 81 36 86 48)(font "Courier New" (bold)))
(text "Q" (rect 81 36 86 48)(font "Courier New" (bold)))
(line (pt 88 40)(pt 104 40)(line_width 1))
)
(port
(pt 104 72)
(output)
(text "QN" (rect 76 68 87 80)(font "Courier New" (bold)))
(text "QN" (rect 76 68 87 80)(font "Courier New" (bold)))
(line (pt 88 72)(pt 104 72)(line_width 1))
)
(drawing
(line (pt 16 80)(pt 88 80)(line_width 1))
(line (pt 16 16)(pt 88 16)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 88 80)(pt 88 16)(line_width 1))
)
)
(symbol
(rect -8 304 40 336)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 21 26 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))
)
)
(symbol
(rect -8 336 40 368)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 21 26 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))
)
)
(symbol
(rect 152 272 216 384)
(text "AND6" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 101 32 113)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(line (pt 0 48)(pt 18 48)(line_width 1))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 18 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 18 32)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(line (pt 0 64)(pt 18 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible))
(text "IN5" (rect 2 71 19 83)(font "Courier New" (bold))(invisible))
(line (pt 0 80)(pt 18 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible))
(text "IN6" (rect 2 87 19 99)(font "Courier New" (bold))(invisible))
(line (pt 0 96)(pt 18 96)(line_width 1))
)
(port
(pt 64 56)
(output)
(text "OUT" (rect 48 47 65 59)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 47 65 59)(font "Courier New" (bold))(invisible))
(line (pt 46 56)(pt 64 56)(line_width 1))
)
(drawing
(line (pt 18 43)(pt 33 43)(line_width 1))
(line (pt 18 99)(pt 18 13)(line_width 1))
(line (pt 18 70)(pt 34 70)(line_width 1))
(arc (pt 34 69)(pt 33 43)(rect 20 43 47 70)(line_width 1))
)
)
(symbol
(rect 80 400 112 416)
(text "VCC" (rect 7 6 27 16)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 -1 32 11)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 -3 24 9)(font "Courier New" (bold))(invisible))
(line (pt 16 0)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
(flipx)
)
(symbol
(rect 304 176 320 208)
(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
(text "inst13" (rect 5 0 17 29)(font "Arial" )(vertical)(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 7 8 19 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 16)(pt 8 16)(line_width 1))
)
(drawing
(line (pt 8 24)(pt 8 8)(line_width 1))
)
(rotate90)
)
(symbol
(rect 352 160 368 192)
(text "VCC" (rect 0 5 10 25)(font "Arial" (font_size 6))(vertical))
(text "inst14" (rect 5 0 17 29)(font "Arial" )(vertical)(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 7 8 19 13)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 16)(pt 8 16)(line_width 1))
)
(drawing
(line (pt 8 24)(pt 8 8)(line_width 1))
)
(rotate90)
)
(symbol
(rect 232 184 296 232)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst12" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(connector
(pt 496 224)
(pt 520 224)
)
(connector
(pt 96 400)
(pt 96 368)
)
(connector
(pt 96 368)
(pt 152 368)
)
(connector
(text "write_add[0]" (rect 98 272 157 284)(font "Arial" ))
(pt 152 288)
(pt 88 288)
)
(connector
(text "write_add[1]" (rect 98 288 157 300)(font "Arial" ))
(pt 152 304)
(pt 88 304)
)
(connector
(text "write_add[2]" (rect -72 304 -13 316)(font "Arial" ))
(pt -8 320)
(pt -56 320)
)
(connector
(text "write_add[3]" (rect -70 336 -11 348)(font "Arial" ))
(pt -72 352)
(pt -8 352)
)
(connector
(pt 40 320)
(pt 152 320)
)
(connector
(pt 40 352)
(pt 72 352)
)
(connector
(pt 72 352)
(pt 72 336)
)
(connector
(pt 72 336)
(pt 152 336)
)
(connector
(text "write_add[4]" (rect 98 336 157 348)(font "Arial" ))
(pt 152 352)
(pt 88 352)
)
(connector
(pt 320 192)
(pt 392 192)
)
(connector
(pt 368 176)
(pt 392 176)
)
(connector
(pt 496 192)
(pt 520 192)
)
(connector
(pt 232 200)
(pt 112 200)
)
(connector
(pt 216 328)
(pt 224 328)
)
(connector
(pt 224 216)
(pt 232 216)
)
(connector
(pt 296 208)
(pt 392 208)
)
(connector
(pt 224 216)
(pt 224 328)
)
(connector
(text "clear" (rect 338 208 361 220)(font "Arial" ))
(pt 328 224)
(pt 392 224)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -