📄 5050pwm.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 0 120 168 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "addr[9..4]" (rect 9 0 56 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 -48 136 0 224))
)
(pin
(input)
(rect 0 144 168 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "addrSet[5..0]" (rect 9 0 72 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 -48 160 0 248))
)
(pin
(input)
(rect -48 400 120 416)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "WR" (rect 9 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)))
(annotation_block (location)(rect -96 416 -48 432))
)
(pin
(input)
(rect -48 448 120 464)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "addr[3..0]" (rect 9 0 56 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 -96 464 -48 520))
)
(pin
(input)
(rect -48 520 120 536)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clock" (rect 9 0 34 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 -96 536 -48 552))
)
(pin
(input)
(rect -48 312 120 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "AEN" (rect 9 0 31 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 -96 328 -48 344))
)
(pin
(input)
(rect -48 360 120 376)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RD" (rect 9 0 25 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 -96 376 -48 392))
)
(pin
(input)
(rect 96 992 264 1008)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHB0" (rect 5 0 33 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 48 984 96 1000))
)
(pin
(input)
(rect 96 976 264 992)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHA0" (rect 5 0 33 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 48 968 96 984))
)
(pin
(input)
(rect 96 1024 264 1040)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHB1" (rect 5 0 33 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 48 1024 96 1040))
)
(pin
(input)
(rect 96 1008 264 1024)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHA1" (rect 5 0 33 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 48 1008 96 1024))
)
(pin
(input)
(rect 96 1056 264 1072)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHB2" (rect 5 0 33 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 48 1064 96 1080))
)
(pin
(input)
(rect 96 1040 264 1056)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "PHA2" (rect 5 0 33 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 48 1048 96 1064))
)
(pin
(output)
(rect 832 392 1008 408)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PWMout" (rect 90 0 131 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 1008 408 1056 424))
)
(pin
(output)
(rect 640 184 816 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "EN" (rect 90 0 105 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 200 864 216))
)
(pin
(output)
(rect 640 232 816 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PWMen" (rect 90 0 127 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 248 864 264))
)
(pin
(output)
(rect 416 688 592 704)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "LED2en" (rect 90 0 128 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 592 704 640 720))
)
(pin
(output)
(rect 984 568 1160 584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PWMout1" (rect 90 0 137 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 1160 584 1208 600))
)
(pin
(output)
(rect 984 760 1160 776)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PWMout0" (rect 90 0 137 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
(bidir)
(rect -56 600 120 616)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D[7..0]" (rect 52 0 86 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -32 624 16 736))
)
(symbol
(rect 320 40 432 344)
(text "74688" (rect 40 1 81 17)(font "Arial" (font_size 10)))
(text "inst6" (rect 3 293 21 303)(font "Arial" (font_size 6)))
(port
(pt 0 56)
(input)
(text "P6" (rect 20 51 34 65)(font "Arial" (font_size 8)))
(text "P6" (rect 20 51 34 65)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
)
(port
(pt 0 168)
(input)
(text "Q3" (rect 20 163 36 177)(font "Arial" (font_size 8)))
(text "Q3" (rect 20 163 36 177)(font "Arial" (font_size 8)))
(line (pt 0 168)(pt 16 168)(line_width 1))
)
(port
(pt 0 152)
(input)
(text "P3" (rect 20 147 34 161)(font "Arial" (font_size 8)))
(text "P3" (rect 20 147 34 161)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 16 152)(line_width 1))
)
(port
(pt 0 136)
(input)
(text "Q4" (rect 20 131 36 145)(font "Arial" (font_size 8)))
(text "Q4" (rect 20 131 36 145)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 16 136)(line_width 1))
)
(port
(pt 0 120)
(input)
(text "P4" (rect 20 115 34 129)(font "Arial" (font_size 8)))
(text "P4" (rect 20 115 34 129)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
)
(port
(pt 0 200)
(input)
(text "Q2" (rect 20 195 36 209)(font "Arial" (font_size 8)))
(text "Q2" (rect 20 195 36 209)(font "Arial" (font_size 8)))
(line (pt 0 200)(pt 16 200)(line_width 1))
)
(port
(pt 0 216)
(input)
(text "P1" (rect 20 211 34 225)(font "Arial" (font_size 8)))
(text "P1" (rect 20 211 34 225)(font "Arial" (font_size 8)))
(line (pt 0 216)(pt 16 216)(line_width 1))
)
(port
(pt 0 232)
(input)
(text "Q1" (rect 20 227 36 241)(font "Arial" (font_size 8)))
(text "Q1" (rect 20 227 36 241)(font "Arial" (font_size 8)))
(line (pt 0 232)(pt 16 232)(line_width 1))
)
(port
(pt 0 248)
(input)
(text "P0" (rect 20 243 34 257)(font "Arial" (font_size 8)))
(text "P0" (rect 20 243 34 257)(font "Arial" (font_size 8)))
(line (pt 0 248)(pt 16 248)(line_width 1))
)
(port
(pt 0 264)
(input)
(text "Q0" (rect 20 259 36 273)(font "Arial" (font_size 8)))
(text "Q0" (rect 20 259 36 273)(font "Arial" (font_size 8)))
(line (pt 0 264)(pt 16 264)(line_width 1))
)
(port
(pt 0 184)
(input)
(text "P2" (rect 20 179 34 193)(font "Arial" (font_size 8)))
(text "P2" (rect 20 179 34 193)(font "Arial" (font_size 8)))
(line (pt 0 184)(pt 16 184)(line_width 1))
)
(port
(pt 0 280)
(input)
(text "GN" (rect 20 275 37 289)(font "Arial" (font_size 8)))
(text "GN" (rect 20 275 37 289)(font "Arial" (font_size 8)))
(line (pt 0 280)(pt 16 280)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "Q7" (rect 20 35 36 49)(font "Arial" (font_size 8)))
(text "Q7" (rect 20 35 36 49)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 104)
(input)
(text "Q5" (rect 20 99 36 113)(font "Arial" (font_size 8)))
(text "Q5" (rect 20 99 36 113)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "P5" (rect 20 83 34 97)(font "Arial" (font_size 8)))
(text "P5" (rect 20 83 34 97)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "Q6" (rect 20 67 36 81)(font "Arial" (font_size 8)))
(text "Q6" (rect 20 67 36 81)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "P7" (rect 20 20 34 34)(font "Arial" (font_size 8)))
(text "P7" (rect 20 20 34 34)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 112 152)
(output)
(text "EQUALN" (rect 48 147 97 161)(font "Arial" (font_size 8)))
(text "EQUALN" (rect 48 147 97 161)(font "Arial" (font_size 8)))
(line (pt 96 152)(pt 112 152)(line_width 1))
)
(drawing
(line (pt 16 288)(pt 96 288)(line_width 1))
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 288)(pt 16 16)(line_width 1))
(line (pt 96 288)(pt 96 16)(line_width 1))
)
)
(symbol
(rect 272 0 304 32)
(text "GND" (rect 3 6 24 16)(font "Arial" (font_size 6)))
(text "inst3" (rect 6 -1 29 11)(font "Arial" )(invisible))
(port
(pt 16 32)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 9 20 14 32)(font "Courier New" (bold))(invisible))
(line (pt 16 24)(pt 16 32)(line_width 1))
)
(drawing
(line (pt 24 24)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 8 24)(line_width 1))
(line (pt 24 24)(pt 8 24)(line_width 1))
)
(rotate180)
)
(symbol
(rect 200 656 304 848)
(text "74377" (rect 34 1 75 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 3 181 21 191)(font "Arial" (font_size 6)))
(port
(pt 0 152)
(input)
(text "D8" (rect 21 147 36 161)(font "Arial" (font_size 8)))
(text "D8" (rect 21 147 36 161)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 16 152)(line_width 1))
)
(port
(pt 0 136)
(input)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -