| 1 |
3 |
fabiop |
/*
|
| 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-2010 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.1"))
|
| 22 |
|
|
(symbol
|
| 23 |
|
|
(rect 64 64 264 536)
|
| 24 |
|
|
(text "fpz8_cpu_v1" (rect 5 0 68 12)(font "Arial" ))
|
| 25 |
|
|
(text "inst" (rect 8 456 25 468)(font "Arial" ))
|
| 26 |
|
|
(port
|
| 27 |
|
|
(pt 200 80)
|
| 28 |
|
|
(input)
|
| 29 |
|
|
(text "IDB[7..0]" (rect 0 0 44 12)(font "Arial" ))
|
| 30 |
|
|
(text "IDB[7..0]" (rect 132 72 176 84)(font "Arial" ))
|
| 31 |
|
|
(line (pt 184 80)(pt 200 80)(line_width 3))
|
| 32 |
|
|
)
|
| 33 |
|
|
(port
|
| 34 |
|
|
(pt 200 160)
|
| 35 |
|
|
(input)
|
| 36 |
|
|
(text "FRIDB[7..0]" (rect 0 0 60 12)(font "Arial" ))
|
| 37 |
|
|
(text "FRIDB[7..0]" (rect 116 152 176 164)(font "Arial" ))
|
| 38 |
|
|
(line (pt 184 160)(pt 200 160)(line_width 3))
|
| 39 |
|
|
)
|
| 40 |
|
|
(port
|
| 41 |
|
|
(pt 200 224)
|
| 42 |
|
|
(input)
|
| 43 |
|
|
(text "RIDB[7..0]" (rect 0 0 53 12)(font "Arial" ))
|
| 44 |
|
|
(text "RIDB[7..0]" (rect 123 216 176 228)(font "Arial" ))
|
| 45 |
|
|
(line (pt 184 224)(pt 200 224)(line_width 3))
|
| 46 |
|
|
)
|
| 47 |
|
|
(port
|
| 48 |
|
|
(pt 200 432)
|
| 49 |
|
|
(input)
|
| 50 |
|
|
(text "INT0" (rect 0 0 23 12)(font "Arial" ))
|
| 51 |
|
|
(text "INT0" (rect 153 424 176 436)(font "Arial" ))
|
| 52 |
|
|
(line (pt 184 432)(pt 200 432)(line_width 1))
|
| 53 |
|
|
)
|
| 54 |
|
|
(port
|
| 55 |
|
|
(pt 200 416)
|
| 56 |
|
|
(input)
|
| 57 |
|
|
(text "INT1" (rect 0 0 23 12)(font "Arial" ))
|
| 58 |
|
|
(text "INT1" (rect 153 408 176 420)(font "Arial" ))
|
| 59 |
|
|
(line (pt 184 416)(pt 200 416)(line_width 1))
|
| 60 |
|
|
)
|
| 61 |
|
|
(port
|
| 62 |
|
|
(pt 200 400)
|
| 63 |
|
|
(input)
|
| 64 |
|
|
(text "INT2" (rect 0 0 23 12)(font "Arial" ))
|
| 65 |
|
|
(text "INT2" (rect 153 392 176 404)(font "Arial" ))
|
| 66 |
|
|
(line (pt 184 400)(pt 200 400)(line_width 1))
|
| 67 |
|
|
)
|
| 68 |
|
|
(port
|
| 69 |
|
|
(pt 200 384)
|
| 70 |
|
|
(input)
|
| 71 |
|
|
(text "INT3" (rect 0 0 23 12)(font "Arial" ))
|
| 72 |
|
|
(text "INT3" (rect 153 376 176 388)(font "Arial" ))
|
| 73 |
|
|
(line (pt 184 384)(pt 200 384)(line_width 1))
|
| 74 |
|
|
)
|
| 75 |
|
|
(port
|
| 76 |
|
|
(pt 200 368)
|
| 77 |
|
|
(input)
|
| 78 |
|
|
(text "INT4" (rect 0 0 23 12)(font "Arial" ))
|
| 79 |
|
|
(text "INT4" (rect 153 360 176 372)(font "Arial" ))
|
| 80 |
|
|
(line (pt 184 368)(pt 200 368)(line_width 1))
|
| 81 |
|
|
)
|
| 82 |
|
|
(port
|
| 83 |
|
|
(pt 200 352)
|
| 84 |
|
|
(input)
|
| 85 |
|
|
(text "INT5" (rect 0 0 23 12)(font "Arial" ))
|
| 86 |
|
|
(text "INT5" (rect 153 344 176 356)(font "Arial" ))
|
| 87 |
|
|
(line (pt 184 352)(pt 200 352)(line_width 1))
|
| 88 |
|
|
)
|
| 89 |
|
|
(port
|
| 90 |
|
|
(pt 200 336)
|
| 91 |
|
|
(input)
|
| 92 |
|
|
(text "INT6" (rect 0 0 23 12)(font "Arial" ))
|
| 93 |
|
|
(text "INT6" (rect 153 328 176 340)(font "Arial" ))
|
| 94 |
|
|
(line (pt 184 336)(pt 200 336)(line_width 1))
|
| 95 |
|
|
)
|
| 96 |
|
|
(port
|
| 97 |
|
|
(pt 200 320)
|
| 98 |
|
|
(input)
|
| 99 |
|
|
(text "INT7" (rect 0 0 23 12)(font "Arial" ))
|
| 100 |
|
|
(text "INT7" (rect 153 312 176 324)(font "Arial" ))
|
| 101 |
|
|
(line (pt 184 320)(pt 200 320)(line_width 1))
|
| 102 |
|
|
)
|
| 103 |
|
|
(port
|
| 104 |
|
|
(pt 0 144)
|
| 105 |
|
|
(input)
|
| 106 |
|
|
(text "DBG_RX" (rect 0 0 43 12)(font "Arial" ))
|
| 107 |
|
|
(text "DBG_RX" (rect 21 139 64 151)(font "Arial" ))
|
| 108 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 1))
|
| 109 |
|
|
)
|
| 110 |
|
|
(port
|
| 111 |
|
|
(pt 0 416)
|
| 112 |
|
|
(input)
|
| 113 |
|
|
(text "PAIN[7..0]" (rect 0 0 51 12)(font "Arial" ))
|
| 114 |
|
|
(text "PAIN[7..0]" (rect 21 411 72 423)(font "Arial" ))
|
| 115 |
|
|
(line (pt 0 416)(pt 16 416)(line_width 3))
|
| 116 |
|
|
)
|
| 117 |
|
|
(port
|
| 118 |
|
|
(pt 0 32)
|
| 119 |
|
|
(input)
|
| 120 |
|
|
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
|
| 121 |
|
|
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
|
| 122 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
| 123 |
|
|
)
|
| 124 |
|
|
(port
|
| 125 |
|
|
(pt 0 48)
|
| 126 |
|
|
(input)
|
| 127 |
|
|
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
|
| 128 |
|
|
(text "RESET" (rect 21 43 56 55)(font "Arial" ))
|
| 129 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
| 130 |
|
|
)
|
| 131 |
|
|
(port
|
| 132 |
|
|
(pt 200 48)
|
| 133 |
|
|
(output)
|
| 134 |
|
|
(text "IAB[15..0]" (rect 24 0 73 12)(font "Arial" ))
|
| 135 |
|
|
(text "IAB[15..0]" (rect 127 40 176 52)(font "Arial" ))
|
| 136 |
|
|
(line (pt 200 48)(pt 184 48)(line_width 3))
|
| 137 |
|
|
)
|
| 138 |
|
|
(port
|
| 139 |
|
|
(pt 200 64)
|
| 140 |
|
|
(output)
|
| 141 |
|
|
(text "IWDB[7..0]" (rect 24 0 79 12)(font "Arial" ))
|
| 142 |
|
|
(text "IWDB[7..0]" (rect 121 56 176 68)(font "Arial" ))
|
| 143 |
|
|
(line (pt 200 64)(pt 184 64)(line_width 3))
|
| 144 |
|
|
)
|
| 145 |
|
|
(port
|
| 146 |
|
|
(pt 200 128)
|
| 147 |
|
|
(output)
|
| 148 |
|
|
(text "FRAB[11..0]" (rect 24 0 85 12)(font "Arial" ))
|
| 149 |
|
|
(text "FRAB[11..0]" (rect 115 120 176 132)(font "Arial" ))
|
| 150 |
|
|
(line (pt 200 128)(pt 184 128)(line_width 3))
|
| 151 |
|
|
)
|
| 152 |
|
|
(port
|
| 153 |
|
|
(pt 200 144)
|
| 154 |
|
|
(output)
|
| 155 |
|
|
(text "FRODB[7..0]" (rect 24 0 88 12)(font "Arial" ))
|
| 156 |
|
|
(text "FRODB[7..0]" (rect 112 136 176 148)(font "Arial" ))
|
| 157 |
|
|
(line (pt 200 144)(pt 184 144)(line_width 3))
|
| 158 |
|
|
)
|
| 159 |
|
|
(port
|
| 160 |
|
|
(pt 200 208)
|
| 161 |
|
|
(output)
|
| 162 |
|
|
(text "RODB[7..0]" (rect 24 0 81 12)(font "Arial" ))
|
| 163 |
|
|
(text "RODB[7..0]" (rect 119 200 176 212)(font "Arial" ))
|
| 164 |
|
|
(line (pt 200 208)(pt 184 208)(line_width 3))
|
| 165 |
|
|
)
|
| 166 |
|
|
(port
|
| 167 |
|
|
(pt 200 96)
|
| 168 |
|
|
(output)
|
| 169 |
|
|
(text "PGM_WR" (rect 24 0 72 12)(font "Arial" ))
|
| 170 |
|
|
(text "PGM_WR" (rect 128 88 176 100)(font "Arial" ))
|
| 171 |
|
|
(line (pt 200 96)(pt 184 96)(line_width 1))
|
| 172 |
|
|
)
|
| 173 |
|
|
(port
|
| 174 |
|
|
(pt 200 192)
|
| 175 |
|
|
(output)
|
| 176 |
|
|
(text "WR" (rect 24 0 42 12)(font "Arial" ))
|
| 177 |
|
|
(text "WR" (rect 158 184 176 196)(font "Arial" ))
|
| 178 |
|
|
(line (pt 200 192)(pt 184 192)(line_width 1))
|
| 179 |
|
|
)
|
| 180 |
|
|
(port
|
| 181 |
|
|
(pt 200 240)
|
| 182 |
|
|
(output)
|
| 183 |
|
|
(text "REG_SEL" (rect 24 0 73 12)(font "Arial" ))
|
| 184 |
|
|
(text "REG_SEL" (rect 127 232 176 244)(font "Arial" ))
|
| 185 |
|
|
(line (pt 200 240)(pt 184 240)(line_width 1))
|
| 186 |
|
|
)
|
| 187 |
|
|
(port
|
| 188 |
|
|
(pt 200 176)
|
| 189 |
|
|
(output)
|
| 190 |
|
|
(text "MEM_SEL" (rect 24 0 73 12)(font "Arial" ))
|
| 191 |
|
|
(text "MEM_SEL" (rect 127 168 176 180)(font "Arial" ))
|
| 192 |
|
|
(line (pt 200 176)(pt 184 176)(line_width 1))
|
| 193 |
|
|
)
|
| 194 |
|
|
(port
|
| 195 |
|
|
(pt 0 128)
|
| 196 |
|
|
(output)
|
| 197 |
|
|
(text "DBG_TX" (rect 24 0 65 12)(font "Arial" ))
|
| 198 |
|
|
(text "DBG_TX" (rect 24 120 65 132)(font "Arial" ))
|
| 199 |
|
|
(line (pt 16 128)(pt 0 128)(line_width 1))
|
| 200 |
|
|
)
|
| 201 |
|
|
(port
|
| 202 |
|
|
(pt 0 432)
|
| 203 |
|
|
(output)
|
| 204 |
|
|
(text "PAOUT[7..0]" (rect 24 0 86 12)(font "Arial" ))
|
| 205 |
|
|
(text "PAOUT[7..0]" (rect 24 424 86 436)(font "Arial" ))
|
| 206 |
|
|
(line (pt 16 432)(pt 0 432)(line_width 3))
|
| 207 |
|
|
)
|
| 208 |
|
|
(port
|
| 209 |
|
|
(pt 200 256)
|
| 210 |
|
|
(output)
|
| 211 |
|
|
(text "CLK_OUT" (rect 24 0 73 12)(font "Arial" ))
|
| 212 |
|
|
(text "CLK_OUT" (rect 127 248 176 260)(font "Arial" ))
|
| 213 |
|
|
(line (pt 200 256)(pt 184 256)(line_width 1))
|
| 214 |
|
|
)
|
| 215 |
|
|
(port
|
| 216 |
|
|
(pt 200 32)
|
| 217 |
|
|
(output)
|
| 218 |
|
|
(text "CLK_OUTN" (rect 24 0 81 12)(font "Arial" ))
|
| 219 |
|
|
(text "CLK_OUTN" (rect 119 24 176 36)(font "Arial" ))
|
| 220 |
|
|
(line (pt 200 32)(pt 184 32)(line_width 1))
|
| 221 |
|
|
)
|
| 222 |
|
|
(port
|
| 223 |
|
|
(pt 200 288)
|
| 224 |
|
|
(output)
|
| 225 |
|
|
(text "STOP" (rect 24 0 52 12)(font "Arial" ))
|
| 226 |
|
|
(text "STOP" (rect 148 280 176 292)(font "Arial" ))
|
| 227 |
|
|
(line (pt 200 288)(pt 184 288)(line_width 1))
|
| 228 |
|
|
)
|
| 229 |
|
|
(port
|
| 230 |
|
|
(pt 200 272)
|
| 231 |
|
|
(output)
|
| 232 |
|
|
(text "RESET_OUT" (rect 24 0 87 12)(font "Arial" ))
|
| 233 |
|
|
(text "RESET_OUT" (rect 113 264 176 276)(font "Arial" ))
|
| 234 |
|
|
(line (pt 200 272)(pt 184 272)(line_width 1))
|
| 235 |
|
|
)
|
| 236 |
|
|
(drawing
|
| 237 |
|
|
(rectangle (rect 16 16 184 448)(line_width 1))
|
| 238 |
|
|
)
|
| 239 |
|
|
)
|