📄 rs.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 -144 112 24 128)
(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)))
(annotation_block (location)(rect -232 128 -144 160))
)
(pin
(input)
(rect -144 24 24 40)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 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 -232 40 -144 72))
)
(pin
(output)
(rect 1176 112 1352 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "bitout" (rect 90 0 117 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 1352 96 1440 128))
)
(pin
(output)
(rect 1176 128 1352 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "bitoutstart" (rect 90 0 139 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 1352 128 1440 160))
)
(pin
(output)
(rect 1176 144 1352 160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "errfound" (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 1352 160 1440 192))
)
(pin
(output)
(rect 1176 160 1352 176)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "fail" (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 1352 192 1440 224))
)
(pin
(output)
(rect 264 384 440 400)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "bitin" (rect 90 0 110 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 440 400 528 432))
)
(pin
(output)
(rect 264 400 440 416)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "bitinstart" (rect 90 0 132 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 440 432 528 464))
)
(pin
(output)
(rect 704 424 880 440)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "error" (rect 90 0 112 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 744 464 792 480))
)
(pin
(output)
(rect 952 448 1128 464)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "adderror" (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 752 496 800 512))
)
(pin
(output)
(rect 576 488 752 504)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "be_adderror" (rect 90 0 147 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 744 504 792 520))
)
(symbol
(rect 280 168 472 360)
(text "RSEncoder" (rect 5 0 60 12)(font "Arial" ))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk19_5" (rect 0 0 37 12)(font "Arial" ))
(text "clk19_5" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk31_5" (rect 0 0 37 12)(font "Arial" ))
(text "clk31_5" (rect 21 43 58 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 59 45 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 75 43 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "bitin" (rect 0 0 20 12)(font "Arial" ))
(text "bitin" (rect 21 91 41 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "bitinstart" (rect 0 0 42 12)(font "Arial" ))
(text "bitinstart" (rect 21 107 63 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 192 32)
(output)
(text "bitout" (rect 0 0 27 12)(font "Arial" ))
(text "bitout" (rect 144 27 171 39)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 1))
)
(port
(pt 192 48)
(output)
(text "bitoutstart" (rect 0 0 49 12)(font "Arial" ))
(text "bitoutstart" (rect 122 43 171 55)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 1))
)
(port
(pt 192 64)
(output)
(text "wordstart1" (rect 0 0 50 12)(font "Arial" ))
(text "wordstart1" (rect 121 59 171 71)(font "Arial" ))
(line (pt 192 64)(pt 176 64)(line_width 1))
)
(port
(pt 192 80)
(output)
(text "wordstart2" (rect 0 0 50 12)(font "Arial" ))
(text "wordstart2" (rect 121 75 171 87)(font "Arial" ))
(line (pt 192 80)(pt 176 80)(line_width 1))
)
(port
(pt 192 96)
(output)
(text "encodein[4..0]" (rect 0 0 69 12)(font "Arial" ))
(text "encodein[4..0]" (rect 102 91 171 103)(font "Arial" ))
(line (pt 192 96)(pt 176 96)(line_width 3))
)
(port
(pt 192 112)
(output)
(text "invencodeout[4..0]" (rect 0 0 92 12)(font "Arial" ))
(text "invencodeout[4..0]" (rect 79 107 171 119)(font "Arial" ))
(line (pt 192 112)(pt 176 112)(line_width 3))
)
(port
(pt 192 128)
(output)
(text "ramout[4..0]" (rect 0 0 60 12)(font "Arial" ))
(text "ramout[4..0]" (rect 111 123 171 135)(font "Arial" ))
(line (pt 192 128)(pt 176 128)(line_width 3))
)
(port
(pt 192 144)
(output)
(text "rdaddress[4..0]" (rect 0 0 74 12)(font "Arial" ))
(text "rdaddress[4..0]" (rect 97 139 171 151)(font "Arial" ))
(line (pt 192 144)(pt 176 144)(line_width 3))
)
(port
(pt 192 160)
(output)
(text "wraddress[4..0]" (rect 0 0 75 12)(font "Arial" ))
(text "wraddress[4..0]" (rect 96 155 171 167)(font "Arial" ))
(line (pt 192 160)(pt 176 160)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 176)(line_width 1))
)
)
(symbol
(rect 944 88 1152 408)
(text "RSDecoder" (rect 5 0 61 12)(font "Arial" ))
(text "inst1" (rect 8 304 31 316)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk19_5" (rect 0 0 37 12)(font "Arial" ))
(text "clk19_5" (rect 21 27 58 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk31_5" (rect 0 0 37 12)(font "Arial" ))
(text "clk31_5" (rect 21 43 58 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "clk57_5" (rect 0 0 37 12)(font "Arial" ))
(text "clk57_5" (rect 21 59 58 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 75 45 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 91 43 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "decodebitin" (rect 0 0 55 12)(font "Arial" ))
(text "decodebitin" (rect 21 107 76 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "bitinstart" (rect 0 0 42 12)(font "Arial" ))
(text "bitinstart" (rect 21 123 63 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 208 32)
(output)
(text "decodeoutbit" (rect 0 0 62 12)(font "Arial" ))
(text "decodeoutbit" (rect 125 27 187 39)(font "Arial" ))
(line (pt 208 32)(pt 192 32)(line_width 1))
)
(port
(pt 208 48)
(output)
(text "decodeoutbitstart" (rect 0 0 84 12)(font "Arial" ))
(text "decodeoutbitstart" (rect 103 43 187 55)(font "Arial" ))
(line (pt 208 48)(pt 192 48)(line_width 1))
)
(port
(pt 208 64)
(output)
(text "errfound" (rect 0 0 41 12)(font "Arial" ))
(text "errfound" (rect 146 59 187 71)(font "Arial" ))
(line (pt 208 64)(pt 192 64)(line_width 1))
)
(port
(pt 208 80)
(output)
(text "decode_fail" (rect 0 0 56 12)(font "Arial" ))
(text "decode_fail" (rect 131 75 187 87)(font "Arial" ))
(line (pt 208 80)(pt 192 80)(line_width 1))
)
(port
(pt 208 96)
(output)
(text "decodein[4..0]" (rect 0 0 69 12)(font "Arial" ))
(text "decodein[4..0]" (rect 118 91 187 103)(font "Arial" ))
(line (pt 208 96)(pt 192 96)(line_width 3))
)
(port
(pt 208 112)
(output)
(text "ram1out[4..0]" (rect 0 0 66 12)(font "Arial" ))
(text "ram1out[4..0]" (rect 121 107 187 119)(font "Arial" ))
(line (pt 208 112)(pt 192 112)(line_width 3))
)
(port
(pt 208 128)
(output)
(text "decodedataout[4..0]" (rect 0 0 97 12)(font "Arial" ))
(text "decodedataout[4..0]" (rect 90 123 187 135)(font "Arial" ))
(line (pt 208 128)(pt 192 128)(line_width 3))
)
(port
(pt 208 144)
(output)
(text "decodeout[4..0]" (rect 0 0 76 12)(font "Arial" ))
(text "decodeout[4..0]" (rect 111 139 187 151)(font "Arial" ))
(line (pt 208 144)(pt 192 144)(line_width 3))
)
(port
(pt 208 160)
(output)
(text "wraddress1[4..0]" (rect 0 0 81 12)(font "Arial" ))
(text "wraddress1[4..0]" (rect 106 155 187 167)(font "Arial" ))
(line (pt 208 160)(pt 192 160)(line_width 3))
)
(port
(pt 208 176)
(output)
(text "rdaddress1[4..0]" (rect 0 0 80 12)(font "Arial" ))
(text "rdaddress1[4..0]" (rect 107 171 187 183)(font "Arial" ))
(line (pt 208 176)(pt 192 176)(line_width 3))
)
(port
(pt 208 192)
(output)
(text "wraddress2[4..0]" (rect 0 0 81 12)(font "Arial" ))
(text "wraddress2[4..0]" (rect 106 187 187 199)(font "Arial" ))
(line (pt 208 192)(pt 192 192)(line_width 3))
)
(port
(pt 208 208)
(output)
(text "rdaddress2[4..0]" (rect 0 0 80 12)(font "Arial" ))
(text "rdaddress2[4..0]" (rect 107 203 187 215)(font "Arial" ))
(line (pt 208 208)(pt 192 208)(line_width 3))
)
(port
(pt 208 224)
(output)
(text "decodeinstart" (rect 0 0 66 12)(font "Arial" ))
(text "decodeinstart" (rect 121 219 187 231)(font "Arial" ))
(line (pt 208 224)(pt 192 224)(line_width 1))
)
(port
(pt 208 240)
(output)
(text "ram1outstart" (rect 0 0 62 12)(font "Arial" ))
(text "ram1outstart" (rect 125 235 187 247)(font "Arial" ))
(line (pt 208 240)(pt 192 240)(line_width 1))
)
(port
(pt 208 256)
(output)
(text "dataoutstart" (rect 0 0 59 12)(font "Arial" ))
(text "dataoutstart" (rect 128 251 187 263)(font "Arial" ))
(line (pt 208 256)(pt 192 256)(line_width 1))
)
(port
(pt 208 272)
(output)
(text "decodeoutstart" (rect 0 0 73 12)(font "Arial" ))
(text "decodeoutstart" (rect 114 267 187 279)(font "Arial" ))
(line (pt 208 272)(pt 192 272)(line_width 1))
)
(drawing
(rectangle (rect 16 16 192 304)(line_width 1))
)
)
(symbol
(rect 88 232 208 328)
(text "nrz" (rect 5 0 19 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "start" (rect 0 0 22 12)(font "Arial" ))
(text "start" (rect 21 59 43 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 120 32)
(output)
(text "out" (rect 0 0 15 12)(font "Arial" ))
(text "out" (rect 84 27 99 39)(font "Arial" ))
(line (pt 120 32)(pt 104 32)(line_width 1))
)
(port
(pt 120 48)
(output)
(text "datastart" (rect 0 0 43 12)(font "Arial" ))
(text "datastart" (rect 56 43 99 55)(font "Arial" ))
(line (pt 120 48)(pt 104 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 104 80)(line_width 1))
)
)
(symbol
(rect 104 88 200 184)
(text "Clock" (rect 5 0 33 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -