OpenCores
URL https://opencores.org/ocsvn/t48/t48/trunk

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_1_beta/] [KNOWN_BUGS] - Blame information for rev 212

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 105 arniml
 
2
Known bugs of the T48 uController core
3
======================================
4 212 arniml
Version: $Date: 2005-11-02 21:16:34 $
5 105 arniml
 
6
 
7 212 arniml
Release 0.6 BETA
8
----------------
9
 
10
*******************************************************************************
11
P2 Port value restored after expander access
12
 
13
After access to expander interface (ANLD Pp; MOVD A,Pp; MOVD Pp,A; ORLD Pp)
14
the port value of P2 is restored. This is wrong according to chapter "Port 2
15
Operations" of the "Expanded MCS-48 System" manual. It states that previously
16
latched I/O information will be removed and not restored.
17
 
18
Fixed in:
19
p2.vhd 1.8
20
Fix will be included in next release.
21
 
22
*******************************************************************************
23
Problem when INT and JMP
24
 
25
When code is executed from Memory Bank 1, the injected CALL triggered by the
26
interrupt does not always vector to address 3. This happens because of a bus
27
collision between the decoder unit and the db_bus unit. The resulting address
28
can be either:
29
* 000h, 001h, 002h, 003h for external and timer interrupt
30
* 004h, 005h, 006h, 007h for timer interrupt
31
 
32
The problem was introduced in release 0.6 BETA when the glitch on PCH was
33
fixed.
34
 
35
Fixed in:
36
decoder.vhd 1.21
37
New regression test: int_on_mb1
38
Fix will be included in next release.
39
 
40
 
41
 
42 163 arniml
Release 0.5 BETA
43
----------------
44
 
45
*******************************************************************************
46 212 arniml
P2 Port value restored after expander access
47
 
48
See above.
49
 
50
*******************************************************************************
51 189 arniml
Target address of JMP and CALL to Program Memory Bank 1 corrupted by interrupt
52
 
53
An interrupt occuring during the execution of a JMP instruction, forces bit 11
54
of the target address to 0. This corrupts target addresses that are located in
55
Program Memory Bank 1.
56
 
57
Fixed in:
58
int.vhd 1.5
59
New regression test: white_box/int_on_int
60
Fix will be included in next release.
61
 
62
*******************************************************************************
63 175 arniml
MSB of Program Counter changed upon PC increment
64
 
65
The current implementation of the Program Counter allows that the MSB (bit 11)
66
is modifed when the PC increments at address 07FFh linear code execution. This
67
is contrary to the description found in "The Expanded MCS-48 System" which
68
states that bit 11 is only altered by JMP and CALL/RET but not by normal
69
increment.
70
 
71
Fixed in:
72
pmem_crtl.vhd 1.4
73
New regression test: white_box/pc_wrap_bit11
74
Fix will be included in next release.
75
 
76
*******************************************************************************
77 163 arniml
Wrong clock applied to T0
78
 
79
After executing the 'ENT0 CLK' instruction, the internal clock (XTAL divided
80
by 3) should be applied to T0.
81
The t48_core applies clk_i to T0. This is equal to XTAL in the current
82
implementation of t8048 and others. Therefore, the clock at T0 is three times
83
faster than specified.
84
 
85
Fixed in:
86
clock_ctrl.vhd 1.7
87
t48_core.vhd 1.8
88
Fix will be included in next release.
89
 
90
 
91
 
92 139 arniml
Release 0.4 BETA
93
----------------
94
 
95
*******************************************************************************
96 212 arniml
P2 Port value restored after expander access
97
 
98
See above.
99
 
100
*******************************************************************************
101 189 arniml
Target address of JMP and CALL to Program Memory Bank 1 corrupted by interrupt
102
 
103
See above.
104
 
105
*******************************************************************************
106 175 arniml
MSB of Program Counter changed upon PC increment
107
 
108
See above.
109
 
110
*******************************************************************************
111 163 arniml
Wrong clock applied to T0
112
 
113
See above.
114
 
115
*******************************************************************************
116 146 arniml
RD' and WR' not asserted for INS A, BUS and OUTL BUS, A
117
 
118
The control signals RD' and WR' are not asserted when the instructions INS A,
119
BUS and OUTL BUS, A are executed. The BUS is read or written but the control
120
signals are missing.
121
 
122
Fixed in:
123
decoder.vhd 1.16
124
Fix will be included in next release.
125
 
126
*******************************************************************************
127 139 arniml
P1 constantly in push-pull mode in t8048
128
 
129
Port P1 is constantly driven by an active push-pull driver instead of an
130
open-collector driver type. This inhibits using any bit of P1 in input
131
direction.
132
 
133
Fixed in:
134
t8048.vhd 1.4
135
Fix will be included in next release.
136
 
137
 
138
 
139 135 arniml
Release 0.3 BETA
140
----------------
141
 
142
*******************************************************************************
143 212 arniml
P2 Port value restored after expander access
144
 
