📄 block1.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-2007 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 from 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 360 120 528 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "penir" (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)))
(annotation_block (location)(rect 312 136 360 152))
)
(pin
(input)
(rect 360 136 528 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "dout" (rect 5 0 26 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)))
(annotation_block (location)(rect 312 152 360 168))
)
(pin
(input)
(rect 360 152 528 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "busy" (rect 5 0 29 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)))
(annotation_block (location)(rect 312 168 360 184))
)
(pin
(input)
(rect -16 136 152 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (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)))
(annotation_block (location)(rect -64 152 -16 168))
)
(pin
(output)
(rect 696 120 872 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "din" (rect 90 0 104 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))
)
(annotation_block (location)(rect 872 136 920 152))
)
(pin
(output)
(rect 696 136 872 152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "dclk" (rect 90 0 110 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))
)
(annotation_block (location)(rect 872 152 920 168))
)
(pin
(output)
(rect 704 216 880 232)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "cs" (rect 90 0 101 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))
)
(annotation_block (location)(rect 880 232 928 248))
)
(pin
(output)
(rect 696 232 872 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "xdou[11..0]" (rect 90 0 145 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))
)
(annotation_block (location)(rect 872 248 920 360))
)
(pin
(output)
(rect 696 248 872 264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ydout[11..0]" (rect 90 0 150 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 696 152 872 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "a" (rect 90 0 95 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))
)
(annotation_block (location)(rect 872 168 920 184))
)
(pin
(output)
(rect 696 168 872 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "B" (rect 90 0 97 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))
)
(annotation_block (location)(rect 872 184 920 200))
)
(pin
(output)
(rect 696 184 872 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "C" (rect 90 0 98 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))
)
(annotation_block (location)(rect 872 200 920 216))
)
(pin
(output)
(rect 704 200 880 216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "D" (rect 90 0 98 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))
)
(annotation_block (location)(rect 880 216 928 232))
)
(symbol
(rect 160 112 304 208)
(text "fenpin" (rect 5 0 35 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk50mhz" (rect 0 0 46 12)(font "Arial" ))
(text "clk50mhz" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "clk2mhz" (rect 0 0 40 12)(font "Arial" ))
(text "clk2mhz" (rect 83 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(port
(pt 144 48)
(output)
(text "clk1khz" (rect 0 0 36 12)(font "Arial" ))
(text "clk1khz" (rect 87 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 536 96 688 288)
(text "ADS7846a" (rect 5 0 56 12)(font "Arial" ))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "penirq" (rect 0 0 29 12)(font "Arial" ))
(text "penirq" (rect 21 27 50 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "dout" (rect 0 0 21 12)(font "Arial" ))
(text "dout" (rect 21 43 42 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "busy" (rect 0 0 24 12)(font "Arial" ))
(text "busy" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "clk2mhz" (rect 0 0 40 12)(font "Arial" ))
(text "clk2mhz" (rect 21 75 61 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "clk1khz" (rect 0 0 36 12)(font "Arial" ))
(text "clk1khz" (rect 21 91 57 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 152 32)
(output)
(text "din" (rect 0 0 14 12)(font "Arial" ))
(text "din" (rect 117 27 131 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32)(line_width 1))
)
(port
(pt 152 48)
(output)
(text "dclk" (rect 0 0 20 12)(font "Arial" ))
(text "dclk" (rect 111 43 131 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48)(line_width 1))
)
(port
(pt 152 64)
(output)
(text "a" (rect 0 0 5 12)(font "Arial" ))
(text "a" (rect 126 59 131 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64)(line_width 1))
)
(port
(pt 152 80)
(output)
(text "b" (rect 0 0 5 12)(font "Arial" ))
(text "b" (rect 126 75 131 87)(font "Arial" ))
(line (pt 152 80)(pt 136 80)(line_width 1))
)
(port
(pt 152 96)
(output)
(text "c" (rect 0 0 5 12)(font "Arial" ))
(text "c" (rect 126 91 131 103)(font "Arial" ))
(line (pt 152 96)(pt 136 96)(line_width 1))
)
(port
(pt 152 112)
(output)
(text "d" (rect 0 0 5 12)(font "Arial" ))
(text "d" (rect 126 107 131 119)(font "Arial" ))
(line (pt 152 112)(pt 136 112)(line_width 1))
)
(port
(pt 152 128)
(output)
(text "cs" (rect 0 0 11 12)(font "Arial" ))
(text "cs" (rect 120 123 131 135)(font "Arial" ))
(line (pt 152 128)(pt 136 128)(line_width 1))
)
(port
(pt 152 144)
(output)
(text "xdout[11..0]" (rect 0 0 59 12)(font "Arial" ))
(text "xdout[11..0]" (rect 72 139 131 151)(font "Arial" ))
(line (pt 152 144)(pt 136 144)(line_width 3))
)
(port
(pt 152 160)
(output)
(text "ydout[11..0]" (rect 0 0 60 12)(font "Arial" ))
(text "ydout[11..0]" (rect 71 155 131 167)(font "Arial" ))
(line (pt 152 160)(pt 136 160)(line_width 3))
)
(drawing
(rectangle (rect 16 16 136 176)(line_width 1))
)
)
(connector
(pt 160 144)
(pt 152 144)
)
(connector
(pt 536 176)
(pt 320 176)
)
(connector
(pt 320 176)
(pt 320 144)
)
(connector
(pt 320 144)
(pt 304 144)
)
(connector
(pt 304 160)
(pt 312 160)
)
(connector
(pt 312 160)
(pt 312 192)
)
(connector
(pt 312 192)
(pt 536 192)
)
(connector
(pt 536 128)
(pt 528 128)
)
(connector
(pt 536 144)
(pt 528 144)
)
(connector
(pt 536 160)
(pt 528 160)
)
(connector
(pt 696 128)
(pt 688 128)
)
(connector
(pt 688 144)
(pt 696 144)
)
(connector
(pt 696 160)
(pt 688 160)
)
(connector
(pt 696 256)
(pt 688 256)
(bus)
)
(connector
(pt 696 240)
(pt 688 240)
(bus)
)
(connector
(pt 688 224)
(pt 704 224)
)
(connector
(pt 696 176)
(pt 688 176)
)
(connector
(pt 696 192)
(pt 688 192)
)
(connector
(pt 688 208)
(pt 704 208)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -