📄 maxmin.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 -8 224 160 240)
(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 16 160 104 192))
)
(pin
(input)
(rect 200 344 368 360)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "en" (rect 5 0 16 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 112 360 192 392))
)
(pin
(input)
(rect -40 296 128 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D[7..0]" (rect 5 0 39 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 -8 328 80 456))
)
(pin
(output)
(rect 352 112 528 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "RD" (rect 90 0 106 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 528 128 616 160))
)
(pin
(output)
(rect 824 192 1000 208)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "segoutmax[7..0]" (rect 90 0 170 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 48 960 176))
)
(pin
(output)
(rect 824 208 1000 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "segoutmin[7..0]" (rect 90 0 166 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 816 320 904 448))
)
(pin
(output)
(rect 824 224 1000 240)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "segoutpp[7..0]" (rect 90 0 160 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 920 376 1008 504))
)
(pin
(output)
(rect 424 496 600 512)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lovk" (rect 90 0 111 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 600 512 688 544))
)
(pin
(output)
(rect 600 368 776 384)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "clkk" (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 776 384 864 416))
)
(symbol
(rect 192 200 312 296)
(text "ADC0820" (rect 5 0 52 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "D[7..0]" (rect 0 0 34 12)(font "Arial" ))
(text "D[7..0]" (rect 21 43 55 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 120 32)
(output)
(text "RD" (rect 0 0 16 12)(font "Arial" ))
(text "RD" (rect 83 27 99 39)(font "Arial" ))
(line (pt 120 32)(pt 104 32)(line_width 1))
)
(port
(pt 120 48)
(output)
(text "LOCK0" (rect 0 0 35 12)(font "Arial" ))
(text "LOCK0" (rect 64 43 99 55)(font "Arial" ))
(line (pt 120 48)(pt 104 48)(line_width 1))
)
(port
(pt 120 64)
(output)
(text "Q[7..0]" (rect 0 0 34 12)(font "Arial" ))
(text "Q[7..0]" (rect 65 59 99 71)(font "Arial" ))
(line (pt 120 64)(pt 104 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 104 80)(line_width 1))
)
)
(symbol
(rect 400 184 576 312)
(text "calculate" (rect 5 0 48 12)(font "Arial" ))
(text "inst2" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "lockin" (rect 0 0 28 12)(font "Arial" ))
(text "lockin" (rect 21 43 49 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "datain[7..0]" (rect 0 0 55 12)(font "Arial" ))
(text "datain[7..0]" (rect 21 59 76 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 176 32)
(output)
(text "datamax[7..0]" (rect 0 0 68 12)(font "Arial" ))
(text "datamax[7..0]" (rect 87 27 155 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(port
(pt 176 48)
(output)
(text "datamin[7..0]" (rect 0 0 64 12)(font "Arial" ))
(text "datamin[7..0]" (rect 91 43 155 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 3))
)
(port
(pt 176 64)
(output)
(text "datapp[7..0]" (rect 0 0 59 12)(font "Arial" ))
(text "datapp[7..0]" (rect 96 59 155 71)(font "Arial" ))
(line (pt 176 64)(pt 160 64)(line_width 3))
)
(port
(pt 176 80)
(output)
(text "clkk" (rect 0 0 20 12)(font "Arial" ))
(text "clkk" (rect 135 75 155 87)(font "Arial" ))
(line (pt 176 80)(pt 160 80)(line_width 1))
)
(drawing
(rectangle (rect 16 16 160 112)(line_width 1))
)
)
(symbol
(rect 632 168 824 296)
(text "display1" (rect 5 0 46 12)(font "Arial" ))
(text "inst3" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clkin" (rect 0 0 22 12)(font "Arial" ))
(text "clkin" (rect 21 27 43 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "Dmax[7..0]" (rect 0 0 55 12)(font "Arial" ))
(text "Dmax[7..0]" (rect 21 43 76 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "Dmin[7..0]" (rect 0 0 51 12)(font "Arial" ))
(text "Dmin[7..0]" (rect 21 59 72 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "Dpp[7..0]" (rect 0 0 46 12)(font "Arial" ))
(text "Dpp[7..0]" (rect 21 75 67 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 91 32 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 192 32)
(output)
(text "segoutmax[7..0]" (rect 0 0 80 12)(font "Arial" ))
(text "segoutmax[7..0]" (rect 91 27 171 39)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(port
(pt 192 48)
(output)
(text "segoutmin[7..0]" (rect 0 0 76 12)(font "Arial" ))
(text "segoutmin[7..0]" (rect 95 43 171 55)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 3))
)
(port
(pt 192 64)
(output)
(text "segoutpp[7..0]" (rect 0 0 70 12)(font "Arial" ))
(text "segoutpp[7..0]" (rect 101 59 171 71)(font "Arial" ))
(line (pt 192 64)(pt 176 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 112)(line_width 1))
)
)
(connector
(pt 160 232)
(pt 192 232)
)
(connector
(pt 376 352)
(pt 376 264)
)
(connector
(pt 312 232)
(pt 320 232)
)
(connector
(pt 320 120)
(pt 352 120)
)
(connector
(pt 352 120)
(pt 360 120)
)
(connector
(pt 176 248)
(pt 192 248)
(bus)
)
(connector
(pt 176 304)
(pt 176 248)
(bus)
)
(connector
(pt 368 352)
(pt 376 352)
)
(connector
(pt 376 352)
(pt 600 352)
)
(connector
(pt 336 504)
(pt 424 504)
)
(connector
(pt 128 304)
(pt 176 304)
(bus)
)
(connector
(pt 376 264)
(pt 400 264)
)
(connector
(pt 336 232)
(pt 400 232)
)
(connector
(pt 312 248)
(pt 336 248)
)
(connector
(pt 336 232)
(pt 336 248)
)
(connector
(pt 336 248)
(pt 336 504)
)
(connector
(pt 360 264)
(pt 360 248)
(bus)
)
(connector
(pt 360 248)
(pt 400 248)
(bus)
)
(connector
(pt 312 264)
(pt 360 264)
(bus)
)
(connector
(pt 400 216)
(pt 320 216)
)
(connector
(pt 320 120)
(pt 320 216)
)
(connector
(pt 320 216)
(pt 320 232)
)
(connector
(pt 600 264)
(pt 600 352)
)
(connector
(pt 600 264)
(pt 632 264)
)
(connector
(pt 576 216)
(pt 632 216)
(bus)
)
(connector
(pt 576 232)
(pt 632 232)
(bus)
)
(connector
(pt 576 248)
(pt 632 248)
(bus)
)
(connector
(pt 576 264)
(pt 584 264)
)
(connector
(pt 584 376)
(pt 600 376)
)
(connector
(pt 640 200)
(pt 632 200)
)
(connector
(pt 632 200)
(pt 584 200)
)
(connector
(pt 584 200)
(pt 584 264)
)
(connector
(pt 584 264)
(pt 584 376)
)
(junction (pt 352 120))
(junction (pt 376 352))
(junction (pt 336 248))
(junction (pt 320 216))
(junction (pt 632 200))
(junction (pt 584 264))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -