📄 svga.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 -8 112 160 128)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "rst" (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)))
)
(pin
(input)
(rect -8 128 160 144)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 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 -8 144 160 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "key" (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)))
)
(pin
(output)
(rect 384 112 560 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "hsync" (rect 90 0 120 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 384 128 560 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "csync" (rect 90 0 120 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 384 144 563 160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SVGA_RGB[2..0]" (rect 90 0 174 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 208 88 344 216)
(text "SVGA" (rect 5 0 34 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "resetn" (rect 0 0 30 12)(font "Arial" ))
(text "resetn" (rect 21 27 51 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 43 46 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "orient" (rect 0 0 27 12)(font "Arial" ))
(text "orient" (rect 21 59 48 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 136 32)
(output)
(text "hsync" (rect 0 0 30 12)(font "Arial" ))
(text "hsync" (rect 85 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 1))
)
(port
(pt 136 48)
(output)
(text "vsync" (rect 0 0 31 12)(font "Arial" ))
(text "vsync" (rect 84 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 1))
)
(port
(pt 136 64)
(output)
(text "pixel[2..0]" (rect 0 0 48 12)(font "Arial" ))
(text "pixel[2..0]" (rect 67 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 3))
)
(port
(pt 136 80)
(output)
(text "blank" (rect 0 0 25 12)(font "Arial" ))
(text "blank" (rect 90 75 115 87)(font "Arial" ))
(line (pt 136 80)(pt 120 80)(line_width 1))
)
(parameter
"H_PIXELS"
"B\"00000000000000000000001100100110\""
""
)
(parameter
"H_FRONTPORCH"
"B\"00000000000000000000000000100101\""
""
)
(parameter
"H_SYNCTIME"
"B\"00000000000000000000000010000000\""
""
)
(parameter
"H_BACKPORCH"
"B\"00000000000000000000000001010101\""
""
)
(parameter
"H_SYNCSTART"
"B\"00000000000000000000001101001011\""
""
)
(parameter
"H_SYNCEND"
"B\"00000000000000000000001111001011\""
""
)
(parameter
"H_PERIOD"
"B\"00000000000000000000010000100000\""
""
)
(parameter
"V_LINES"
"B\"00000000000000000000001001011100\""
""
)
(parameter
"V_FRONTPORCH"
""
""
)
(parameter
"V_SYNCTIME"
"B\"00000000000000000000000000000100\""
""
)
(parameter
"V_BACKPORCH"
"B\"00000000000000000000000000010101\""
""
)
(parameter
"V_SYNCSTART"
"B\"00000000000000000000001001011011\""
""
)
(parameter
"V_SYNCEND"
"B\"00000000000000000000001001011111\""
""
)
(parameter
"V_PERIOD"
"B\"00000000000000000000001001110100\""
""
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
(annotation_block (parameter)(rect 344 -128 648 88))
)
(connector
(pt 208 120)
(pt 160 120)
)
(connector
(pt 208 136)
(pt 160 136)
)
(connector
(pt 208 152)
(pt 160 152)
)
(connector
(pt 344 120)
(pt 384 120)
)
(connector
(pt 344 136)
(pt 384 136)
)
(connector
(pt 344 152)
(pt 384 152)
(bus)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -