📄 codefd.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 -184 -56 -16 -40)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CE" (rect 5 0 20 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 -184 -16 -16 0)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 5 0 27 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 -184 32 -16 48)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "INA" (rect 5 0 23 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 -184 64 -16 80)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "INB" (rect 5 0 23 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 -184 96 -16 112)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 5 0 27 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 728 64 904 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PC_OUT[15..0]" (rect 90 0 165 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 48 8 168 136)
(text "F4" (rect 5 0 19 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "INA" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "INA" (rect 21 27 41 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "INB" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "INB" (rect 21 59 39 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 75 44 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 120 32)
(output)
(text "F4_CLK" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "F4_CLK" (rect 55 27 99 41)(font "Arial" (font_size 8)))
(line (pt 120 32)(pt 104 32)(line_width 1))
)
(port
(pt 120 48)
(output)
(text "ENADD" (rect 0 0 41 14)(font "Arial" (font_size 8)))
(text "ENADD" (rect 58 43 99 57)(font "Arial" (font_size 8)))
(line (pt 120 48)(pt 104 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 104 112)(line_width 1))
)
)
(symbol
(rect 200 8 424 104)
(text "pulse_count" (rect 5 0 64 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "F4_CLK" (rect 0 0 40 12)(font "Arial" ))
(text "F4_CLK" (rect 21 27 61 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
(text "RESET" (rect 21 43 56 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "DIRECTION" (rect 0 0 61 12)(font "Arial" ))
(text "DIRECTION" (rect 21 59 82 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 224 32)
(output)
(text "PULSE_COUNT[15..0]" (rect 0 0 112 12)(font "Arial" ))
(text "PULSE_COUNT[15..0]" (rect 91 27 203 39)(font "Arial" ))
(line (pt 224 32)(pt 208 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 208 80)(line_width 1))
)
)
(symbol
(rect 464 8 704 104)
(text "LATCH1" (rect 5 84 46 96)(font "Arial" ))
(text "inst1" (rect 8 4 31 16)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "CLR" (rect 0 0 22 12)(font "Arial" ))
(text "CLR" (rect 21 57 43 69)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CE" (rect 0 0 15 12)(font "Arial" ))
(text "CE" (rect 21 41 36 53)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "PULSE_COUNT[15..0]" (rect 0 0 112 12)(font "Arial" ))
(text "PULSE_COUNT[15..0]" (rect 21 25 133 37)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 240 64)
(output)
(text "PC_OUT[15..0]" (rect 0 0 75 12)(font "Arial" ))
(text "PC_OUT[15..0]" (rect 144 57 219 69)(font "Arial" ))
(line (pt 240 64)(pt 224 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 224 80)(line_width 1))
)
(flipx)
)
(connector
(pt 168 40)
(pt 200 40)
)
(connector
(pt 168 56)
(pt 184 56)
)
(connector
(pt 184 56)
(pt 184 72)
)
(connector
(pt 184 72)
(pt 200 72)
)
(connector
(pt 200 56)
(pt 192 56)
)
(connector
(pt 192 -8)
(pt 192 56)
)
(connector
(pt 424 40)
(pt 464 40)
(bus)
)
(connector
(pt 464 56)
(pt 456 56)
)
(connector
(pt 456 -48)
(pt 456 56)
)
(connector
(pt 456 -48)
(pt -16 -48)
)
(connector
(pt 464 72)
(pt 440 72)
)
(connector
(pt 440 72)
(pt 440 -8)
)
(connector
(pt 192 -8)
(pt 440 -8)
)
(connector
(pt 48 40)
(pt -16 40)
)
(connector
(pt 48 72)
(pt -16 72)
)
(connector
(pt 48 56)
(pt 24 56)
)
(connector
(pt 24 56)
(pt 24 -8)
)
(connector
(pt -16 -8)
(pt 24 -8)
)
(connector
(pt 24 -8)
(pt 192 -8)
)
(connector
(pt 48 88)
(pt 0 88)
)
(connector
(pt -16 104)
(pt 0 104)
)
(connector
(pt 0 104)
(pt 0 88)
)
(connector
(pt 704 72)
(pt 728 72)
(bus)
)
(junction (pt 192 -8))
(junction (pt 24 -8))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -