OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [control/] [decode_state.bdf] - Rev 20

Go to most recent revision | Compare with Previous | Blame | View Log

/*
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-2013 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 "graphic" (version "1.4"))
(pin
        (input)
        (rect 40 88 216 104)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_iy_set" (rect 9 0 88 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 104 216 120)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_ixiy_clr" (rect 9 0 92 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 248 216 264)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_ixiy_we" (rect 9 0 93 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 384 216 400)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_halt_set" (rect 9 0 96 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 680 216 696)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_tbl_ed_set" (rect 9 0 108 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 568 216 584)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_tbl_cb_set" (rect 9 0 108 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 976 216 992)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_alu" (rect 9 0 71 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 864 216 880)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "clk" (rect 9 0 23 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 848 216 864)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "address_is_1" (rect 9 0 73 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 880 216 896)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_repeat_we" (rect 9 0 76 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 408 216 424)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "in_intr" (rect 9 0 38 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 424 216 440)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "in_nmi" (rect 9 0 40 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 920 216 936)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "nreset" (rect 9 0 39 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 592 216 608)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_state_tbl_we" (rect 9 0 88 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (input)
        (rect 40 608 216 624)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "nhold_clk_wait" (rect 9 0 79 12)(font "Arial" ))
        (pt 176 8)
        (drawing
                (line (pt 92 12)(pt 117 12))
                (line (pt 92 4)(pt 117 4))
                (line (pt 121 8)(pt 176 8))
                (line (pt 92 12)(pt 92 4))
                (line (pt 117 4)(pt 121 8))
                (line (pt 117 12)(pt 121 8))
        )
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
        (output)
        (rect 640 384 816 400)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "in_halt" (rect 90 0 121 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 568 816 584)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "table_cb" (rect 90 0 131 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 680 816 696)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "table_ed" (rect 90 0 131 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 624 816 640)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "table_xx" (rect 90 0 131 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 96 816 112)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "use_ix" (rect 90 0 121 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 208 816 224)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "use_ixiy" (rect 90 0 131 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 976 816 992)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "in_alu" (rect 90 0 118 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(pin
        (output)
        (rect 640 848 816 864)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "repeat_en" (rect 90 0 138 12)(font "Arial" ))
        (pt 0 8)
        (drawing
                (line (pt 0 8)(pt 52 8))
                (line (pt 52 4)(pt 78 4))
                (line (pt 52 12)(pt 78 12))
                (line (pt 52 12)(pt 52 4))
                (line (pt 78 4)(pt 82 8))
                (line (pt 82 8)(pt 78 12))
                (line (pt 78 12)(pt 82 8))
        )
)
(symbol
        (rect 552 192 616 240)
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst2" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 15 32))
        )
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 15 16))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
                (line (pt 48 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 36)(pt 25 36))
                (line (pt 14 13)(pt 25 13))
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
        )
)
(symbol
        (rect 552 608 616 656)
        (text "NOR2" (rect 1 0 26 10)(font "Arial" (font_size 6)))
        (text "inst3" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 14 32))
        )
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 14 16))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
                (line (pt 54 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 36)(pt 23 36))
                (line (pt 12 13)(pt 23 13))
                (arc (pt 46 24)(pt 23 13)(rect -6 13 53 72))
                (arc (pt 5 29)(pt 5 19)(rect -16 8 17 41))
                (arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36))
                (circle (rect 46 20 54 28))
        )
)
(symbol
        (rect 312 80 376 128)
        (text "BAND2" (rect 1 0 31 10)(font "Arial" (font_size 6)))
        (text "inst5" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 9 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 9 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
                (line (pt 44 24)(pt 64 24))
        )
        (drawing
                (line (pt 17 12)(pt 32 12))
                (line (pt 32 37)(pt 17 37))
                (line (pt 17 12)(pt 17 37))
                (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37))
                (circle (rect 9 12 17 20))
                (circle (rect 9 28 17 36))
        )
)
(symbol
        (rect 560 840 608 872)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst" (rect 3 21 20 33)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 13 16))
        )
        (port
                (pt 48 16)
                (output)
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
                (line (pt 39 16)(pt 48 16))
        )
        (drawing
                (line (pt 13 25)(pt 13 7))
                (line (pt 13 7)(pt 31 16))
                (line (pt 13 25)(pt 31 16))
                (circle (rect 31 12 39 20))
        )
)
(symbol
        (rect 440 368 504 448)
        (text "SRFF" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instHALT" (rect 3 68 47 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "S" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "S" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 56)
                (input)
                (text "R" (rect 14 51 19 63)(font "Courier New" (bold)))
                (text "R" (rect 14 51 19 63)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 29 19 41)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 29 19 41)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
                (text "Q" (rect 43 20 47 32)(font "Courier New" (bold)))
                (line (pt 52 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 19 40)(pt 12 47))
                (line (pt 12 33)(pt 19 40))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 256 400 320 448)
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst7" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 15 32))
        )
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 15 16))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
                (line (pt 48 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 36)(pt 25 36))
                (line (pt 14 13)(pt 25 13))
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
        )
)
(symbol
        (rect 440 80 504 160)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst4" (rect 3 68 26 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 0 56)
                (input)
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
                (line (pt 53 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 12 34)(pt 19 41))
                (line (pt 18 41)(pt 12 47))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 440 200 504 280)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instIY1" (rect 3 68 38 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 0 56)
                (input)
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
                (line (pt 53 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 12 34)(pt 19 41))
                (line (pt 18 41)(pt 12 47))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 440 552 504 632)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instCB" (rect 3 68 36 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 0 56)
                (input)
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
                (line (pt 53 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 12 34)(pt 19 41))
                (line (pt 18 41)(pt 12 47))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 440 664 504 744)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instED" (rect 3 68 36 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 0 56)
                (input)
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
                (line (pt 53 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 12 34)(pt 19 41))
                (line (pt 18 41)(pt 12 47))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 440 832 504 912)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instNonRep" (rect 3 68 60 80)(font "Arial" ))
        (port
                (pt 32 0)
                (input)
                (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
                (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
                (line (pt 32 4)(pt 32 0))
        )
        (port
                (pt 32 80)
                (input)
                (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
                (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
                (line (pt 32 80)(pt 32 76))
        )
        (port
                (pt 0 24)
                (input)
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
                (line (pt 0 24)(pt 12 24))
        )
        (port
                (pt 0 40)
                (input)
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (port
                (pt 0 56)
                (input)
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
                (line (pt 0 56)(pt 12 56))
        )
        (port
                (pt 64 24)
                (output)
                (text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
                (text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
                (line (pt 53 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 68)(pt 52 68))
                (line (pt 12 12)(pt 52 12))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 12 34)(pt 19 41))
                (line (pt 18 41)(pt 12 47))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 256 584 320 632)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst6" (rect 3 37 26 49)(font "Arial" ))
        (port
                (pt 0 16)
                (input)
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
                (line (pt 0 16)(pt 14 16))
        )
        (port
                (pt 0 32)
                (input)
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
                (line (pt 0 32)(pt 14 32))
        )
        (port
                (pt 64 24)
                (output)
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
                (line (pt 42 24)(pt 64 24))
        )
        (drawing
                (line (pt 14 12)(pt 30 12))
                (line (pt 14 37)(pt 31 37))
                (line (pt 14 12)(pt 14 37))
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
        )
)
(connector
        (pt 376 104)
        (pt 440 104)
)
(connector
        (pt 216 112)
        (pt 312 112)
)
(connector
        (pt 536 208)
        (pt 552 208)
)
(connector
        (pt 504 224)
        (pt 552 224)
)
(connector
        (pt 616 216)
        (pt 640 216)
)
(connector
        (pt 440 136)
        (pt 312 136)
)
(connector
        (pt 312 256)
        (pt 312 136)
)
(connector
        (pt 256 96)
        (pt 256 224)
)
(connector
        (pt 440 224)
        (pt 256 224)
)
(connector
        (pt 536 104)
        (pt 536 208)
)
(connector
        (pt 216 256)
        (pt 312 256)
)
(connector
        (pt 312 256)
        (pt 440 256)
)
(connector
        (pt 216 96)
        (pt 256 96)
)
(connector
        (pt 256 96)
        (pt 312 96)
)
(connector
        (pt 504 104)
        (pt 536 104)
)
(connector
        (pt 536 104)
        (pt 640 104)
)
(connector
        (pt 216 392)
        (pt 440 392)
)
(connector
        (pt 504 392)
        (pt 640 392)
)
(connector
        (pt 440 424)
        (pt 320 424)
)
(connector
        (pt 216 416)
        (pt 256 416)
)
(connector
        (pt 216 432)
        (pt 256 432)
)
(connector
        (pt 440 720)
        (pt 408 720)
)
(connector
        (text "clk" (rect 384 688 398 700)(font "Arial" ))
        (pt 440 704)
        (pt 376 704)
)
(connector
        (pt 536 688)
        (pt 536 640)
)
(connector
        (pt 536 640)
        (pt 552 640)
)
(connector
        (pt 536 624)
        (pt 552 624)
)
(connector
        (pt 536 576)
        (pt 536 624)
)
(connector
        (pt 616 632)
        (pt 640 632)
)
(connector
        (text "nreset" (rect 429 632 459 644)(font "Arial" ))
        (pt 472 648)
        (pt 424 648)
)
(connector
        (pt 504 688)
        (pt 536 688)
)
(connector
        (pt 536 688)
        (pt 640 688)
)
(connector
        (pt 504 576)
        (pt 536 576)
)
(connector
        (pt 536 576)
        (pt 640 576)
)
(connector
        (pt 472 632)
        (pt 472 648)
)
(connector
        (pt 608 856)
        (pt 640 856)
)
(connector
        (pt 560 856)
        (pt 504 856)
)
(connector
        (pt 216 856)
        (pt 440 856)
)
(connector
        (pt 216 888)
        (pt 440 888)
)
(connector
        (pt 216 872)
        (pt 440 872)
)
(connector
        (pt 472 928)
        (pt 216 928)
)
(connector
        (pt 216 984)
        (pt 640 984)
)
(connector
        (pt 472 912)
        (pt 472 928)
)
(connector
        (pt 216 576)
        (pt 440 576)
)
(connector
        (pt 216 688)
        (pt 440 688)
)
(connector
        (pt 408 608)
        (pt 408 720)
)
(connector
        (text "nreset" (rect 384 744 414 756)(font "Arial" ))
        (pt 472 760)
        (pt 376 760)
)
(connector
        (pt 472 744)
        (pt 472 760)
)
(connector
        (text "clk" (rect 392 104 406 116)(font "Arial" ))
        (pt 440 120)
        (pt 384 120)
)
(connector
        (text "nreset" (rect 392 160 422 172)(font "Arial" ))
        (pt 472 176)
        (pt 384 176)
)
(connector
        (pt 472 160)
        (pt 472 176)
)
(connector
        (text "clk" (rect 394 224 408 236)(font "Arial" ))
        (pt 440 240)
        (pt 384 240)
)
(connector
        (text "nreset" (rect 390 280 420 292)(font "Arial" ))
        (pt 472 296)
        (pt 384 296)
)
(connector
        (pt 472 280)
        (pt 472 296)
)
(connector
        (text "clk" (rect 395 392 409 404)(font "Arial" ))
        (pt 440 408)
        (pt 384 408)
)
(connector
        (text "nreset" (rect 392 456 422 468)(font "Arial" ))
        (pt 472 472)
        (pt 384 472)
)
(connector
        (pt 472 448)
        (pt 472 472)
)
(connector
        (pt 320 608)
        (pt 408 608)
)
(connector
        (pt 408 608)
        (pt 440 608)
)
(connector
        (pt 216 600)
        (pt 256 600)
)
(connector
        (pt 216 616)
        (pt 256 616)
)
(connector
        (text "clk" (rect 387 576 401 588)(font "Arial" ))
        (pt 440 592)
        (pt 376 592)
)
(junction (pt 312 256))
(junction (pt 256 96))
(junction (pt 536 104))
(junction (pt 536 688))
(junction (pt 536 576))
(junction (pt 408 608))
(text "IX and IY state flags" (rect 416 32 551 48)(font "Arial" (font_size 10)))
(text "HALT state flag" (rect 432 328 537 344)(font "Arial" (font_size 10)))
(text "ALU feedback wire" (rect 392 960 519 976)(font "Arial" (font_size 10)))
(text "Opcode Table state flags" (rect 400 512 569 528)(font "Arial" (font_size 10)))
(text "Repeating instruction enable flag" (rect 368 792 589 808)(font "Arial" (font_size 10)))
(title_block
        (rect 40 1024 297 1076)
        (name "title-custom-small")
        (section (rect 0 0 256 17)(text "PROJECT" (rect 2 0 52 12)(font "Arial" ))(text "A-Z80" (rect 56 2 94 17)(font "Arial" (font_size 9)(bold)))(border))
        (section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "decode_state" (rect 43 2 135 17)(font "Arial" (font_size 9)(bold)))(border))
        (section (rect 0 18 256 34)(text "DESIGNER" (rect 2 0 59 12)(font "Arial" ))(text "Goran Devic" (rect 56 2 135 17)(font "Arial" (font_size 9)))(border))
        (section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "August 9, 2014, 2016" (rect 56 3 178 17)(font "Arial" (font_size 8)))(border))
        (section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.5" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
        (drawing
        )
)

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.