145
See above.
146
 
147
*******************************************************************************
148 189 arniml
Target address of JMP and CALL to Program Memory Bank 1 corrupted by interrupt
149
 
150
See above.
151
 
152
*******************************************************************************
153 175 arniml
MSB of Program Counter changed upon PC increment
154
 
155
See above.
156
 
157
*******************************************************************************
158 163 arniml
Wrong clock applied to T0
159
 
160
See above.
161
 
162
*******************************************************************************
163 146 arniml
RD' and WR' not asserted for INS A, BUS and OUTL BUS, A
164
 
165
See above.
166
 
167
*******************************************************************************
168 139 arniml
P1 constantly in push-pull mode in t8048
169
 
170
See above.
171
 
172
*******************************************************************************
173 135 arniml
PSENn Timing
174
 
175
PSENn is erroneously activated during read or write from external memory when
176
the read and write strobe signals RDn and WRn are active. This happens when
177
code is executed from external Program Memory.
178
 
179
The problem lies in the decoder module where the PSENn signal is generated
180
based on the current machine cycle.
181
 
182
Fixed in decoder.vhd 1.15
183
Added waveform check for PSENn in if_timing.vhd 1.3
184
New regression test: white_box/psen_rd_wr_timing
185
Fix will be included in next release.
186
 
187
 
188
 
189 117 arniml
Release 0.2 BETA
190
----------------
191
 
192
*******************************************************************************
193 212 arniml
P2 Port value restored after expander access
194
 
195
See above.
196
 
197
*******************************************************************************
198 175 arniml
MSB of Program Counter changed upon PC increment
199
 
200
See above.
201
 
202
*******************************************************************************
203 163 arniml
Wrong clock applied to T0
204
 
205
See above.
206
 
207
*******************************************************************************
208 146 arniml
RD' and WR' not asserted for INS A, BUS and OUTL BUS, A
209
 
210
See above.
211
 
212
*******************************************************************************
213 139 arniml
P1 constantly in push-pull mode in t8048
214
 
215
See above.
216
 
217
*******************************************************************************
218 135 arniml
PSENn Timing
219
 
220
See above.
221
 
222
*******************************************************************************
223 117 arniml
Program Memory bank can be switched during interrupt
224
 
225
During an interrupt service routine (i.e. after vectoring to location 3 or 7
226
of the Program Memory and befor executing the RETR instruction) the Program
227
Memory bank can be switched by executing a JMP or CALL instruction. These
228
instructions honour the current state of the Program Memory Bank Flag and thus
229
switch the Program Memory bank upon execution.
230
 
231 121 arniml
Fixed in:
232
int.vhd 1.2
233
decoder.vhd 1.14
234
Updated regression test:
235
black_box/mb/int
236
Fix will be included in next release.
237 117 arniml
 
238
 
239 121 arniml
 
240 105 arniml
Release 0.1 BETA
241
----------------
242
 
243 117 arniml
*******************************************************************************
244 212 arniml
P2 Port value restored after expander access
245
 
246
See above.
247
 
248
*******************************************************************************
249 175 arniml
MSB of Program Counter changed upon PC increment
250
 
251
See above.
252
 
253
*******************************************************************************
254 163 arniml
Wrong clock applied to T0
255
 
256
See above.
257
 
258
*******************************************************************************
259 146 arniml
RD' and WR' not asserted for INS A, BUS and OUTL BUS, A
260
 
261
See above.
262
 
263
*******************************************************************************
264 135 arniml
PSENn Timing
265
 
266
See above.
267
 
268
*******************************************************************************
269 117 arniml
Program Memory bank can be switched during interrupt
270
 
271
See above.
272
 
273 105 arniml
******************************************************************************
274 109 arniml
External Program Memory ignored when EA = 0
275
 
276
The external Program Memory is always ignored when EA = 0 with the t8048 system
277
toplevel. Desired behaviour is to access external Program Memory when code
278
has to be fetched from an address location that is outside the internal
279
Program Memory.
280
 
281
Fixed in t8048.vhd 1.3
282
Fix will be included in next release.
283
 
284
******************************************************************************
285 105 arniml
ANL and ORL to P2 read port status instead of port output register
286
 
287
The ANL and ORL instructions for P2 read the port status and apply the logical
288
operation on this value. Instead, they should read the port output register
289
and operate on this value.
290
 
291
Fixed in p2.vhd 1.5
292
Regression test:
293
white_box/p2_port_reg_conflict
294
Fix will be included in next release.
295
 
296
******************************************************************************
297
Counter is not incremented
298
 
299
When in counter mode, the timer/counter module does not increment upon a
300
falling edge of T1. Reason is a typo in the code for the edge detection signal
301
t1_inc_s - it will never become true.
302
 
303
Fixed in timer.vhd 1.3
304
Regression tests:
305
black_box/cnt/cnt
306
black_box/cnt/int
307
Fix will be included in next release.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.