完成移位寄存器控制引脚和符号

This commit is contained in:
wzhqwq 2022-03-09 09:59:15 +08:00
父節點 de9577eb9d
當前提交 0402023dee
共有 2 個檔案被更改,包括 370 行新增69 行删除

查看文件

@ -148,6 +148,86 @@ applicable agreement for further details.
) )
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
) )
(pin
(input)
(rect 48 1248 216 1264)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "LM" (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 48 1280 216 1296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "DM" (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)))
)
(pin
(input)
(rect 48 1312 216 1328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RM" (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)))
)
(pin
(input)
(rect 48 1344 216 1360)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CK" (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)))
)
(pin
(input)
(rect 48 1376 216 1392)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 5 0 27 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 (pin
(output) (output)
(rect 1216 584 1392 600) (rect 1216 584 1392 600)
@ -1846,14 +1926,6 @@ applicable agreement for further details.
(pt 648 800) (pt 648 800)
(pt 784 800) (pt 784 800)
) )
(connector
(pt 912 800)
(pt 928 800)
)
(connector
(pt 928 800)
(pt 976 800)
)
(connector (connector
(pt 696 608) (pt 696 608)
(pt 848 608) (pt 848 608)
@ -1890,34 +1962,6 @@ applicable agreement for further details.
(pt 896 752) (pt 896 752)
(pt 976 752) (pt 976 752)
) )
(connector
(pt 800 816)
(pt 928 816)
)
(connector
(pt 928 816)
(pt 976 816)
)
(connector
(pt 928 784)
(pt 928 800)
)
(connector
(pt 768 848)
(pt 928 848)
)
(connector
(pt 928 848)
(pt 976 848)
)
(connector
(pt 928 800)
(pt 928 816)
)
(connector
(pt 928 816)
(pt 928 848)
)
(connector (connector
(pt 680 896) (pt 680 896)
(pt 752 896) (pt 752 896)
@ -1986,14 +2030,6 @@ applicable agreement for further details.
(pt 536 984) (pt 536 984)
(pt 536 1080) (pt 536 1080)
) )
(connector
(pt 536 1080)
(pt 536 1176)
)
(connector
(pt 1104 592)
(pt 1216 592)
)
(connector (connector
(pt 1072 608) (pt 1072 608)
(pt 1104 608) (pt 1104 608)
@ -2030,10 +2066,6 @@ applicable agreement for further details.
(pt 784 800) (pt 784 800)
(pt 912 800) (pt 912 800)
) )
(connector
(pt 552 1032)
(pt 552 1128)
)
(connector (connector
(pt 456 432) (pt 456 432)
(pt 440 432) (pt 440 432)
@ -2238,14 +2270,6 @@ applicable agreement for further details.
(pt 456 736) (pt 456 736)
(pt 296 736) (pt 296 736)
) )
(connector
(pt 1072 592)
(pt 1088 592)
)
(connector
(pt 1088 592)
(pt 1104 592)
)
(connector (connector
(pt 1072 624) (pt 1072 624)
(pt 1120 624) (pt 1120 624)
@ -2286,14 +2310,6 @@ applicable agreement for further details.
(pt 1184 688) (pt 1184 688)
(pt 1216 688) (pt 1216 688)
) )
(connector
(pt 1104 384)
(pt 1104 592)
)
(connector
(pt 1104 592)
(pt 1104 608)
)
(connector (connector
(pt 1072 704) (pt 1072 704)
(pt 1200 704) (pt 1200 704)
@ -2334,20 +2350,124 @@ applicable agreement for further details.
(pt 376 1096) (pt 376 1096)
(pt 216 1096) (pt 216 1096)
) )
(junction (pt 1104 592)) (connector
(pt 352 1256)
(pt 352 1240)
)
(connector
(pt 368 1320)
(pt 368 1240)
)
(connector
(pt 848 1256)
(pt 848 976)
)
(connector
(pt 216 1256)
(pt 352 1256)
)
(connector
(pt 352 1256)
(pt 848 1256)
)
(connector
(pt 848 976)
(pt 976 976)
)
(connector
(pt 216 1288)
(pt 864 1288)
)
(connector
(pt 864 1288)
(pt 864 992)
)
(connector
(pt 864 992)
(pt 976 992)
)
(connector
(pt 880 1320)
(pt 880 1008)
)
(connector
(pt 216 1320)
(pt 368 1320)
)
(connector
(pt 368 1320)
(pt 880 1320)
)
(connector
(pt 880 1008)
(pt 976 1008)
)
(connector
(pt 216 1352)
(pt 552 1352)
)
(connector
(pt 552 1032)
(pt 552 1128)
)
(connector
(pt 552 1128)
(pt 552 1352)
)
(connector
(pt 216 1384)
(pt 536 1384)
)
(connector
(pt 536 1080)
(pt 536 1176)
)
(connector
(pt 536 1176)
(pt 536 1384)
)
(connector
(pt 1104 384)
(pt 1104 608)
)
(connector
(pt 1072 592)
(pt 1088 592)
)
(connector
(pt 1088 592)
(pt 1216 592)
)
(connector
(pt 912 800)
(pt 976 800)
)
(connector
(pt 800 816)
(pt 976 816)
)
(connector
(pt 928 784)
(pt 928 848)
)
(connector
(pt 768 848)
(pt 928 848)
)
(connector
(pt 928 848)
(pt 976 848)
)
(junction (pt 832 656)) (junction (pt 832 656))
(junction (pt 816 704)) (junction (pt 816 704))
(junction (pt 800 752)) (junction (pt 800 752))
(junction (pt 784 800)) (junction (pt 784 800))
(junction (pt 912 800)) (junction (pt 912 800))
(junction (pt 928 800))
(junction (pt 768 848)) (junction (pt 768 848))
(junction (pt 848 608)) (junction (pt 848 608))
(junction (pt 864 656)) (junction (pt 864 656))
(junction (pt 880 704)) (junction (pt 880 704))
(junction (pt 896 752)) (junction (pt 896 752))
(junction (pt 928 816))
(junction (pt 928 848))
(junction (pt 752 896)) (junction (pt 752 896))
(junction (pt 944 896)) (junction (pt 944 896))
(junction (pt 960 944)) (junction (pt 960 944))
@ -2363,7 +2483,6 @@ applicable agreement for further details.
(junction (pt 536 888)) (junction (pt 536 888))
(junction (pt 536 984)) (junction (pt 536 984))
(junction (pt 536 1080)) (junction (pt 536 1080))
(junction (pt 1088 592))
(junction (pt 1104 608)) (junction (pt 1104 608))
(junction (pt 1120 624)) (junction (pt 1120 624))
(junction (pt 1136 640)) (junction (pt 1136 640))
@ -2379,3 +2498,9 @@ applicable agreement for further details.
(junction (pt 360 920)) (junction (pt 360 920))
(junction (pt 360 1016)) (junction (pt 360 1016))
(junction (pt 360 1112)) (junction (pt 360 1112))
(junction (pt 352 1256))
(junction (pt 368 1320))
(junction (pt 552 1128))
(junction (pt 536 1176))
(junction (pt 1088 592))
(junction (pt 928 848))

查看文件

@ -0,0 +1,176 @@
/*
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-2009 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.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 64 64 264 224)
(text "shiftable_register" (rect 5 0 104 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(port
(pt 32 160)
(input)
(text "D7" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D7" (rect 24 121 38 136)(font "Arial" (font_size 8))(vertical))
(line (pt 32 160)(pt 32 144)(line_width 1))
)
(port
(pt 48 160)
(input)
(text "D6" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D6" (rect 40 121 54 136)(font "Arial" (font_size 8))(vertical))
(line (pt 48 160)(pt 48 144)(line_width 1))
)
(port
(pt 64 160)
(input)
(text "D5" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D5" (rect 56 121 70 136)(font "Arial" (font_size 8))(vertical))
(line (pt 64 160)(pt 64 144)(line_width 1))
)
(port
(pt 80 160)
(input)
(text "D4" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D4" (rect 72 121 86 136)(font "Arial" (font_size 8))(vertical))
(line (pt 80 160)(pt 80 144)(line_width 1))
)
(port
(pt 96 160)
(input)
(text "D3" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D3" (rect 88 121 102 136)(font "Arial" (font_size 8))(vertical))
(line (pt 96 160)(pt 96 144)(line_width 1))
)
(port
(pt 112 160)
(input)
(text "D2" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D2" (rect 104 121 118 136)(font "Arial" (font_size 8))(vertical))
(line (pt 112 160)(pt 112 144)(line_width 1))
)
(port
(pt 128 160)
(input)
(text "D1" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D1" (rect 120 121 134 136)(font "Arial" (font_size 8))(vertical))
(line (pt 128 160)(pt 128 144)(line_width 1))
)
(port
(pt 144 160)
(input)
(text "D0" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D0" (rect 136 121 150 136)(font "Arial" (font_size 8))(vertical))
(line (pt 144 160)(pt 144 144)(line_width 1))
)
(port
(pt 200 48)
(input)
(text "LM" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
(text "LM" (rect 160 40 176 54)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 1))
)
(port
(pt 200 64)
(input)
(text "DM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
(text "DM" (rect 159 56 176 70)(font "Arial" (font_size 8)))
(line (pt 184 64)(pt 200 64)(line_width 1))
)
(port
(pt 200 80)
(input)
(text "RM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
(text "RM" (rect 159 72 176 86)(font "Arial" (font_size 8)))
(line (pt 200 80)(pt 184 80)(line_width 1))
)
(port
(pt 200 96)
(input)
(text "CK" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
(text "CK" (rect 160 88 176 102)(font "Arial" (font_size 8)))
(line (pt 184 96)(pt 200 96)(line_width 1))
)
(port
(pt 200 112)
(input)
(text "CLR" (rect -120 0 -97 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 153 104 176 118)(font "Arial" (font_size 8)))
(line (pt 184 112)(pt 200 112)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "Y7" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 24 24 38 40)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "Y6" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "Y5" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 80 0)
(output)
(text "Y4" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical))
(line (pt 80 0)(pt 80 16)(line_width 1))
)
(port
(pt 96 0)
(output)
(text "Y3" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical))
(line (pt 96 0)(pt 96 16)(line_width 1))
)
(port
(pt 112 0)
(output)
(text "Y2" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical))
(line (pt 112 0)(pt 112 16)(line_width 1))
)
(port
(pt 128 0)
(output)
(text "Y1" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical))
(line (pt 128 0)(pt 128 16)(line_width 1))
)
(port
(pt 144 0)
(output)
(text "Y0" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical))
(line (pt 144 0)(pt 144 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 184 144)(line_width 1))
)
)