170 行
5.3 KiB
Plaintext
170 行
5.3 KiB
Plaintext
/*
|
|
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 232 320)
|
|
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
|
|
(text "inst" (rect 8 240 25 252)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
|
(text "CP" (rect 21 27 36 41)(font "Arial" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
|
(text "CP_EN2" (rect 21 43 65 57)(font "Arial" (font_size 8)))
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
|
(text "CP_EN1" (rect 21 59 65 73)(font "Arial" (font_size 8)))
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
|
(text "CP_EN0" (rect 21 75 65 89)(font "Arial" (font_size 8)))
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "ALU_CP_EN1" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP_EN1" (rect 21 91 97 105)(font "Arial" (font_size 8)))
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 112)
|
|
(input)
|
|
(text "ALU_CP_EN0" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP_EN0" (rect 21 107 97 121)(font "Arial" (font_size 8)))
|
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 128)
|
|
(input)
|
|
(text "ALU_CP_EN_PSW" (rect 0 0 103 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP_EN_PSW" (rect 21 123 124 137)(font "Arial" (font_size 8)))
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 32)
|
|
(output)
|
|
(text "CP_7" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_7" (rect 118 27 147 41)(font "Arial" (font_size 8)))
|
|
(line (pt 168 32)(pt 152 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 48)
|
|
(output)
|
|
(text "CP_6" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_6" (rect 118 43 147 57)(font "Arial" (font_size 8)))
|
|
(line (pt 168 48)(pt 152 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 64)
|
|
(output)
|
|
(text "CP_5" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_5" (rect 118 59 147 73)(font "Arial" (font_size 8)))
|
|
(line (pt 168 64)(pt 152 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 80)
|
|
(output)
|
|
(text "CP_4" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_4" (rect 118 75 147 89)(font "Arial" (font_size 8)))
|
|
(line (pt 168 80)(pt 152 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 96)
|
|
(output)
|
|
(text "CP_3" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_3" (rect 118 91 147 105)(font "Arial" (font_size 8)))
|
|
(line (pt 168 96)(pt 152 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 112)
|
|
(output)
|
|
(text "CP_2" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_2" (rect 118 107 147 121)(font "Arial" (font_size 8)))
|
|
(line (pt 168 112)(pt 152 112)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 128)
|
|
(output)
|
|
(text "CP_1" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_1" (rect 118 123 147 137)(font "Arial" (font_size 8)))
|
|
(line (pt 168 128)(pt 152 128)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 144)
|
|
(output)
|
|
(text "CP_0" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
|
|
(text "CP_0" (rect 118 139 147 153)(font "Arial" (font_size 8)))
|
|
(line (pt 168 144)(pt 152 144)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 160)
|
|
(output)
|
|
(text "ALU_CP3" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP3" (rect 93 155 147 169)(font "Arial" (font_size 8)))
|
|
(line (pt 168 160)(pt 152 160)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 176)
|
|
(output)
|
|
(text "ALU_CP2" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP2" (rect 93 171 147 185)(font "Arial" (font_size 8)))
|
|
(line (pt 168 176)(pt 152 176)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 192)
|
|
(output)
|
|
(text "ALU_CP1" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP1" (rect 93 187 147 201)(font "Arial" (font_size 8)))
|
|
(line (pt 168 192)(pt 152 192)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 208)
|
|
(output)
|
|
(text "ALU_CP0" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP0" (rect 93 203 147 217)(font "Arial" (font_size 8)))
|
|
(line (pt 168 208)(pt 152 208)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 168 224)
|
|
(output)
|
|
(text "ALU_CP_PSW" (rect -72 0 9 14)(font "Arial" (font_size 8)))
|
|
(text "ALU_CP_PSW" (rect 66 219 147 233)(font "Arial" (font_size 8)))
|
|
(line (pt 168 224)(pt 152 224)(line_width 1))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 152 240)(line_width 1))
|
|
)
|
|
)
|