📄 cpld
字号:
/*
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 112 648 280 664)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "clk" (rect 58 1 73 15)(font "Arial" (font_size 8)))
(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 288 328 456 344)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "key" (rect 54 1 74 15)(font "Arial" (font_size 8)))
(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 768 504 944 520)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "kout" (rect 90 0 113 14)(font "Arial" (font_size 8)))
(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 600 488 664 568)
(text "DFF" (rect 1 -1 19 9)(font "Arial" (font_size 6)))
(text "1" (rect 1 70 5 80)(font "Arial" (font_size 6)))
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 59 44 71)(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 13 41 25)(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 616 368 648 384)
(text "VCC" (rect 7 -1 27 9)(font "Arial" (font_size 6)))
(text "2" (rect 1 6 5 16)(font "Arial" (font_size 6)))
(port
(pt 16 16)
(output)
(text "1" (rect 24 7 29 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 24 7 29 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 392 504 544 568)
(text "DIVISION4" (rect 33 -1 117 15)(font "Courier New" (font_size 10)(bold)))
(text "9" (rect 0 55 5 67)(font "Courier New" (bold)))
(port
(pt 0 24)
(input)
(text "lin[3..0]" (rect 20 20 73 32)(font "Courier New" (bold)))
(text "lin[3..0]" (rect 20 20 73 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 16 24)(line_width 3))
)
(port
(pt 0 40)
(input)
(text "clock" (rect 20 36 49 48)(font "Courier New" (bold)))
(text "clock" (rect 20 36 49 48)(font "Courier New" (bold)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 152 24)
(output)
(text "lout" (rect 114 20 137 32)(font "Courier New" (bold)))
(text "lout" (rect 114 20 137 32)(font "Courier New" (bold)))
(line (pt 136 24)(pt 152 24)(line_width 1))
)
(drawing
(line (pt 16 48)(pt 136 48)(line_width 1))
(line (pt 16 16)(pt 136 16)(line_width 1))
(line (pt 16 48)(pt 16 16)(line_width 1))
(line (pt 136 48)(pt 136 16)(line_width 1))
)
)
(symbol
(rect 160 504 224 552)
(text "result" (rect 16 1 53 17)(font "Arial" (font_size 10)))
(text "10" (rect 0 39 11 51)(font "Courier New" (bold)))
(port
(pt 64 24)
(output)
(text "result[3..0]" (rect 61 10 121 24)(font "Arial" (font_size 8))(invisible))
(text "result[3..0]" (rect 61 10 121 24)(font "Arial" (font_size 8))(invisible))
(line (pt 48 24)(pt 64 24)(line_width 3))
)
(drawing
(text "10" (rect 38 18 49 30)(font "Arial" ))
(text "4" (rect 55 25 60 37)(font "Arial" ))
(line (pt 16 16)(pt 48 16)(line_width 1))
(line (pt 16 32)(pt 48 32)(line_width 1))
(line (pt 48 32)(pt 48 16)(line_width 1))
(line (pt 16 32)(pt 16 16)(line_width 1))
(line (pt 50 28)(pt 58 20)(line_width 1))
)
)
(connector
(pt 368 544)
(pt 392 544)
)
(connector
(pt 224 528)
(pt 392 528)
(bus)
)
(connector
(pt 280 656)
(pt 368 656)
)
(connector
(pt 544 528)
(pt 600 528)
)
(connector
(pt 632 624)
(pt 720 624)
)
(connector
(pt 632 432)
(pt 720 432)
)
(connector
(pt 664 512)
(pt 768 512)
)
(connector
(pt 456 336)
(pt 568 336)
)
(connector
(pt 568 512)
(pt 600 512)
)
(connector
(pt 368 656)
(pt 368 544)
)
(connector
(pt 632 624)
(pt 632 568)
)
(connector
(pt 720 624)
(pt 720 432)
)
(connector
(pt 632 488)
(pt 632 432)
)
(connector
(pt 632 432)
(pt 632 384)
)
(connector
(pt 568 512)
(pt 568 336)
)
(connector
(pt 448 336)
(pt 456 336)
)
(junction (pt 632 432))
(junction (pt 456 336))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -