8253down.bdf
资源名称:8253.rar [点击查看]
上传用户:xuqufe
上传日期:2022-08-10
资源大小:2378k
文件大小:17k
源码类别:
VHDL/FPGA/Verilog
开发平台:
VHDL
- /*
- 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-2007 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 from 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.
- */
- //#pragma file_not_in_maxplusii_format
- (header "graphic" (version "1.3"))
- (pin
- (input)
- (rect 0 40 168 56)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "DATAIN[7..0]" (rect 5 0 71 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 56 0 168))
- )
- (pin
- (input)
- (rect -112 56 56 72)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "GATE0" (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 -168 72 -120 88))
- )
- (pin
- (input)
- (rect 32 120 200 136)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "CS" (rect 5 0 20 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 -24 136 32 152))
- )
- (pin
- (input)
- (rect 32 136 200 152)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "RE" (rect 5 0 20 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 152 32 168))
- )
- (pin
- (input)
- (rect 32 152 200 168)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "WR" (rect 5 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)))
- (annotation_block (location)(rect -16 168 32 184))
- )
- (pin
- (input)
- (rect 32 168 200 184)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "A1" (rect 5 0 17 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 184 32 200))
- )
- (pin
- (input)
- (rect 32 184 200 200)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "A0" (rect 5 0 17 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 200 32 216))
- )
- (pin
- (input)
- (rect -40 232 128 248)
- (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
- (text "clk0" (rect 5 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 248 -48 264))
- )
- (pin
- (output)
- (rect 216 320 392 336)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "HEX0[6..0]" (rect 90 0 143 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 392 336 448 440))
- )
- (pin
- (output)
- (rect 216 416 392 432)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "HEX1[6..0]" (rect 90 0 143 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 392 432 456 536))
- )
- (pin
- (output)
- (rect 440 40 616 56)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "DATAOUT[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))
- )
- )
- (pin
- (output)
- (rect 552 96 728 112)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "CLK" (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))
- )
- )
- (pin
- (output)
- (rect 560 152 736 168)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "cntout[15..0]" (rect 90 0 152 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
- (output)
- (rect 592 280 768 296)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "HEX2[6..0]" (rect 90 0 143 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 768 296 824 400))
- )
- (pin
- (output)
- (rect 592 376 768 392)
- (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
- (text "HEX3[6..0]" (rect 90 0 143 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 768 392 832 496))
- )
- (symbol
- (rect 208 16 376 272)
- (text "I8253f" (rect 5 0 36 12)(font "Arial" ))
- (text "inst" (rect 8 240 25 252)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "datain[7..0]" (rect 0 0 55 12)(font "Arial" ))
- (text "datain[7..0]" (rect 21 27 76 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 0 48)
- (input)
- (text "gate0" (rect 0 0 27 12)(font "Arial" ))
- (text "gate0" (rect 21 43 48 55)(font "Arial" ))
- (line (pt 0 48)(pt 16 48)(line_width 1))
- )
- (port
- (pt 0 64)
- (input)
- (text "gate1" (rect 0 0 27 12)(font "Arial" ))
- (text "gate1" (rect 21 59 48 71)(font "Arial" ))
- (line (pt 0 64)(pt 16 64)(line_width 1))
- )
- (port
- (pt 0 80)
- (input)
- (text "gate2" (rect 0 0 27 12)(font "Arial" ))
- (text "gate2" (rect 21 75 48 87)(font "Arial" ))
- (line (pt 0 80)(pt 16 80)(line_width 1))
- )
- (port
- (pt 0 96)
- (input)
- (text "reset" (rect 0 0 24 12)(font "Arial" ))
- (text "reset" (rect 21 91 45 103)(font "Arial" ))
- (line (pt 0 96)(pt 16 96)(line_width 1))
- )
- (port
- (pt 0 112)
- (input)
- (text "CS" (rect 0 0 15 12)(font "Arial" ))
- (text "CS" (rect 21 107 36 119)(font "Arial" ))
- (line (pt 0 112)(pt 16 112)(line_width 1))
- )
- (port
- (pt 0 128)
- (input)
- (text "RD" (rect 0 0 16 12)(font "Arial" ))
- (text "RD" (rect 21 123 37 135)(font "Arial" ))
- (line (pt 0 128)(pt 16 128)(line_width 1))
- )
- (port
- (pt 0 144)
- (input)
- (text "WR" (rect 0 0 18 12)(font "Arial" ))
- (text "WR" (rect 21 139 39 151)(font "Arial" ))
- (line (pt 0 144)(pt 16 144)(line_width 1))
- )
- (port
- (pt 0 160)
- (input)
- (text "A1" (rect 0 0 12 12)(font "Arial" ))
- (text "A1" (rect 21 155 33 167)(font "Arial" ))
- (line (pt 0 160)(pt 16 160)(line_width 1))
- )
- (port
- (pt 0 176)
- (input)
- (text "A0" (rect 0 0 12 12)(font "Arial" ))
- (text "A0" (rect 21 171 33 183)(font "Arial" ))
- (line (pt 0 176)(pt 16 176)(line_width 1))
- )
- (port
- (pt 0 192)
- (input)
- (text "clk0" (rect 0 0 20 12)(font "Arial" ))
- (text "clk0" (rect 21 187 41 199)(font "Arial" ))
- (line (pt 0 192)(pt 16 192)(line_width 1))
- )
- (port
- (pt 0 208)
- (input)
- (text "clk1" (rect 0 0 20 12)(font "Arial" ))
- (text "clk1" (rect 21 203 41 215)(font "Arial" ))
- (line (pt 0 208)(pt 16 208)(line_width 1))
- )
- (port
- (pt 0 224)
- (input)
- (text "clk2" (rect 0 0 20 12)(font "Arial" ))
- (text "clk2" (rect 21 219 41 231)(font "Arial" ))
- (line (pt 0 224)(pt 16 224)(line_width 1))
- )
- (port
- (pt 168 32)
- (output)
- (text "dataout[7..0]" (rect 0 0 62 12)(font "Arial" ))
- (text "dataout[7..0]" (rect 85 27 147 39)(font "Arial" ))
- (line (pt 168 32)(pt 152 32)(line_width 3))
- )
- (port
- (pt 168 48)
- (output)
- (text "clk_out[2..0]" (rect 0 0 61 12)(font "Arial" ))
- (text "clk_out[2..0]" (rect 86 43 147 55)(font "Arial" ))
- (line (pt 168 48)(pt 152 48)(line_width 3))
- )
- (port
- (pt 168 64)
- (output)
- (text "cnt0[15..0]" (rect 0 0 53 12)(font "Arial" ))
- (text "cnt0[15..0]" (rect 94 59 147 71)(font "Arial" ))
- (line (pt 168 64)(pt 152 64)(line_width 3))
- )
- (port
- (pt 168 80)
- (output)
- (text "en" (rect 0 0 11 12)(font "Arial" ))
- (text "en" (rect 136 75 147 87)(font "Arial" ))
- (line (pt 168 80)(pt 152 80)(line_width 1))
- )
- (drawing
- (rectangle (rect 16 16 152 240)(line_width 1))
- )
- )
- (symbol
- (rect -8 128 24 160)
- (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
- (text "inst1" (rect 3 21 26 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 80 296 208 392)
- (text "segout" (rect 5 0 38 12)(font "Arial" ))
- (text "inst10" (rect 8 80 37 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "in[3..0]" (rect 0 0 34 12)(font "Arial" ))
- (text "in[3..0]" (rect 21 27 55 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 128 32)
- (output)
- (text "out[6..0]" (rect 0 0 41 12)(font "Arial" ))
- (text "out[6..0]" (rect 66 27 107 39)(font "Arial" ))
- (line (pt 128 32)(pt 112 32)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 112 80)(line_width 1))
- )
- )
- (symbol
- (rect 416 256 544 352)
- (text "segout" (rect 5 0 38 12)(font "Arial" ))
- (text "inst11" (rect 8 80 37 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "in[3..0]" (rect 0 0 34 12)(font "Arial" ))
- (text "in[3..0]" (rect 21 27 55 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 128 32)
- (output)
- (text "out[6..0]" (rect 0 0 41 12)(font "Arial" ))
- (text "out[6..0]" (rect 66 27 107 39)(font "Arial" ))
- (line (pt 128 32)(pt 112 32)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 112 80)(line_width 1))
- )
- )
- (symbol
- (rect 80 392 208 488)
- (text "segout" (rect 5 0 38 12)(font "Arial" ))
- (text "inst12" (rect 8 80 37 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "in[3..0]" (rect 0 0 34 12)(font "Arial" ))
- (text "in[3..0]" (rect 21 27 55 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 128 32)
- (output)
- (text "out[6..0]" (rect 0 0 41 12)(font "Arial" ))
- (text "out[6..0]" (rect 66 27 107 39)(font "Arial" ))
- (line (pt 128 32)(pt 112 32)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 112 80)(line_width 1))
- )
- )
- (symbol
- (rect 416 352 544 448)
- (text "segout" (rect 5 0 38 12)(font "Arial" ))
- (text "inst13" (rect 8 80 37 92)(font "Arial" ))
- (port
- (pt 0 32)
- (input)
- (text "in[3..0]" (rect 0 0 34 12)(font "Arial" ))
- (text "in[3..0]" (rect 21 27 55 39)(font "Arial" ))
- (line (pt 0 32)(pt 16 32)(line_width 3))
- )
- (port
- (pt 128 32)
- (output)
- (text "out[6..0]" (rect 0 0 41 12)(font "Arial" ))
- (text "out[6..0]" (rect 66 27 107 39)(font "Arial" ))
- (line (pt 128 32)(pt 112 32)(line_width 3))
- )
- (drawing
- (rectangle (rect 16 16 112 80)(line_width 1))
- )
- )
- (connector
- (pt 208 112)
- (pt 8 112)
- )
- (connector
- (pt 8 112)
- (pt 8 128)
- )
- (connector
- (pt 208 48)
- (pt 168 48)
- (bus)
- )
- (connector
- (pt 208 128)
- (pt 200 128)
- )
- (connector
- (pt 208 144)
- (pt 200 144)
- )
- (connector
- (pt 208 160)
- (pt 200 160)
- )
- (connector
- (pt 208 176)
- (pt 200 176)
- )
- (connector
- (pt 208 192)
- (pt 200 192)
- )
- (connector
- (pt 376 48)
- (pt 440 48)
- (bus)
- )
- (connector
- (text "cnt0[15..0]" (rect 376 64 429 76)(font "Arial" ))
- (pt 376 80)
- (pt 416 80)
- (bus)
- )
- (connector
- (pt 208 328)
- (pt 216 328)
- (bus)
- )
- (connector
- (pt 208 424)
- (pt 216 424)
- (bus)
- )
- (connector
- (pt 544 288)
- (pt 592 288)
- (bus)
- )
- (connector
- (pt 544 384)
- (pt 592 384)
- (bus)
- )
- (connector
- (text "cnt0[3..0]" (rect 48 312 95 324)(font "Arial" ))
- (pt 80 328)
- (pt 48 328)
- (bus)
- )
- (connector
- (text "cnt0[7..4]" (rect 48 408 95 420)(font "Arial" ))
- (pt 80 424)
- (pt 48 424)
- (bus)
- )
- (connector
- (text "cnt0[15..12]" (rect 368 368 427 380)(font "Arial" ))
- (pt 416 384)
- (pt 368 384)
- (bus)
- )
- (connector
- (text "clkout[2..0]" (rect 386 48 441 60)(font "Arial" ))
- (pt 376 64)
- (pt 448 64)
- (bus)
- )
- (connector
- (text "clkout[0]" (rect 474 88 516 100)(font "Arial" ))
- (pt 464 104)
- (pt 552 104)
- (bus)
- )
- (connector
- (text "cnt0[15..0]" (rect 490 144 543 156)(font "Arial" ))
- (pt 560 160)
- (pt 480 160)
- (bus)
- )
- (connector
- (text "cnt0[11..8]" (rect 378 272 431 284)(font "Arial" ))
- (pt 416 288)
- (pt 368 288)
- (bus)
- )
- (connector
- (pt 208 208)
- (pt 200 208)
- )
- (connector
- (pt 56 64)
- (pt 208 64)
- )
- (connector
- (pt 200 208)
- (pt 200 240)
- )
- (connector
- (pt 128 240)
- (pt 200 240)
- )