完成新的ALU

This commit is contained in:
wzhqwq 2022-03-17 16:34:02 +08:00
父節點 8a36eb2b64
當前提交 65d1ef1509
共有 9 個檔案被更改,包括 5505 行新增127 行删除

1554
ALU_3_in_1/ALU_3_in_1.bdf Normal file

檔案差異因為檔案過大而無法顯示 載入差異

225
ALU_3_in_1/ALU_3_in_1.bsf Normal file
查看文件

@ -0,0 +1,225 @@
/*
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 416 160)
(text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 144 96)
(input)
(text "A0" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A0" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical))
(line (pt 144 96)(pt 144 80)(line_width 1))
)
(port
(pt 128 96)
(input)
(text "A1" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A1" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical))
(line (pt 128 96)(pt 128 80)(line_width 1))
)
(port
(pt 112 96)
(input)
(text "A2" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A2" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical))
(line (pt 112 96)(pt 112 80)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "A3" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A3" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical))
(line (pt 96 96)(pt 96 80)(line_width 1))
)
(port
(pt 80 96)
(input)
(text "A4" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A4" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical))
(line (pt 80 96)(pt 80 80)(line_width 1))
)
(port
(pt 64 96)
(input)
(text "A5" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A5" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical))
(line (pt 64 96)(pt 64 80)(line_width 1))
)
(port
(pt 48 96)
(input)
(text "A6" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A6" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical))
(line (pt 48 96)(pt 48 80)(line_width 1))
)
(port
(pt 32 96)
(input)
(text "A7" (rect 0 -288 16 -274)(font "Arial" (font_size 8)))
(text "A7" (rect 24 56 38 72)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 272 96)
(input)
(text "B0" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B0" (rect 264 57 278 72)(font "Arial" (font_size 8))(vertical))
(line (pt 272 96)(pt 272 80)(line_width 1))
)
(port
(pt 256 96)
(input)
(text "B1" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B1" (rect 248 57 262 72)(font "Arial" (font_size 8))(vertical))
(line (pt 256 96)(pt 256 80)(line_width 1))
)
(port
(pt 240 96)
(input)
(text "B2" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B2" (rect 232 57 246 72)(font "Arial" (font_size 8))(vertical))
(line (pt 240 96)(pt 240 80)(line_width 1))
)
(port
(pt 208 96)
(input)
(text "B3" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B3" (rect 200 57 214 72)(font "Arial" (font_size 8))(vertical))
(line (pt 208 96)(pt 208 80)(line_width 1))
)
(port
(pt 224 96)
(input)
(text "B4" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B4" (rect 216 57 230 72)(font "Arial" (font_size 8))(vertical))
(line (pt 224 96)(pt 224 80)(line_width 1))
)
(port
(pt 192 96)
(input)
(text "B5" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B5" (rect 184 57 198 72)(font "Arial" (font_size 8))(vertical))
(line (pt 192 96)(pt 192 80)(line_width 1))
)
(port
(pt 176 96)
(input)
(text "B6" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B6" (rect 168 57 182 72)(font "Arial" (font_size 8))(vertical))
(line (pt 176 96)(pt 176 80)(line_width 1))
)
(port
(pt 160 96)
(input)
(text "B7" (rect 0 -288 15 -274)(font "Arial" (font_size 8)))
(text "B7" (rect 152 57 166 72)(font "Arial" (font_size 8))(vertical))
(line (pt 160 96)(pt 160 80)(line_width 1))
)
(port
(pt 288 96)
(input)
(text "CPR0" (rect 0 -288 30 -274)(font "Arial" (font_size 8)))
(text "CPR0" (rect 280 42 294 72)(font "Arial" (font_size 8))(vertical))
(line (pt 288 96)(pt 288 80)(line_width 1))
)
(port
(pt 304 96)
(input)
(text "CPR1" (rect 0 -288 30 -274)(font "Arial" (font_size 8)))
(text "CPR1" (rect 296 42 310 72)(font "Arial" (font_size 8))(vertical))
(line (pt 304 96)(pt 304 80)(line_width 1))
)
(port
(pt 320 96)
(input)
(text "CPR2" (rect 0 -288 30 -274)(font "Arial" (font_size 8)))
(text "CPR2" (rect 312 42 326 72)(font "Arial" (font_size 8))(vertical))
(line (pt 320 96)(pt 320 80)(line_width 1))
)
(port
(pt 336 96)
(input)
(text "CLR" (rect 0 -288 23 -274)(font "Arial" (font_size 8)))
(text "CLR" (rect 328 49 342 72)(font "Arial" (font_size 8))(vertical))
(line (pt 336 96)(pt 336 80)(line_width 1))
)
(port
(pt 144 0)
(output)
(text "Q0" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical))
(line (pt 144 0)(pt 144 16)(line_width 1))
)
(port
(pt 128 0)
(output)
(text "Q1" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical))
(line (pt 128 0)(pt 128 16)(line_width 1))
)
(port
(pt 112 0)
(output)
(text "Q2" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical))
(line (pt 112 0)(pt 112 16)(line_width 1))
)
(port
(pt 96 0)
(output)
(text "Q3" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical))
(line (pt 96 0)(pt 96 16)(line_width 1))
)
(port
(pt 80 0)
(output)
(text "Q4" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical))
(line (pt 80 0)(pt 80 16)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "Q5" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "Q6" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "Q7" (rect 488 0 504 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 24 24 38 40)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 352 80)(line_width 1))
)
)

30
ALU_3_in_1/ALU_3_in_1.qpf Normal file
查看文件

@ -0,0 +1,30 @@
# -------------------------------------------------------------------------- #
#
# 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.
#
# -------------------------------------------------------------------------- #
#
# Quartus II
# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition
# Date created = 16:10:13 March 17, 2022
#
# -------------------------------------------------------------------------- #
QUARTUS_VERSION = "9.0"
DATE = "16:10:13 March 17, 2022"
# Revisions
PROJECT_REVISION = "ALU_3_in_1"

53
ALU_3_in_1/ALU_3_in_1.qsf Normal file
查看文件

@ -0,0 +1,53 @@
# -------------------------------------------------------------------------- #
#
# 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.
#
# -------------------------------------------------------------------------- #
#
# Quartus II
# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition
# Date created = 16:10:13 March 17, 2022
#
# -------------------------------------------------------------------------- #
#
# Notes:
#
# 1) The default values for assignments are stored in the file:
# ALU_3_in_1_assignment_defaults.qdf
# If this file doesn't exist, see file:
# assignment_defaults.qdf
#
# 2) Altera recommends that you do not modify this file. This
# file is updated automatically by the Quartus II software
# and any changes you make may be lost or overwritten.
#
# -------------------------------------------------------------------------- #
set_global_assignment -name FAMILY "Cyclone II"
set_global_assignment -name DEVICE EP2C8Q208C8
set_global_assignment -name TOP_LEVEL_ENTITY ALU_3_in_1
set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2"
set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:10:13 MARCH 17, 2022"
set_global_assignment -name LAST_QUARTUS_VERSION "9.0 SP2"
set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_blast_fpga
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
set_global_assignment -name BDF_FILE ALU_3_in_1.bdf
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"

檔案差異因為檔案過大而無法顯示 載入差異

查看文件

@ -0,0 +1,246 @@
/*
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 448 152)
(text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 72 25 84)(font "Arial" ))
(port
(pt 144 88)
(input)
(text "A0" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A0" (rect 136 48 150 64)(font "Arial" (font_size 8))(vertical))
(line (pt 144 88)(pt 144 72)(line_width 1))
)
(port
(pt 272 88)
(input)
(text "B0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B0" (rect 264 49 278 64)(font "Arial" (font_size 8))(vertical))
(line (pt 272 88)(pt 272 72)(line_width 1))
)
(port
(pt 128 88)
(input)
(text "A1" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A1" (rect 120 48 134 64)(font "Arial" (font_size 8))(vertical))
(line (pt 128 88)(pt 128 72)(line_width 1))
)
(port
(pt 256 88)
(input)
(text "B1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B1" (rect 248 49 262 64)(font "Arial" (font_size 8))(vertical))
(line (pt 256 88)(pt 256 72)(line_width 1))
)
(port
(pt 112 88)
(input)
(text "A2" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A2" (rect 104 48 118 64)(font "Arial" (font_size 8))(vertical))
(line (pt 112 88)(pt 112 72)(line_width 1))
)
(port
(pt 240 88)
(input)
(text "B2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B2" (rect 232 49 246 64)(font "Arial" (font_size 8))(vertical))
(line (pt 240 88)(pt 240 72)(line_width 1))
)
(port
(pt 96 88)
(input)
(text "A3" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A3" (rect 88 48 102 64)(font "Arial" (font_size 8))(vertical))
(line (pt 96 88)(pt 96 72)(line_width 1))
)
(port
(pt 224 88)
(input)
(text "B3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B3" (rect 216 49 230 64)(font "Arial" (font_size 8))(vertical))
(line (pt 224 88)(pt 224 72)(line_width 1))
)
(port
(pt 288 88)
(input)
(text "C0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "C0" (rect 280 49 294 64)(font "Arial" (font_size 8))(vertical))
(line (pt 288 88)(pt 288 72)(line_width 1))
)
(port
(pt 304 88)
(input)
(text "M" (rect 0 -328 9 -314)(font "Arial" (font_size 8)))
(text "M" (rect 296 55 310 64)(font "Arial" (font_size 8))(vertical))
(line (pt 304 88)(pt 304 72)(line_width 1))
)
(port
(pt 320 88)
(input)
(text "S3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S3" (rect 312 49 326 64)(font "Arial" (font_size 8))(vertical))
(line (pt 320 88)(pt 320 72)(line_width 1))
)
(port
(pt 336 88)
(input)
(text "S2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S2" (rect 328 49 342 64)(font "Arial" (font_size 8))(vertical))
(line (pt 336 88)(pt 336 72)(line_width 1))
)
(port
(pt 352 88)
(input)
(text "S1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S1" (rect 344 49 358 64)(font "Arial" (font_size 8))(vertical))
(line (pt 352 88)(pt 352 72)(line_width 1))
)
(port
(pt 368 88)
(input)
(text "S0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S0" (rect 360 49 374 64)(font "Arial" (font_size 8))(vertical))
(line (pt 368 88)(pt 368 72)(line_width 1))
)
(port
(pt 80 88)
(input)
(text "A4" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A4" (rect 72 48 86 64)(font "Arial" (font_size 8))(vertical))
(line (pt 80 88)(pt 80 72)(line_width 1))
)
(port
(pt 208 88)
(input)
(text "B4" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B4" (rect 200 49 214 64)(font "Arial" (font_size 8))(vertical))
(line (pt 208 88)(pt 208 72)(line_width 1))
)
(port
(pt 64 88)
(input)
(text "A5" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A5" (rect 56 48 70 64)(font "Arial" (font_size 8))(vertical))
(line (pt 64 88)(pt 64 72)(line_width 1))
)
(port
(pt 192 88)
(input)
(text "B5" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B5" (rect 184 49 198 64)(font "Arial" (font_size 8))(vertical))
(line (pt 192 88)(pt 192 72)(line_width 1))
)
(port
(pt 48 88)
(input)
(text "A6" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A6" (rect 40 48 54 64)(font "Arial" (font_size 8))(vertical))
(line (pt 48 88)(pt 48 72)(line_width 1))
)
(port
(pt 176 88)
(input)
(text "B6" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B6" (rect 168 49 182 64)(font "Arial" (font_size 8))(vertical))
(line (pt 176 88)(pt 176 72)(line_width 1))
)
(port
(pt 32 88)
(input)
(text "A7" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A7" (rect 24 48 38 64)(font "Arial" (font_size 8))(vertical))
(line (pt 32 88)(pt 32 72)(line_width 1))
)
(port
(pt 160 88)
(input)
(text "B7" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B7" (rect 152 49 166 64)(font "Arial" (font_size 8))(vertical))
(line (pt 160 88)(pt 160 72)(line_width 1))
)
(port
(pt 160 0)
(output)
(text "F0" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F0" (rect 152 24 166 38)(font "Arial" (font_size 8))(vertical))
(line (pt 160 0)(pt 160 16)(line_width 1))
)
(port
(pt 144 0)
(output)
(text "F1" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F1" (rect 136 24 150 38)(font "Arial" (font_size 8))(vertical))
(line (pt 144 0)(pt 144 16)(line_width 1))
)
(port
(pt 128 0)
(output)
(text "F2" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F2" (rect 120 24 134 38)(font "Arial" (font_size 8))(vertical))
(line (pt 128 0)(pt 128 16)(line_width 1))
)
(port
(pt 112 0)
(output)
(text "F3" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F3" (rect 104 24 118 38)(font "Arial" (font_size 8))(vertical))
(line (pt 112 0)(pt 112 16)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "C8" (rect 168 0 183 14)(font "Arial" (font_size 8)))
(text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 96 0)
(output)
(text "F4" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F4" (rect 88 24 102 38)(font "Arial" (font_size 8))(vertical))
(line (pt 96 0)(pt 96 16)(line_width 1))
)
(port
(pt 80 0)
(output)
(text "F5" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F5" (rect 72 24 86 38)(font "Arial" (font_size 8))(vertical))
(line (pt 80 0)(pt 80 16)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "F6" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F6" (rect 56 24 70 38)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "F7" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F7" (rect 40 24 54 38)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 384 72)(line_width 1))
)
)

1004
ALU_3_in_1/register_8b.bdf Normal file

檔案差異因為檔案過大而無法顯示 載入差異

155
ALU_3_in_1/register_8b.bsf Normal file
查看文件

@ -0,0 +1,155 @@
/*
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 16 16 112 240)
(text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D7" (rect 21 59 36 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D6" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D5" (rect 21 91 36 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D4" (rect 21 107 36 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 21 123 36 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 21 139 36 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 21 155 36 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D0" (rect 21 171 36 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 208)(line_width 1))
)
)

查看文件

@ -20,227 +20,227 @@ applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 16 16 112 432)
(rect 64 64 448 152)
(text "ALU_parallel_8b" (rect 5 0 98 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 400 25 412)(font "Arial" ))
(text "inst" (rect 8 72 25 84)(font "Arial" ))
(port
(pt 0 32)
(pt 144 88)
(input)
(text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A0" (rect 21 27 37 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
(text "A0" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A0" (rect 136 48 150 64)(font "Arial" (font_size 8))(vertical))
(line (pt 144 88)(pt 144 72)(line_width 1))
)
(port
(pt 0 48)
(pt 272 88)
(input)
(text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B0" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
(text "B0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B0" (rect 264 49 278 64)(font "Arial" (font_size 8))(vertical))
(line (pt 272 88)(pt 272 72)(line_width 1))
)
(port
(pt 0 64)
(pt 128 88)
(input)
(text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
(text "A1" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A1" (rect 120 48 134 64)(font "Arial" (font_size 8))(vertical))
(line (pt 128 88)(pt 128 72)(line_width 1))
)
(port
(pt 0 80)
(pt 256 88)
(input)
(text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B1" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
(text "B1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B1" (rect 248 49 262 64)(font "Arial" (font_size 8))(vertical))
(line (pt 256 88)(pt 256 72)(line_width 1))
)
(port
(pt 0 96)
(pt 112 88)
(input)
(text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A2" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
(text "A2" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A2" (rect 104 48 118 64)(font "Arial" (font_size 8))(vertical))
(line (pt 112 88)(pt 112 72)(line_width 1))
)
(port
(pt 0 112)
(pt 240 88)
(input)
(text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B2" (rect 21 107 36 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
(text "B2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B2" (rect 232 49 246 64)(font "Arial" (font_size 8))(vertical))
(line (pt 240 88)(pt 240 72)(line_width 1))
)
(port
(pt 0 128)
(pt 96 88)
(input)
(text "A3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A3" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
(text "A3" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A3" (rect 88 48 102 64)(font "Arial" (font_size 8))(vertical))
(line (pt 96 88)(pt 96 72)(line_width 1))
)
(port
(pt 0 144)
(pt 224 88)
(input)
(text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B3" (rect 21 139 36 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
(text "B3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B3" (rect 216 49 230 64)(font "Arial" (font_size 8))(vertical))
(line (pt 224 88)(pt 224 72)(line_width 1))
)
(port
(pt 0 160)
(pt 288 88)
(input)
(text "C0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C0" (rect 21 155 36 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
(text "C0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "C0" (rect 280 49 294 64)(font "Arial" (font_size 8))(vertical))
(line (pt 288 88)(pt 288 72)(line_width 1))
)
(port
(pt 0 176)
(pt 304 88)
(input)
(text "M" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "M" (rect 21 171 30 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
(text "M" (rect 0 -328 9 -314)(font "Arial" (font_size 8)))
(text "M" (rect 296 55 310 64)(font "Arial" (font_size 8))(vertical))
(line (pt 304 88)(pt 304 72)(line_width 1))
)
(port
(pt 0 192)
(pt 320 88)
(input)
(text "S3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S3" (rect 21 187 36 201)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 16 192)(line_width 1))
(text "S3" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S3" (rect 312 49 326 64)(font "Arial" (font_size 8))(vertical))
(line (pt 320 88)(pt 320 72)(line_width 1))
)
(port
(pt 0 208)
(pt 336 88)
(input)
(text "S2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S2" (rect 21 203 36 217)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 16 208)(line_width 1))
(text "S2" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S2" (rect 328 49 342 64)(font "Arial" (font_size 8))(vertical))
(line (pt 336 88)(pt 336 72)(line_width 1))
)
(port
(pt 0 224)
(pt 352 88)
(input)
(text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S1" (rect 21 219 36 233)(font "Arial" (font_size 8)))
(line (pt 0 224)(pt 16 224)(line_width 1))
(text "S1" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S1" (rect 344 49 358 64)(font "Arial" (font_size 8))(vertical))
(line (pt 352 88)(pt 352 72)(line_width 1))
)
(port
(pt 0 240)
(pt 368 88)
(input)
(text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S0" (rect 21 235 36 249)(font "Arial" (font_size 8)))
(line (pt 0 240)(pt 16 240)(line_width 1))
(text "S0" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "S0" (rect 360 49 374 64)(font "Arial" (font_size 8))(vertical))
(line (pt 368 88)(pt 368 72)(line_width 1))
)
(port
(pt 0 256)
(pt 80 88)
(input)
(text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A4" (rect 21 251 37 265)(font "Arial" (font_size 8)))
(line (pt 0 256)(pt 16 256)(line_width 1))
(text "A4" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A4" (rect 72 48 86 64)(font "Arial" (font_size 8))(vertical))
(line (pt 80 88)(pt 80 72)(line_width 1))
)
(port
(pt 0 272)
(pt 208 88)
(input)
(text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B4" (rect 21 267 36 281)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 16 272)(line_width 1))
(text "B4" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B4" (rect 200 49 214 64)(font "Arial" (font_size 8))(vertical))
(line (pt 208 88)(pt 208 72)(line_width 1))
)
(port
(pt 0 288)
(pt 64 88)
(input)
(text "A5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A5" (rect 21 283 37 297)(font "Arial" (font_size 8)))
(line (pt 0 288)(pt 16 288)(line_width 1))
(text "A5" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A5" (rect 56 48 70 64)(font "Arial" (font_size 8))(vertical))
(line (pt 64 88)(pt 64 72)(line_width 1))
)
(port
(pt 0 304)
(pt 192 88)
(input)
(text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B5" (rect 21 299 36 313)(font "Arial" (font_size 8)))
(line (pt 0 304)(pt 16 304)(line_width 1))
(text "B5" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B5" (rect 184 49 198 64)(font "Arial" (font_size 8))(vertical))
(line (pt 192 88)(pt 192 72)(line_width 1))
)
(port
(pt 0 320)
(pt 48 88)
(input)
(text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A6" (rect 21 315 37 329)(font "Arial" (font_size 8)))
(line (pt 0 320)(pt 16 320)(line_width 1))
(text "A6" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A6" (rect 40 48 54 64)(font "Arial" (font_size 8))(vertical))
(line (pt 48 88)(pt 48 72)(line_width 1))
)
(port
(pt 0 336)
(pt 176 88)
(input)
(text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B6" (rect 21 331 36 345)(font "Arial" (font_size 8)))
(line (pt 0 336)(pt 16 336)(line_width 1))
(text "B6" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B6" (rect 168 49 182 64)(font "Arial" (font_size 8))(vertical))
(line (pt 176 88)(pt 176 72)(line_width 1))
)
(port
(pt 0 352)
(pt 32 88)
(input)
(text "A7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A7" (rect 21 347 37 361)(font "Arial" (font_size 8)))
(line (pt 0 352)(pt 16 352)(line_width 1))
(text "A7" (rect 0 -328 16 -314)(font "Arial" (font_size 8)))
(text "A7" (rect 24 48 38 64)(font "Arial" (font_size 8))(vertical))
(line (pt 32 88)(pt 32 72)(line_width 1))
)
(port
(pt 0 368)
(pt 160 88)
(input)
(text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B7" (rect 21 363 36 377)(font "Arial" (font_size 8)))
(line (pt 0 368)(pt 16 368)(line_width 1))
(text "B7" (rect 0 -328 15 -314)(font "Arial" (font_size 8)))
(text "B7" (rect 152 49 166 64)(font "Arial" (font_size 8))(vertical))
(line (pt 160 88)(pt 160 72)(line_width 1))
)
(port
(pt 96 32)
(pt 160 0)
(output)
(text "F0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F0" (rect 61 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
(text "F0" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F0" (rect 152 24 166 38)(font "Arial" (font_size 8))(vertical))
(line (pt 160 0)(pt 160 16)(line_width 1))
)
(port
(pt 96 48)
(pt 144 0)
(output)
(text "F1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F1" (rect 61 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
(text "F1" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F1" (rect 136 24 150 38)(font "Arial" (font_size 8))(vertical))
(line (pt 144 0)(pt 144 16)(line_width 1))
)
(port
(pt 96 64)
(pt 128 0)
(output)
(text "F2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F2" (rect 61 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
(text "F2" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F2" (rect 120 24 134 38)(font "Arial" (font_size 8))(vertical))
(line (pt 128 0)(pt 128 16)(line_width 1))
)
(port
(pt 96 80)
(pt 112 0)
(output)
(text "F3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F3" (rect 61 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
(text "F3" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F3" (rect 104 24 118 38)(font "Arial" (font_size 8))(vertical))
(line (pt 112 0)(pt 112 16)(line_width 1))
)
(port
(pt 96 96)
(pt 32 0)
(output)
(text "C8" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C8" (rect 60 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
(text "C8" (rect 168 0 183 14)(font "Arial" (font_size 8)))
(text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 96 112)
(pt 96 0)
(output)
(text "F4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F4" (rect 61 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
(text "F4" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F4" (rect 88 24 102 38)(font "Arial" (font_size 8))(vertical))
(line (pt 96 0)(pt 96 16)(line_width 1))
)
(port
(pt 96 128)
(pt 80 0)
(output)
(text "F5" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F5" (rect 61 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
(text "F5" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F5" (rect 72 24 86 38)(font "Arial" (font_size 8))(vertical))
(line (pt 80 0)(pt 80 16)(line_width 1))
)
(port
(pt 96 144)
(pt 64 0)
(output)
(text "F6" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F6" (rect 61 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
(text "F6" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F6" (rect 56 24 70 38)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(port
(pt 96 160)
(pt 48 0)
(output)
(text "F7" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "F7" (rect 61 155 75 169)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
(text "F7" (rect 168 0 182 14)(font "Arial" (font_size 8)))
(text "F7" (rect 40 24 54 38)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 400)(line_width 1))
(rectangle (rect 16 16 384 72)(line_width 1))
)
)