📄 lcnt8.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-2006 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 16 112 32)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 9 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 -56 152 112 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "a[7..0]" (rect 9 0 40 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 -64 328 104 344)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "b[7..0]" (rect 9 0 40 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 704 120 880 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "psout" (rect 90 0 117 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 248 440 280)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst3" (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 544 64 576 80)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 592 104 656 184)
(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 68 26 80)(font "Arial" ))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24)(line_width 1))
)
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
(line (pt 52 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 12)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 52 68)(line_width 1))
(line (pt 52 68)(pt 52 12)(line_width 1))
(line (pt 12 68)(pt 12 12)(line_width 1))
(line (pt 19 40)(pt 12 47)(line_width 1))
(line (pt 12 32)(pt 20 40)(line_width 1))
(circle (rect 28 4 36 12)(line_width 1))
(circle (rect 28 68 36 76)(line_width 1))
)
)
(symbol
(rect 448 296 496 328)
(text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6)))
(text "inst4" (rect 22 -1 45 11)(font "Arial" ))
(port
(pt 48 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible))
(line (pt 48 16)(pt 35 16)(line_width 1))
)
(port
(pt 0 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible))
(line (pt 9 16)(pt 0 16)(line_width 1))
)
(drawing
(line (pt 35 7)(pt 35 25)(line_width 1))
(line (pt 35 25)(pt 17 16)(line_width 1))
(line (pt 35 7)(pt 17 16)(line_width 1))
(circle (rect 9 12 17 20)(line_width 1))
)
(rotate180)
)
(block
(rect 168 104 280 224)
(text "lcnt" (rect 5 5 25 19)(font "Arial" (font_size 8))) (text "inst" (rect 5 106 22 118)(font "Arial" )) (block_io "clk" (input))
(block_io "ld" (input))
(block_io "d[7..0]" (input))
(block_io "cao" (output))
(mapper
(pt 0 24)
(input)
(mapping "clk" "clk" )
(annotation_block (mapping)(rect 48 80 136 112))
)
(mapper
(pt 0 88)
(input)
(mapping "ld" "q" )
(annotation_block (mapping)(rect 16 216 104 248))
)
(mapper
(pt 0 56)
(input)
(mapping "d[7..0]" "a[7..0]" )
(annotation_block (mapping)(rect 16 184 104 216))
)
(mapper
(pt 112 80)
(output)
(mapping "cao" "cao" )
(annotation_block (mapping)(rect 160 272 248 304))
)
)
(block
(rect 376 104 488 224)
(text "lcnt" (rect 5 5 25 19)(font "Arial" (font_size 8))) (text "inst1" (rect 5 106 28 118)(font "Arial" )) (block_io "clk" (input))
(block_io "ld" (input))
(block_io "d[7..0]" (input))
(block_io "cao" (output))
(mapper
(pt 0 24)
(input)
(mapping "clk" "clk" )
(annotation_block (mapping)(rect 240 0 328 32))
)
(mapper
(pt 0 56)
(input)
(mapping "d[7..0]" "b[7..0]" )
(annotation_block (mapping)(rect 240 32 328 64))
)
(mapper
(pt 0 88)
(input)
(mapping "ld" "q1" )
(annotation_block (mapping)(rect 240 64 328 96))
)
(mapper
(pt 112 40)
(output)
(mapping "cao" "cao1" )
(annotation_block (mapping)(rect 504 192 592 224))
)
)
(connector
(pt 560 80)
(pt 560 128)
)
(connector
(pt 560 128)
(pt 592 128)
)
(connector
(pt 320 336)
(pt 104 336)
(bus)
)
(connector
(pt 440 264)
(pt 624 264)
)
(connector
(pt 624 264)
(pt 624 184)
)
(connector
(pt 296 184)
(pt 296 264)
)
(connector
(pt 296 264)
(pt 392 264)
)
(connector
(pt 448 312)
(pt 136 312)
)
(connector
(pt 136 192)
(pt 136 312)
)
(connector
(pt 320 160)
(pt 320 336)
(bus)
)
(connector
(pt 352 232)
(pt 352 192)
)
(connector
(pt 144 24)
(pt 144 128)
)
(connector
(pt 344 24)
(pt 344 128)
)
(connector
(pt 112 24)
(pt 144 24)
)
(connector
(pt 144 24)
(pt 344 24)
)
(connector
(pt 344 128)
(pt 376 128)
)
(connector
(text "b[7..0]" (rect 330 144 361 156)(font "Arial" ))
(pt 376 160)
(pt 320 160)
(bus)
)
(connector
(text "clk" (rect 154 112 168 124)(font "Arial" ))
(pt 144 128)
(pt 168 128)
)
(connector
(text "a[7..0]" (rect 122 144 153 156)(font "Arial" ))
(pt 168 160)
(pt 112 160)
(bus)
)
(connector
(text "cao" (rect 290 168 307 180)(font "Arial" ))
(pt 280 184)
(pt 296 184)
)
(connector
(text "cao1" (rect 498 128 521 140)(font "Arial" ))
(pt 488 144)
(pt 592 144)
)
(connector
(text "q" (rect 146 176 151 188)(font "Arial" ))
(pt 168 192)
(pt 136 192)
)
(connector
(pt 680 232)
(pt 680 312)
)
(connector
(pt 496 312)
(pt 680 312)
)
(connector
(pt 680 128)
(pt 680 232)
)
(connector
(pt 352 232)
(pt 680 232)
)
(connector
(text "q1" (rect 362 176 373 188)(font "Arial" ))
(pt 352 192)
(pt 376 192)
)
(connector
(pt 656 128)
(pt 680 128)
)
(connector
(pt 680 128)
(pt 704 128)
)
(junction (pt 144 24))
(junction (pt 680 232))
(junction (pt 680 128))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -