📄 z3.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 72 360 240 376)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "cpz" (rect 5 0 21 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 56 448 144 480))
)
(pin
(input)
(rect 72 376 240 392)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ke1" (rect 5 0 22 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 56 480 144 512))
)
(pin
(input)
(rect 72 392 240 408)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ke2" (rect 5 0 22 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 528 200 560))
)
(pin
(output)
(rect 80 472 256 488)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "sin[9..0]" (rect 90 0 130 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 320 888 408 1048))
)
(pin
(output)
(rect 80 456 256 472)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "cos[9..0]" (rect 90 0 133 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 328 680 416 840))
)
(pin
(output)
(rect 80 488 256 504)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "mode1" (rect 90 0 123 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 304 1000 384 1032))
)
(pin
(output)
(rect 80 536 256 552)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "mode2" (rect 90 0 123 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 304 1048 384 1080))
)
(pin
(output)
(rect 80 552 256 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "daclk" (rect 90 0 115 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 304 1104 392 1136))
)
(pin
(output)
(rect 80 568 256 584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "seg[6..0]" (rect 90 0 133 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 320 640 408 752))
)
(pin
(output)
(rect 80 584 256 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "dig[7..0]" (rect 90 0 130 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 320 656 408 784))
)
(symbol
(rect 88 16 184 112)
(text "mo48" (rect 5 0 35 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "cp" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "cp" (rect 21 27 35 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "qh2" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "qh2" (rect 54 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 856 16 1016 96)
(text "sin_rom" (rect 57 1 111 17)(font "Arial" (font_size 10)))
(text "inst4" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[11..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
(text "address[11..0]" (rect 20 26 102 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 40)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 111 34 146 48)(font "Arial" (font_size 8)))
(line (pt 160 40)(pt 144 40)(line_width 3))
)
(drawing
(line (pt 16 16)(pt 144 16)(line_width 1))
(line (pt 144 16)(pt 144 64)(line_width 1))
(line (pt 144 64)(pt 16 64)(line_width 1))
(line (pt 16 64)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 672 208 832 288)
(text "cos_rom" (rect 55 1 114 17)(font "Arial" (font_size 10)))
(text "inst5" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[11..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
(text "address[11..0]" (rect 20 26 102 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 40)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 111 34 146 48)(font "Arial" (font_size 8)))
(line (pt 160 40)(pt 144 40)(line_width 3))
)
(drawing
(line (pt 16 16)(pt 144 16)(line_width 1))
(line (pt 144 16)(pt 144 64)(line_width 1))
(line (pt 144 64)(pt 16 64)(line_width 1))
(line (pt 16 64)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 416 496 448 528)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst20" (rect 3 21 32 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 408 208 552 304)
(text "adderpp" (rect 5 0 52 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "P[3..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "P[3..0]" (rect 21 27 56 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "Q[11..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "Q[11..0]" (rect 21 43 65 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 144 32)
(output)
(text "S[11..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "S[11..0]" (rect 80 27 123 41)(font "Arial" (font_size 8)))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
)
(symbol
(rect 304 16 400 144)
(text "fenpin" (rect 5 0 40 14)(font "Arial" (font_size 8)))
(text "inst2" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "rco" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "rco" (rect 21 27 39 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "1hz" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "1hz" (rect 54 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "1khz" (rect 0 0 27 14)(font "Arial" (font_size 8)))
(text "1khz" (rect 48 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "2khz" (rect 0 0 27 14)(font "Arial" (font_size 8)))
(text "2khz" (rect 48 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "2hz" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "2hz" (rect 54 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 112)(line_width 1))
)
)
(symbol
(rect 80 176 208 336)
(text "leijiaqi2" (rect 5 0 45 14)(font "Arial" (font_size 8)))
(text "inst6" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "1mhz" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "1mhz" (rect 21 27 51 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "f0" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "f0" (rect 21 43 32 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "f1" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "f1" (rect 21 59 32 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "f2" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "f2" (rect 21 75 32 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "f3" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "f3" (rect 21 91 32 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "clr" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "clr" (rect 21 107 35 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "q[11..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[11..0]" (rect 65 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(port
(pt 128 48)
(output)
(text "co3" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "co3" (rect 86 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 144)(line_width 1))
)
)
(symbol
(rect 512 16 624 112)
(text "binarykpzi" (rect 5 0 62 14)(font "Arial" (font_size 8)))
(text "inst8" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ke1" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "ke1" (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 "ke2" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "ke2" (rect 21 43 41 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "1Hz" (rect 0 0 22 14)(font "Arial" (font_size 8)))
(text "1Hz" (rect 21 59 43 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "f[3..0]" (rect 0 0 33 14)(font "Arial" (font_size 8)))
(text "f[3..0]" (rect 58 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "p[3..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "p[3..0]" (rect 56 43 91 57)(font "Arial" (font_size 8)))
(line (pt 112 48)(pt 96 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 96 80)(line_width 1))
)
)
(symbol
(rect 768 312 888 440)
(text "kpzi" (rect 5 0 27 14)(font "Arial" (font_size 8)))
(text "inst9" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ke1" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "ke1" (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 "ke2" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "ke2" (rect 21 43 41 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "1Hz" (rect 0 0 22 14)(font "Arial" (font_size 8)))
(text "1Hz" (rect 21 59 43 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 120 32)
(output)
(text "mg[3..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "mg[3..0]" (rect 55 27 99 41)(font "Arial" (font_size 8)))
(line (pt 120 32)(pt 104 32)(line_width 3))
)
(port
(pt 120 48)
(output)
(text "ms[3..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "ms[3..0]" (rect 55 43 99 57)(font "Arial" (font_size 8)))
(line (pt 120 48)(pt 104 48)(line_width 3))
)
(port
(pt 120 64)
(output)
(text "fg[3..0]" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "fg[3..0]" (rect 59 59 99 73)(font "Arial" (font_size 8)))
(line (pt 120 64)(pt 104 64)(line_width 3))
)
(port
(pt 120 80)
(output)
(text "fs[3..0]" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "fs[3..0]" (rect 59 75 99 89)(font "Arial" (font_size 8)))
(line (pt 120 80)(pt 104 80)(line_width 3))
)
(drawing
(rectangle (rect 16 16 104 112)(line_width 1))
)
)
(symbol
(rect 1000 296 1112 584)
(text "xianshi" (rect 5 0 45 14)(font "Arial" (font_size 8)))
(text "inst10" (rect 8 272 37 284)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "1khz" (rect 0 0 27 14)(font "Arial" (font_size 8)))
(text "1khz" (rect 21 27 48 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "mg[3..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "mg[3..0]" (rect 21 43 65 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "ms[3..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "ms[3..0]" (rect 21 59 65 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "fg[3..0]" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "fg[3..0]" (rect 21 75 61 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "fs[3..0]" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "fs[3..0]" (rect 21 91 61 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -