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

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [control/] [interrupts.bdf] - Rev 21

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 32 152 208 168)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_iff1_iff2" (rect 9 0 68 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 32 504 208 520)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "nmi" (rect 9 0 26 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 32 728 208 744)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "setM1" (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 32 672 208 688)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "intr" (rect 9 0 24 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 32 168 208 184)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_iffx_we" (rect 9 0 63 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 32 232 208 248)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_iffx_bit" (rect 9 0 62 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 24 1072 200 1088)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_im_we" (rect 9 0 57 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 32 888 208 904)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "db[1..0]" (rect 9 0 46 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 24 1040 200 1056)
        (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 32 744 208 760)
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
        (text "ctl_no_ints" (rect 9 0 62 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 24 1096 200 1112)
        (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
        (output)
        (rect 728 232 904 248)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "iff2" (rect 90 0 107 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 688 912 864 928)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "im1" (rect 90 0 107 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 688 1000 864 1016)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "im2" (rect 90 0 107 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 744 488 920 504)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "in_nmi" (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 744 656 920 672)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "in_intr" (rect 90 0 119 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 328 984 392 1032)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst14" (rect 3 37 32 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 65 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))
        )
)
(symbol
        (rect 392 896 456 944)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst15" (rect 3 37 32 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 65 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))
        )
)
(symbol
        (rect 384 440 416 456)
        (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
        (text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible))
        (port
                (pt 16 16)
                (output)
                (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
                (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
                (line (pt 16 16)(pt 16 8))
        )
        (drawing
                (line (pt 8 8)(pt 24 8))
        )
)
(symbol
        (rect 664 640 728 688)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst19" (rect 3 37 32 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 65 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))
        )
)
(symbol
        (rect 288 648 352 696)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst20" (rect 3 37 32 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 65 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))
        )
)
(symbol
        (rect 624 528 656 576)
        (text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
        (text "inst13" (rect -1 3 11 32)(font "Arial" )(vertical))
        (port
                (pt 16 0)
                (input)
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
                (text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
                (line (pt 16 0)(pt 16 13))
        )
        (port
                (pt 16 48)
                (output)
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 13 32 25 49)(font "Courier New" (bold))(vertical)(invisible))
                (line (pt 16 39)(pt 16 48))
        )
        (drawing
                (line (pt 7 13)(pt 25 13))
                (line (pt 25 13)(pt 16 31))
                (line (pt 7 13)(pt 16 31))
                (circle (rect 12 31 20 39))
        )
        (rotate270)
)
(symbol
        (rect 328 912 376 944)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst11" (rect 3 21 32 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 49 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 304 144 368 192)
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst" (rect 3 37 20 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 65 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 224 736 272 768)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst7" (rect 3 21 26 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 49 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 288 720 352 768)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst23" (rect 3 37 32 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 65 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))
        )
)
(symbol
        (rect 424 472 488 552)
        (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst28" (rect 3 68 32 80)(font "Arial" ))
        (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 40)
                (input)
                (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (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 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 64 24)
                (output)
                (text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
                (text "Q" (rect 43 20 48 32)(font "Courier New" (bold)))
                (line (pt 52 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 12)(pt 52 12))
                (line (pt 12 68)(pt 52 68))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 19 40)(pt 12 47))
                (line (pt 12 32)(pt 20 40))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 552 472 616 552)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst43" (rect 3 68 32 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 49 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 552 648 616 728)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst44" (rect 3 68 32 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 49 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 424 648 488 728)
        (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "inst47" (rect 3 68 32 80)(font "Arial" ))
        (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 40)
                (input)
                (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
                (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
                (line (pt 0 40)(pt 12 40))
        )
        (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 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 64 24)
                (output)
                (text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
                (text "Q" (rect 43 20 48 32)(font "Courier New" (bold)))
                (line (pt 52 24)(pt 64 24))
        )
        (drawing
                (line (pt 12 12)(pt 52 12))
                (line (pt 12 68)(pt 52 68))
                (line (pt 52 68)(pt 52 12))
                (line (pt 12 68)(pt 12 12))
                (line (pt 19 40)(pt 12 47))
                (line (pt 12 32)(pt 20 40))
                (circle (rect 28 4 36 12))
                (circle (rect 28 68 36 76))
        )
)
(symbol
        (rect 552 896 616 976)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instIIM1" (rect 3 68 41 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 49 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 448 984 512 1064)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instIIM2" (rect 3 68 41 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 49 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 624 88 688 168)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instIFF1" (rect 3 68 44 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 49 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 304 216 368 296)
        (text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "instIFF2" (rect 3 68 44 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 49 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 400 64 464 112)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "iff1mux1" (rect 3 37 47 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 65 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))
        )
)
(symbol
        (rect 400 112 464 160)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "iff1mux2" (rect 3 37 47 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 65 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))
        )
)
(symbol
        (rect 496 88 560 136)
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
        (text "iff1mux3" (rect 3 37 47 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 65 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 312 80 360 112)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst10" (rect 3 21 32 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 49 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 264 304 328 352)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst1" (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 65 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))
        )
)
(symbol
        (rect 192 304 240 336)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "nin_intr" (rect 3 21 38 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 49 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 192 344 240 376)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "nin_nmi" (rect 3 21 40 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 49 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 496 320 560 368)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst2" (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 65 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))
        )
)
(symbol
        (rect 288 776 352 824)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst4" (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 65 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))
        )
)
(symbol
        (rect 224 776 272 808)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "nin_intr2" (rect 3 21 44 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 49 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 288 560 352 608)
        (text "AND2" (rect 1 0 25 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 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 65 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))
        )
)
(symbol
        (rect 224 560 272 592)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "nin_nmi2" (rect 3 21 46 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 49 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))
        )
)
(connector
        (text "iff1" (rect 177 648 194 660)(font "Arial" ))
        (pt 288 664)
        (pt 176 664)
)
(connector
        (pt 480 88)
        (pt 480 104)
)
(connector
        (pt 480 136)
        (pt 480 120)
)
(connector
        (text "clk" (rect 586 112 600 124)(font "Arial" ))
        (pt 576 128)
        (pt 624 128)
)
(connector
        (pt 592 144)
        (pt 624 144)
)
(connector
        (pt 480 120)
        (pt 496 120)
)
(connector
        (pt 480 104)
        (pt 496 104)
)
(connector
        (pt 400 144)
        (pt 384 144)
)
(connector
        (pt 384 144)
        (pt 384 240)
)
(connector
        (pt 240 160)
        (pt 240 128)
)
(connector
        (pt 336 328)
        (pt 336 296)
)
(connector
        (pt 240 176)
        (pt 240 272)
)
(connector
        (text "clk" (rect 264 240 278 252)(font "Arial" ))
        (pt 256 256)
        (pt 304 256)
)
(connector
        (pt 240 272)
        (pt 304 272)
)
(connector
        (pt 592 144)
        (pt 592 168)
)
(connector
        (pt 312 96)
        (pt 296 96)
)
(connector
        (pt 296 96)
        (pt 296 128)
)
(connector
        (pt 224 80)
        (pt 400 80)
)
(connector
        (pt 224 240)
        (pt 224 80)
)
(connector
        (pt 656 168)
        (pt 656 344)
)
(connector
        (pt 496 336)
        (pt 480 336)
)
(connector
        (pt 496 352)
        (pt 480 352)
)
(connector
        (pt 480 336)
        (pt 480 328)
)
(connector
        (pt 240 160)
        (pt 304 160)
)
(connector
        (pt 240 176)
        (pt 304 176)
)
(connector
        (pt 240 128)
        (pt 296 128)
)
(connector
        (pt 296 128)
        (pt 400 128)
)
(connector
        (pt 224 240)
        (pt 304 240)
)
(connector
        (pt 384 240)
        (pt 728 240)
)
(connector
        (pt 560 344)
        (pt 656 344)
)
(connector
        (pt 368 168)
        (pt 592 168)
)
(connector
        (pt 272 752)
        (pt 288 752)
)
(connector
        (pt 368 240)
        (pt 384 240)
)
(connector
        (pt 464 88)
        (pt 480 88)
)
(connector
        (pt 464 136)
        (pt 480 136)
)
(connector
        (pt 560 112)
        (pt 624 112)
)
(connector
        (pt 360 96)
        (pt 400 96)
)
(connector
        (pt 208 160)
        (pt 240 160)
)
(connector
        (pt 208 736)
        (pt 288 736)
)
(connector
        (pt 208 680)
        (pt 288 680)
)
(connector
        (pt 208 176)
        (pt 240 176)
)
(connector
        (pt 208 240)
        (pt 224 240)
)
(connector
        (pt 208 752)
        (pt 224 752)
)
(connector
        (pt 328 328)
        (pt 336 328)
)
(connector
        (text "in_intr" (rect 133 304 162 316)(font "Arial" ))
        (pt 128 320)
        (pt 192 320)
)
(connector
        (pt 240 320)
        (pt 264 320)
)
(connector
        (pt 480 352)
        (pt 480 360)
)
(connector
        (pt 480 360)
        (pt 240 360)
)
(connector
        (text "nreset" (rect 132 320 162 332)(font "Arial" ))
        (pt 128 336)
        (pt 264 336)
)
(connector
        (text "in_nmi" (rect 133 344 164 356)(font "Arial" ))
        (pt 128 360)
        (pt 192 360)
)
(connector
        (pt 336 328)
        (pt 480 328)
)
(connector
        (text "db[0]" (rect 242 1000 266 1012)(font "Arial" ))
        (pt 232 1016)
        (pt 328 1016)
)
(connector
        (text "db[1]" (rect 242 984 266 996)(font "Arial" ))
        (pt 232 1000)
        (pt 328 1000)
)
(connector
        (text "db[1]" (rect 242 896 266 908)(font "Arial" ))
        (pt 232 912)
        (pt 392 912)
)
(connector
        (text "db[0]" (rect 242 912 266 924)(font "Arial" ))
        (pt 232 928)
        (pt 328 928)
)
(connector
        (pt 536 1080)
        (pt 536 952)
)
(connector
        (pt 536 952)
        (pt 552 952)
)
(connector
        (text "clk" (rect 520 920 534 932)(font "Arial" ))
        (pt 552 936)
        (pt 512 936)
)
(connector
        (pt 448 1040)
        (pt 424 1040)
)
(connector
        (pt 424 1040)
        (pt 424 1080)
)
(connector
        (pt 480 1064)
        (pt 480 1104)
)
(connector
        (pt 584 976)
        (pt 584 1104)
)
(connector
        (pt 448 1024)
        (pt 408 1024)
)
(connector
        (pt 408 1024)
        (pt 408 1048)
)
(connector
        (pt 392 1008)
        (pt 448 1008)
)
(connector
        (pt 456 920)
        (pt 552 920)
)
(connector
        (pt 376 928)
        (pt 392 928)
)
(connector
        (pt 616 920)
        (pt 688 920)
)
(connector
        (pt 512 1008)
        (pt 688 1008)
)
(connector
        (pt 208 896)
        (pt 232 896)
        (bus)
)
(connector
        (pt 200 1048)
        (pt 408 1048)
)
(connector
        (pt 232 896)
        (pt 232 912)
        (bus)
)
(connector
        (pt 232 912)
        (pt 232 928)
        (bus)
)
(connector
        (pt 232 928)
        (pt 232 1000)
        (bus)
)
(connector
        (pt 232 1000)
        (pt 232 1016)
        (bus)
)
(connector
        (pt 200 1080)
        (pt 424 1080)
)
(connector
        (pt 424 1080)
        (pt 536 1080)
)
(connector
        (pt 200 1104)
        (pt 480 1104)
)
(connector
        (pt 480 1104)
        (pt 584 1104)
)
(connector
        (pt 272 792)
        (pt 288 792)
)
(connector
        (text "nreset" (rect 185 792 215 804)(font "Arial" ))
        (pt 288 808)
        (pt 176 808)
)
(connector
        (text "in_intr" (rect 183 776 212 788)(font "Arial" ))
        (pt 224 792)
        (pt 176 792)
)
(connector
        (pt 288 576)
        (pt 272 576)
)
(connector
        (text "in_nmi" (rect 175 560 206 572)(font "Arial" ))
        (pt 168 576)
        (pt 224 576)
)
(connector
        (text "nreset" (rect 175 576 205 588)(font "Arial" ))
        (pt 288 592)
        (pt 168 592)
)
(connector
        (pt 584 728)
        (pt 584 760)
)
(connector
        (pt 640 576)
        (pt 640 656)
)
(connector
        (pt 640 496)
        (pt 640 528)
)
(connector
        (pt 352 800)
        (pt 456 800)
)
(connector
        (pt 456 728)
        (pt 456 800)
)
(connector
        (pt 584 568)
        (pt 584 552)
)
(connector
        (text "nreset" (rect 521 552 551 564)(font "Arial" ))
        (pt 520 568)
        (pt 584 568)
)
(connector
        (pt 640 656)
        (pt 664 656)
)
(connector
        (text "clk" (rect 522 496 536 508)(font "Arial" ))
        (pt 520 512)
        (pt 552 512)
)
(connector
        (text "clk" (rect 519 672 533 684)(font "Arial" ))
        (pt 520 688)
        (pt 552 688)
)
(connector
        (text "clk" (rect 388 672 402 684)(font "Arial" ))
        (pt 392 688)
        (pt 424 688)
)
(connector
        (pt 352 672)
        (pt 424 672)
)
(connector
        (pt 368 632)
        (pt 368 744)
)
(connector
        (pt 504 632)
        (pt 504 528)
)
(connector
        (pt 552 528)
        (pt 504 528)
)
(connector
        (text "test1" (rect 377 616 401 628)(font "Arial" ))
        (pt 368 632)
        (pt 504 632)
)
(connector
        (pt 352 584)
        (pt 456 584)
)
(connector
        (pt 456 584)
        (pt 456 552)
)
(connector
        (pt 208 512)
        (pt 424 512)
)
(connector
        (pt 400 496)
        (pt 400 456)
)
(connector
        (pt 424 496)
        (pt 400 496)
)
(connector
        (pt 640 496)
        (pt 744 496)
)
(connector
        (pt 728 664)
        (pt 744 664)
)
(connector
        (text "nmi_armed" (rect 627 480 681 492)(font "Arial" ))
        (pt 488 496)
        (pt 552 496)
)
(connector
        (pt 616 496)
        (pt 640 496)
)
(connector
        (pt 616 672)
        (pt 664 672)
)
(connector
        (text "int_armed" (rect 497 656 545 668)(font "Arial" ))
        (pt 488 672)
        (pt 552 672)
)
(connector
        (pt 504 744)
        (pt 504 704)
)
(connector
        (pt 552 704)
        (pt 504 704)
)
(connector
        (pt 352 744)
        (pt 368 744)
)
(connector
        (pt 368 744)
        (pt 504 744)
)
(connector
        (text "nreset" (rect 520 744 550 756)(font "Arial" ))
        (pt 520 760)
        (pt 584 760)
)
(connector
        (text "iff1" (rect 756 96 773 108)(font "Arial" ))
        (pt 768 112)
        (pt 688 112)
)
(junction (pt 240 160))
(junction (pt 240 176))
(junction (pt 296 128))
(junction (pt 224 240))
(junction (pt 384 240))
(junction (pt 336 328))
(junction (pt 232 912))
(junction (pt 232 928))
(junction (pt 232 1000))
(junction (pt 424 1080))
(junction (pt 480 1104))
(junction (pt 640 496))
(junction (pt 368 744))
(text "IM (Interrupt Mode) register" (rect 320 840 504 856)(font "Arial" (font_size 10)))
(text "IFF1 and IFF2 flags" (rect 336 24 468 40)(font "Arial" (font_size 10)))
(text "INT and NMI state flags" (rect 328 400 487 416)(font "Arial" (font_size 10)))
(text "Reading opcode[4:3] from the db0" (rect 32 912 224 926)(font "Arial" (font_size 8)))
(text "Clear IFF1 on NMI" (rect 40 368 137 382)(font "Arial" (font_size 8)))
(text "Clear IFF1, IFF2 on INTR" (rect 40 288 174 302)(font "Arial" (font_size 8)))
(text "MUX: IFF1 can be loaded from IFF2 or op3" (rect 400 176 637 190)(font "Arial" (font_size 8)))
(title_block
        (rect 24 1144 281 1196)
        (name "title-custom-small")
        (section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "July 19, 2014, 2016" (rect 56 3 166 17)(font "Arial" (font_size 8)))(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 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "interrupts" (rect 43 2 109 17)(font "Arial" (font_size 9)(bold)))(border))
        (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 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.4" (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.