1 |
3 |
gdevic |
/*
|
2 |
|
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
3 |
|
|
editor if you plan to continue editing the block that represents it in
|
4 |
|
|
the Block Editor! File corruption is VERY likely to occur.
|
5 |
|
|
*/
|
6 |
|
|
/*
|
7 |
|
|
Copyright (C) 1991-2013 Altera Corporation
|
8 |
|
|
Your use of Altera Corporation's design tools, logic functions
|
9 |
|
|
and other software and tools, and its AMPP partner logic
|
10 |
|
|
functions, and any output files from any of the foregoing
|
11 |
|
|
(including device programming or simulation files), and any
|
12 |
|
|
associated documentation or information are expressly subject
|
13 |
|
|
to the terms and conditions of the Altera Program License
|
14 |
|
|
Subscription Agreement, Altera MegaCore Function License
|
15 |
|
|
Agreement, or other applicable license agreement, including,
|
16 |
|
|
without limitation, that your use is for the sole purpose of
|
17 |
|
|
programming logic devices manufactured by Altera and sold by
|
18 |
|
|
Altera or its authorized distributors. Please refer to the
|
19 |
|
|
applicable agreement for further details.
|
20 |
|
|
*/
|
21 |
|
|
(header "symbol" (version "1.2"))
|
22 |
|
|
(symbol
|
23 |
8 |
gdevic |
(rect 64 64 216 288)
|
24 |
3 |
gdevic |
(text "interrupts" (rect 5 0 59 14)(font "Arial" (font_size 8)))
|
25 |
|
|
(text "inst" (rect 8 208 25 220)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 32)
|
28 |
|
|
(input)
|
29 |
|
|
(text "ctl_iff1_iff2" (rect 0 0 64 14)(font "Arial" (font_size 8)))
|
30 |
|
|
(text "ctl_iff1_iff2" (rect 21 27 85 41)(font "Arial" (font_size 8)))
|
31 |
|
|
(line (pt 0 32)(pt 16 32))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 48)
|
35 |
|
|
(input)
|
36 |
|
|
(text "ctl_iffx_we" (rect 0 0 64 14)(font "Arial" (font_size 8)))
|
37 |
|
|
(text "ctl_iffx_we" (rect 21 43 85 57)(font "Arial" (font_size 8)))
|
38 |
|
|
(line (pt 0 48)(pt 16 48))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 0 64)
|
42 |
|
|
(input)
|
43 |
|
|
(text "ctl_iffx_bit" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
44 |
|
|
(text "ctl_iffx_bit" (rect 21 59 80 73)(font "Arial" (font_size 8)))
|
45 |
|
|
(line (pt 0 64)(pt 16 64))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 0 80)
|
49 |
|
|
(input)
|
50 |
|
|
(text "nmi" (rect 0 0 18 14)(font "Arial" (font_size 8)))
|
51 |
|
|
(text "nmi" (rect 21 75 39 89)(font "Arial" (font_size 8)))
|
52 |
|
|
(line (pt 0 80)(pt 16 80))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 0 96)
|
56 |
|
|
(input)
|
57 |
|
|
(text "intr" (rect 0 0 17 14)(font "Arial" (font_size 8)))
|
58 |
|
|
(text "intr" (rect 21 91 38 105)(font "Arial" (font_size 8)))
|
59 |
|
|
(line (pt 0 96)(pt 16 96))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 0 112)
|
63 |
|
|
(input)
|
64 |
|
|
(text "setM1" (rect 0 0 34 14)(font "Arial" (font_size 8)))
|
65 |
|
|
(text "setM1" (rect 21 107 55 121)(font "Arial" (font_size 8)))
|
66 |
|
|
(line (pt 0 112)(pt 16 112))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 0 128)
|
70 |
|
|
(input)
|
71 |
|
|
(text "ctl_no_ints" (rect 0 0 61 14)(font "Arial" (font_size 8)))
|
72 |
|
|
(text "ctl_no_ints" (rect 21 123 82 137)(font "Arial" (font_size 8)))
|
73 |
|
|
(line (pt 0 128)(pt 16 128))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 0 144)
|
77 |
|
|
(input)
|
78 |
|
|
(text "db[1..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
79 |
|
|
(text "db[1..0]" (rect 21 139 63 153)(font "Arial" (font_size 8)))
|
80 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 3))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 0 160)
|
84 |
|
|
(input)
|
85 |
|
|
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
86 |
|
|
(text "clk" (rect 21 155 36 169)(font "Arial" (font_size 8)))
|
87 |
|
|
(line (pt 0 160)(pt 16 160))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 0 176)
|
91 |
|
|
(input)
|
92 |
|
|
(text "ctl_im_we" (rect 0 0 57 14)(font "Arial" (font_size 8)))
|
93 |
|
|
(text "ctl_im_we" (rect 21 171 78 185)(font "Arial" (font_size 8)))
|
94 |
|
|
(line (pt 0 176)(pt 16 176))
|
95 |
|
|
)
|
96 |
|
|
(port
|
97 |
|
|
(pt 0 192)
|
98 |
|
|
(input)
|
99 |
|
|
(text "nreset" (rect 0 0 36 14)(font "Arial" (font_size 8)))
|
100 |
|
|
(text "nreset" (rect 21 187 57 201)(font "Arial" (font_size 8)))
|
101 |
|
|
(line (pt 0 192)(pt 16 192))
|
102 |
|
|
)
|
103 |
|
|
(port
|
104 |
|
|
(pt 152 32)
|
105 |
|
|
(output)
|
106 |
8 |
gdevic |
(text "iff2" (rect 0 0 18 14)(font "Arial" (font_size 8)))
|
107 |
|
|
(text "iff2" (rect 113 27 131 41)(font "Arial" (font_size 8)))
|
108 |
3 |
gdevic |
(line (pt 152 32)(pt 136 32))
|
109 |
|
|
)
|
110 |
|
|
(port
|
111 |
|
|
(pt 152 48)
|
112 |
|
|
(output)
|
113 |
8 |
gdevic |
(text "in_nmi" (rect 0 0 35 14)(font "Arial" (font_size 8)))
|
114 |
|
|
(text "in_nmi" (rect 96 43 131 57)(font "Arial" (font_size 8)))
|
115 |
3 |
gdevic |
(line (pt 152 48)(pt 136 48))
|
116 |
|
|
)
|
117 |
|
|
(port
|
118 |
|
|
(pt 152 64)
|
119 |
|
|
(output)
|
120 |
8 |
gdevic |
(text "in_intr" (rect 0 0 34 14)(font "Arial" (font_size 8)))
|
121 |
|
|
(text "in_intr" (rect 97 59 131 73)(font "Arial" (font_size 8)))
|
122 |
3 |
gdevic |
(line (pt 152 64)(pt 136 64))
|
123 |
|
|
)
|
124 |
|
|
(port
|
125 |
|
|
(pt 152 80)
|
126 |
|
|
(output)
|
127 |
8 |
gdevic |
(text "im1" (rect 0 0 18 14)(font "Arial" (font_size 8)))
|
128 |
|
|
(text "im1" (rect 113 75 131 89)(font "Arial" (font_size 8)))
|
129 |
3 |
gdevic |
(line (pt 152 80)(pt 136 80))
|
130 |
|
|
)
|
131 |
|
|
(port
|
132 |
|
|
(pt 152 96)
|
133 |
|
|
(output)
|
134 |
8 |
gdevic |
(text "im2" (rect 0 0 18 14)(font "Arial" (font_size 8)))
|
135 |
|
|
(text "im2" (rect 113 91 131 105)(font "Arial" (font_size 8)))
|
136 |
3 |
gdevic |
(line (pt 152 96)(pt 136 96))
|
137 |
|
|
)
|
138 |
|
|
(drawing
|
139 |
|
|
(rectangle (rect 16 16 136 208))
|
140 |
|
|
)
|
141 |
|
|
)
|