1 |
7 |
robfinch |
<html>
|
2 |
|
|
|
3 |
|
|
<head>
|
4 |
|
|
<meta http-equiv="Content-Language" content="en-ca">
|
5 |
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
6 |
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
7 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
8 |
|
|
<title>rtfTextController</title>
|
9 |
|
|
|
10 |
|
|
<!--mstheme--><link rel="stylesheet" type="text/css" href="../../_themes/water/wate1011.css"><meta name="Microsoft Theme" content="water 1011, default">
|
11 |
|
|
</head>
|
12 |
|
|
|
13 |
|
|
<body>
|
14 |
|
|
|
15 |
|
|
<p><font size="6">rtfTextController</font></p>
|
16 |
|
|
<p><font size="5">Description</font></p>
|
17 |
|
|
<p><font size="4">This is a text mode video display controller that supports
|
18 |
|
|
color. The display memory is nine bits wide, allowing 512 different
|
19 |
|
|
simulataneous characters to be displayed. The controller uses several internal
|
20 |
|
|
memories.</font></p>
|
21 |
|
|
<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
22 |
|
|
<tr>
|
23 |
|
|
<td width="27%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
24 |
|
|
Address</td>
|
25 |
|
|
<td width="73%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
26 |
|
|
Description</td>
|
27 |
|
|
</tr>
|
28 |
|
|
<tr>
|
29 |
|
|
<td width="27%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
30 |
|
|
$FFD0_xxxx</td>
|
31 |
|
|
<td width="73%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
32 |
|
|
text screen memory area, currently the controller only supports a 4k memory</td>
|
33 |
|
|
</tr>
|
34 |
|
|
<tr>
|
35 |
|
|
<td width="27%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
36 |
|
|
$FFD1_xxxx</td>
|
37 |
|
|
<td width="73%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
38 |
|
|
color attribute memory area, currently the controller only supports a 4k
|
39 |
|
|
memory</td>
|
40 |
|
|
</tr>
|
41 |
|
|
<tr>
|
42 |
|
|
<td width="27%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
43 |
|
|
$FFD2_xxxx</td>
|
44 |
|
|
<td width="73%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
45 |
|
|
character bitmap memory, currently the controller only supports a 4k memory,
|
46 |
|
|
which allows 512 8x8 character bitmaps.</td>
|
47 |
|
|
</tr>
|
48 |
|
|
<tr>
|
49 |
|
|
<td width="27%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
50 |
|
|
$FFDA_00xx</td>
|
51 |
|
|
<td width="73%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
52 |
|
|
text controller register area</td>
|
53 |
|
|
</tr>
|
54 |
|
|
<tr>
|
55 |
|
|
<td width="27%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
56 |
|
|
<td width="73%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
57 |
|
|
</tr>
|
58 |
|
|
</table>
|
59 |
|
|
<p style="margin-bottom: 0"> </p>
|
60 |
|
|
|
61 |
|
|
<p><font face="Arial"><b>Register Description</b></font></p>
|
62 |
|
|
<table border="1" cellspacing="0" width="90%" style="border-left:1.5pt solid black; border-right:1.5pt solid black; border-top:1.5pt solid black; border-bottom:.75pt solid black; background-color:white" cellpadding="2" fpstyle="27,011111100">
|
63 |
|
|
<tr>
|
64 |
|
|
<td width="11%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><font face="Arial"><b>Reg. No.</b></font></td>
|
65 |
|
|
<td width="26%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><b><font face="Arial">15
|
66 |
|
|
0</font></b></td>
|
67 |
|
|
<td width="28%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><font face="Arial"><b>Function</b></font></td>
|
68 |
|
|
<td width="111%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><font face="Arial"><b>Description</b></font></td>
|
69 |
|
|
</tr>
|
70 |
|
|
<tr>
|
71 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">0</font></td>
|
72 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">
|
73 |
|
|
-------- nnnnnnnn</font></td>
|
74 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
75 |
|
|
<font face="Arial">number of columns</font></td>
|
76 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
77 |
|
|
</tr>
|
78 |
|
|
<tr>
|
79 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">1</font></td>
|
80 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">-------- nnnnnnnn</font></td>
|
81 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
82 |
|
|
<font face="Arial">number of row</font></td>
|
83 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
84 |
|
|
</tr>
|
85 |
|
|
<tr>
|
86 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">2</font></td>
|
87 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
88 |
|
|
---- nnnnnnnnnnnn</td>
|
89 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
90 |
|
|
window left</td>
|
91 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
92 |
|
|
Text window position- pixels before the display starts, referenced to the
|
93 |
|
|
end-of-line signal</td>
|
94 |
|
|
</tr>
|
95 |
|
|
<tr>
|
96 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">3</font></td>
|
97 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">----
|
98 |
|
|
nnnnnnnnnnnn</font></td>
|
99 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
100 |
|
|
<font face="Arial">window top</font></td>
|
101 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
102 |
|
|
<font face="Arial">Text window position - scan lines down from the top of
|
103 |
|
|
the screen referenced tothe end-of-frame signal</font></td>
|
104 |
|
|
</tr>
|
105 |
|
|
<tr>
|
106 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">4</font></td>
|
107 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
108 |
|
|
<font face="Arial">-------- --- nnnnn</font></td>
|
109 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
110 |
|
|
<font face="Arial">max scanline</font></td>
|
111 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
112 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">maximum scan
|
113 |
|
|
line used to display chars</font></p>
|
114 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">default 7.</font></td>
|
115 |
|
|
</tr>
|
116 |
|
|
<tr>
|
117 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">5</font></td>
|
118 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">--------
|
119 |
|
|
hhhh wwww</font></td>
|
120 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
121 |
|
|
<font face="Arial">pixel size</font></td>
|
122 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
123 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">pixel size in
|
124 |
|
|
video clocks and scan lines</font></p>
|
125 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">default is 1
|
126 |
|
|
(2 video clocks per pixel) and 3 (four video scan lines per pixel).</font></td>
|
127 |
|
|
</tr>
|
128 |
|
|
<tr>
|
129 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
130 |
|
|
<font face="Arial">8</font></td>
|
131 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">--------
|
132 |
|
|
--- sssss</font></td>
|
133 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
134 |
|
|
<font face="Arial">cursor start</font></td>
|
135 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
136 |
|
|
<font face="Arial">scan line cursor display starts on</font></td>
|
137 |
|
|
</tr>
|
138 |
|
|
<tr>
|
139 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
140 |
|
|
<font face="Arial">9</font></td>
|
141 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">--------
|
142 |
|
|
--- eeeee</font></td>
|
143 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
144 |
|
|
<font face="Arial">cursor end</font></td>
|
145 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
146 |
|
|
<font face="Arial">scan line cursor display ends on</font></td>
|
147 |
|
|
</tr>
|
148 |
|
|
<tr>
|
149 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
150 |
|
|
<font face="Arial">10</font></td>
|
151 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
152 |
|
|
aaaaaaaa aaaaaaaa</td>
|
153 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
154 |
|
|
display offset</td>
|
155 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
156 |
|
|
<font face="Arial">starting address of the text screen in the display
|
157 |
|
|
memory, defaults to zero</font></td>
|
158 |
|
|
</tr>
|
159 |
|
|
<tr>
|
160 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
161 |
|
|
<font face="Arial">11</font></td>
|
162 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
163 |
|
|
aaaaaaaa aaaaaaaa</td>
|
164 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
165 |
|
|
cursor position</td>
|
166 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
167 |
|
|
<font face="Arial">location of the cursor in the display memory</font></td>
|
168 |
|
|
</tr>
|
169 |
|
|
<tr>
|
170 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
171 |
|
|
<font face="Arial">12</font></td>
|
172 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
173 |
|
|
<font face="Arial">aaaaaaaa aaaaaaaa</font></td>
|
174 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
175 |
|
|
<font face="Arial">light pen position</font></td>
|
176 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
177 |
|
|
<font face="Arial">address of the light pen</font></td>
|
178 |
|
|
</tr>
|
179 |
|
|
<tr>
|
180 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
181 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
182 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
183 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
184 |
|
|
</tr>
|
185 |
|
|
<tr>
|
186 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
187 |
|
|
<td width="26%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
188 |
|
|
<td width="28%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
189 |
|
|
<td width="111%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
190 |
|
|
</tr>
|
191 |
|
|
</table>
|
192 |
|
|
<p style="margin-bottom: 0"> </p>
|
193 |
|
|
<p style="margin-bottom: 0"><b><span lang="en-ca">Module Interface Description</span></b></p>
|
194 |
|
|
<p style="margin-bottom: 0"><span lang="en-ca"><font face="Arial" size="4">
|
195 |
|
|
rtfTextController</font></span></p>
|
196 |
|
|
<p style="margin-bottom: 0; margin-top:0"><font face="Arial">
|
197 |
|
|
<font color="#00FF00">module</font> <span lang="en-ca">rtfTextController</span>(rst_i,
|
198 |
|
|
clk_i, cyc_i, stb_i, ack<span lang="en-ca">_o</span>, w<span lang="en-ca">e_i</span>, adr<span lang="en-ca">_i</span>, d<span lang="en-ca">at_i</span>, d<span lang="en-ca">at_o,
|
199 |
|
|
vclk, eol, eof, blank, border, rgbIn, rgbOut</span>);<br>
|
200 |
|
|
<br>
|
201 |
|
|
</font></p>
|
202 |
|
|
<table border="1" cellspacing="3" width="90%" style="border-left:1.5pt solid black; border-right:1.5pt solid black; border-top:1.5pt solid black; border-bottom:.75pt solid black; background-color:white" fpstyle="27,011111100">
|
203 |
|
|
<tr>
|
204 |
|
|
<td width="12%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><span lang="en-ca"><b>
|
205 |
|
|
<font face="Arial" color="#000080">System</font></b></span></td>
|
206 |
|
|
<td width="91%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><b><font face="Arial">Description</font></b></td>
|
207 |
|
|
</tr>
|
208 |
|
|
<tr>
|
209 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">rst_i</font></td>
|
210 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal is normally connected to the
|
211 |
|
|
system reset signal. It resets the <span lang="en-ca">text controller</span>
|
212 |
|
|
interface forcing it to the <span lang="en-ca">reset</span> state. </font>
|
213 |
|
|
</td>
|
214 |
|
|
</tr>
|
215 |
|
|
<tr>
|
216 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">clk_i</font></td>
|
217 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial"><span lang="en-ca">T</span>his is usually
|
218 |
|
|
connected to the system clock and is used as a base timing clock for I/O
|
219 |
|
|
operations.</font></td>
|
220 |
|
|
</tr>
|
221 |
|
|
<tr>
|
222 |
|
|
<td width="103%" colspan="2" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font color="#000080">
|
223 |
|
|
<span lang="en-ca">Slave Port</span></font></td>
|
224 |
|
|
</tr>
|
225 |
|
|
<tr>
|
226 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">cyc_i</font></td>
|
227 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">indicates that a valid bus cycle is
|
228 |
|
|
taking place. The core will not respond to the bus unless this signal is
|
229 |
|
|
active.</font></td>
|
230 |
|
|
</tr>
|
231 |
|
|
<tr>
|
232 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">stb_i</td>
|
233 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">This strobe signal also indicates that a valid bus cycle is
|
234 |
|
|
taking place</td>
|
235 |
|
|
</tr>
|
236 |
|
|
<tr>
|
237 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">ack_o</font></td>
|
238 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal indicates that the core has
|
239 |
|
|
processed the bus transaction (it is the logical and of cyc_i and stb_i).</font></td>
|
240 |
|
|
</tr>
|
241 |
|
|
<tr>
|
242 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">we_i</font></td>
|
243 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal is used to signify a write
|
244 |
|
|
operation to the text controller<span lang="en-ca">.</span></font></td>
|
245 |
|
|
</tr>
|
246 |
|
|
<tr>
|
247 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">adr<span lang="en-ca">_i</span></font></td>
|
248 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
249 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">This
|
250 |
|
|
<span lang="en-ca">thirty-two bit </span>address b<span lang="en-ca">us
|
251 |
|
|
is </span>used
|
252 |
|
|
to address one of <span lang="en-ca">text controller</span></font><span lang="en-ca"><font face="Arial">s'</font></span><font face="Arial"><span lang="en-ca">s</span> registers
|
253 |
|
|
or internal memory. (Registers are described
|
254 |
|
|
below). </font><span lang="en-ca">
|
255 |
|
|
<font face="Arial">Registers respond to the address range $FFDA_00xx</font></span></p>
|
256 |
|
|
</td>
|
257 |
|
|
</tr>
|
258 |
|
|
<tr>
|
259 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">dat_i</font></td>
|
260 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This is the <span lang="en-ca">sixteen</span>
|
261 |
|
|
bit data input bus to the <span lang="en-ca">text controller</span>.</font></td>
|
262 |
|
|
</tr>
|
263 |
|
|
<tr>
|
264 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">dat_o</font></td>
|
265 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This is the <span lang="en-ca">sixteen</span> bit data output bus
|
266 |
|
|
from the text controller.</font></td>
|
267 |
|
|
</tr>
|
268 |
|
|
<tr>
|
269 |
|
|
<td width="103%" colspan="2" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
270 |
|
|
<span lang="en-ca"><font color="#000080">Video</font></span><font color="#000080"><span lang="en-ca">
|
271 |
|
|
Ports</span></font></td>
|
272 |
|
|
</tr>
|
273 |
|
|
<tr>
|
274 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
275 |
|
|
<font face="Arial">vclk</font></td>
|
276 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
277 |
|
|
This input is the video clock input. Pixel timing is derived from it.</td>
|
278 |
|
|
</tr>
|
279 |
|
|
<tr>
|
280 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
281 |
|
|
eol</td>
|
282 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
283 |
|
|
This input signal signals the end of a video scanline (end-of-line)</td>
|
284 |
|
|
</tr>
|
285 |
|
|
<tr>
|
286 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
287 |
|
|
<font face="Arial">eof</font></td>
|
288 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This <span lang="en-ca">input </span>signal indicates
|
289 |
|
|
<span lang="en-ca">the end of the video frame.</span></font></td>
|
290 |
|
|
</tr>
|
291 |
|
|
<tr>
|
292 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
293 |
|
|
blank</td>
|
294 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This
|
295 |
|
|
input signal indicates that the display should be blanked. It is active
|
296 |
|
|
during the video blanking period.</font></td>
|
297 |
|
|
</tr>
|
298 |
|
|
<tr>
|
299 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
300 |
|
|
<span lang="en-ca">border</span></td>
|
301 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
302 |
|
|
This input signal indicates that a border area is active.</td>
|
303 |
|
|
</tr>
|
304 |
|
|
<tr>
|
305 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
306 |
|
|
<font face="Arial">rgbIn</font></td>
|
307 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
308 |
|
|
This 24 bit input bus can be connected to an external RGB input. (The text
|
309 |
|
|
controller may display on top of the external input).</td>
|
310 |
|
|
</tr>
|
311 |
|
|
<tr>
|
312 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
313 |
|
|
<font face="Arial">rgbOut</font></td>
|
314 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
315 |
|
|
This output signal bus contains the 24 bit RGB display data.</td>
|
316 |
|
|
</tr>
|
317 |
|
|
<tr>
|
318 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><span lang="en-ca"><b>
|
319 |
|
|
<font face="Arial" color="#000080">Parameters</font></b></span></td>
|
320 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
321 |
|
|
</tr>
|
322 |
|
|
<tr>
|
323 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
324 |
|
|
<font face="Arial">ROWS</font></td>
|
325 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">Use this parameter to specify the
|
326 |
|
|
default number of text rows.</font></td>
|
327 |
|
|
</tr>
|
328 |
|
|
<tr>
|
329 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
330 |
|
|
COLS</td>
|
331 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
332 |
|
|
Use this parameter to specify the default number of text columns.</td>
|
333 |
|
|
</tr>
|
334 |
|
|
</table>
|
335 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </p>
|
336 |
|
|
<hr>
|
337 |
|
|
<p> </p>
|
338 |
|
|
|
339 |
|
|
<h1 style="margin-bottom: 0"><b><font size="4" face="Arial">WISHBONE Compatibility
|
340 |
|
|
Datasheet</font></b></h1>
|
341 |
|
|
<p style="margin-bottom: 0"><font face="Arial">The text controller core may be directly
|
342 |
|
|
interfaced to a WISHBONE compatible bus.</font></p>
|
343 |
|
|
<p style="margin-bottom: 0"> </p>
|
344 |
|
|
<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: double; border-top-width: 3; border-bottom-style: solid; border-bottom-width: 1" width="65%">
|
345 |
|
|
<tr>
|
346 |
|
|
<td width="100%" colspan="3" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
347 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE
|
348 |
|
|
Datasheet</font></p>
|
349 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE SoC
|
350 |
|
|
Architecture Specification, Revision B.3</font></td>
|
351 |
|
|
</tr>
|
352 |
|
|
<tr>
|
353 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
354 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
355 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
356 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
357 |
|
|
</tr>
|
358 |
|
|
<tr>
|
359 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
360 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Description:</font></td>
|
361 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
362 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">
|
363 |
|
|
Specifications:</font></td>
|
364 |
|
|
</tr>
|
365 |
|
|
<tr>
|
366 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
367 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">General
|
368 |
|
|
Description:</font></td>
|
369 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
370 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><span lang="en-ca">
|
371 |
|
|
rtfTextController - Text mode video display controller</span></td>
|
372 |
|
|
</tr>
|
373 |
|
|
<tr>
|
374 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
375 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Supported
|
376 |
|
|
Cycles:</font></td>
|
377 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
378 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, READ /
|
379 |
|
|
WRITE</font></p>
|
380 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, BLOCK
|
381 |
|
|
READ / WRITE</font></p>
|
382 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, RMW</font></td>
|
383 |
|
|
</tr>
|
384 |
|
|
<tr>
|
385 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
386 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
387 |
|
|
size:</font></p>
|
388 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
389 |
|
|
granularity:</font></p>
|
390 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
391 |
|
|
maximum operand size:</font></p>
|
392 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data transfer
|
393 |
|
|
ordering:</font></p>
|
394 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data transfer
|
395 |
|
|
sequencing</font></td>
|
396 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
397 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><span lang="en-ca">16</span><font face="Arial">
|
398 |
|
|
bit</font></p>
|
399 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">
|
400 |
|
|
<span lang="en-ca">16</span> bit</font></p>
|
401 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">
|
402 |
|
|
<span lang="en-ca">16</span> bit</font></p>
|
403 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Little Endian</font></p>
|
404 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">any
|
405 |
|
|
(undefined)</font></td>
|
406 |
|
|
</tr>
|
407 |
|
|
<tr>
|
408 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
409 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Clock
|
410 |
|
|
frequency constraints:</font></td>
|
411 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1"> </td>
|
412 |
|
|
</tr>
|
413 |
|
|
<tr>
|
414 |
|
|
<td width="45%" valign="top" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
415 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Supported
|
416 |
|
|
signal list and cross reference to equivalent WISHBONE signals</font></td>
|
417 |
|
|
<td width="25%" valign="top" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
418 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Signal Name:</font></p>
|
419 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ack<span lang="en-ca">_o</span></font></p>
|
420 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">adr<span lang="en-ca">_i(31:0)</span></font></p>
|
421 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">clk<span lang="en-ca">_i</span></font></p>
|
422 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">d<span lang="en-ca">at_i</span>(<span lang="en-ca">15</span>:0)</font></p>
|
423 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">d<span lang="en-ca">a</span>t<span lang="en-ca">_o</span>(<span lang="en-ca">15</span>:0)</font></p>
|
424 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">cyc<span lang="en-ca">_i</span></font></p>
|
425 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><span lang="en-ca">stb_i</span></p>
|
426 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">w<span lang="en-ca">e_i</span></font></td>
|
427 |
|
|
<td width="30%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
428 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE
|
429 |
|
|
Equiv.</font></p>
|
430 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ACK_O</font></p>
|
431 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ADR_I()</font></p>
|
432 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">CLK_I</font></p>
|
433 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">DAT_I()</font></p>
|
434 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">DAT_O()</font></p>
|
435 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">CYC_I</font></p>
|
436 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">STB_I</font></p>
|
437 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WE_I</font></p>
|
438 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
439 |
|
|
</tr>
|
440 |
|
|
<tr>
|
441 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
442 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Special
|
443 |
|
|
Requirements:</font></td>
|
444 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
445 |
|
|
<p style="margin-top: 0; margin-bottom: 0">external sync generator</td>
|
446 |
|
|
</tr>
|
447 |
|
|
</table>
|
448 |
|
|
|
449 |
|
|
<p style="margin-bottom: 0"> </p>
|
450 |
|
|
|
451 |
|
|
<p> </p>
|
452 |
|
|
|
453 |
|
|
</body>
|
454 |
|
|
|
455 |
|
|
</html>
|