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 240 320)
|
24 |
|
|
(text "fpz8_timer" (rect 5 0 56 12)(font "Arial" ))
|
25 |
|
|
(text "inst" (rect 8 240 25 252)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 48)
|
28 |
|
|
(input)
|
29 |
|
|
(text "RAB[11..0]" (rect 0 0 54 12)(font "Arial" ))
|
30 |
|
|
(text "RAB[11..0]" (rect 21 40 75 52)(font "Arial" ))
|
31 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 64)
|
35 |
|
|
(input)
|
36 |
|
|
(text "RIDB[7..0]" (rect 0 0 53 12)(font "Arial" ))
|
37 |
|
|
(text "RIDB[7..0]" (rect 21 56 74 68)(font "Arial" ))
|
38 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 176 80)
|
42 |
|
|
(input)
|
43 |
|
|
(text "SIDB[7..0]" (rect 0 0 51 12)(font "Arial" ))
|
44 |
|
|
(text "SIDB[7..0]" (rect 101 72 152 84)(font "Arial" ))
|
45 |
|
|
(line (pt 160 80)(pt 176 80)(line_width 3))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 0 96)
|
49 |
|
|
(input)
|
50 |
|
|
(text "REG_SEL" (rect 0 0 49 12)(font "Arial" ))
|
51 |
|
|
(text "REG_SEL" (rect 21 88 70 100)(font "Arial" ))
|
52 |
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 0 32)
|
56 |
|
|
(input)
|
57 |
|
|
(text "WR" (rect 0 0 18 12)(font "Arial" ))
|
58 |
|
|
(text "WR" (rect 21 24 39 36)(font "Arial" ))
|
59 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 0 112)
|
63 |
|
|
(input)
|
64 |
|
|
(text "CLK_IN" (rect 0 0 38 12)(font "Arial" ))
|
65 |
|
|
(text "CLK_IN" (rect 21 104 59 116)(font "Arial" ))
|
66 |
|
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 0 144)
|
70 |
|
|
(input)
|
71 |
|
|
(text "STOP" (rect 0 0 28 12)(font "Arial" ))
|
72 |
|
|
(text "STOP" (rect 21 136 49 148)(font "Arial" ))
|
73 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 1))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 176 216)
|
77 |
|
|
(input)
|
78 |
|
|
(text "TMR_IN" (rect 0 0 40 12)(font "Arial" ))
|
79 |
|
|
(text "TMR_IN" (rect 112 208 152 220)(font "Arial" ))
|
80 |
|
|
(line (pt 160 216)(pt 176 216)(line_width 1))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 176 32)
|
84 |
|
|
(input)
|
85 |
|
|
(text "TMR_ID[1..0]" (rect 0 0 66 12)(font "Arial" ))
|
86 |
|
|
(text "TMR_ID[1..0]" (rect 86 24 152 36)(font "Arial" ))
|
87 |
|
|
(line (pt 160 32)(pt 176 32)(line_width 3))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 0 128)
|
91 |
|
|
(input)
|
92 |
|
|
(text "RESET" (rect 0 0 35 12)(font "Arial" ))
|
93 |
|
|
(text "RESET" (rect 21 120 56 132)(font "Arial" ))
|
94 |
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
95 |
|
|
)
|
96 |
|
|
(port
|
97 |
|
|
(pt 0 80)
|
98 |
|
|
(output)
|
99 |
|
|
(text "RODB[7..0]" (rect 0 0 57 12)(font "Arial" ))
|
100 |
|
|
(text "RODB[7..0]" (rect 24 72 81 84)(font "Arial" ))
|
101 |
|
|
(line (pt 16 80)(pt 0 80)(line_width 3))
|
102 |
|
|
)
|
103 |
|
|
(port
|
104 |
|
|
(pt 0 216)
|
105 |
|
|
(output)
|
106 |
|
|
(text "INT" (rect 0 0 17 12)(font "Arial" ))
|
107 |
|
|
(text "INT" (rect 24 208 41 220)(font "Arial" ))
|
108 |
|
|
(line (pt 16 216)(pt 0 216)(line_width 1))
|
109 |
|
|
)
|
110 |
|
|
(port
|
111 |
|
|
(pt 176 200)
|
112 |
|
|
(output)
|
113 |
|
|
(text "TMR_OUT" (rect 0 0 50 12)(font "Arial" ))
|
114 |
|
|
(text "TMR_OUT" (rect 105 195 155 207)(font "Arial" ))
|
115 |
|
|
(line (pt 176 200)(pt 160 200)(line_width 1))
|
116 |
|
|
)
|
117 |
|
|
(drawing
|
118 |
|
|
(rectangle (rect 16 16 160 232)(line_width 1))
|
119 |
|
|
)
|
120 |
|
|
)
|