1 |
2 |
rehayes |
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
2 |
14 |
rehayes |
////////////////////////////////////////////////////////////////////////////////
|
3 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
4 |
|
|
// SVN tag: None
|
5 |
|
|
|
6 |
56 |
rehayes |
Jan 27,2010
|
7 |
|
|
RTL - 85% done -- Fixed error in wbs_ack_o signal when Xgate wait states were
|
8 |
|
|
enabled. If a slave bus transaction was started but not completed in the
|
9 |
|
|
second cycle a wbs_ack_o output was still generated. Added a wbs_err_o output
|
10 |
|
|
signal to flag this input condition but not sure if it is really needed.
|
11 |
|
|
The old testbench was "helping" the Xgate module by sending an almost
|
12 |
|
|
continuous wbm_ack_i signal which allowed the RISC state machine to advance
|
13 |
|
|
when it shouldn't. Changes were made to the WISHBONE master bus interface
|
14 |
|
|
and the RISC control logic.
|
15 |
|
|
|
16 |
|
|
Updates to testbench -- Extensive changes to testbench. The bus arbitration
|
17 |
|
|
module has been completely rewritten. It now completely controls access to the
|
18 |
|
|
system bus and RAM. It internally generates a WISHBONE ack signal for the RAM.
|
19 |
|
|
The test control registers have been moved out of the top level and put into
|
20 |
|
|
a new WISHBONE slave module which also attaches to the system bus. The Xgate
|
21 |
|
|
modules master and slave buses are fully integrated with the bus arbitration
|
22 |
|
|
module and the system bus. The new testbench looks a lot more like a real
|
23 |
|
|
system environment.
|
24 |
|
|
To Do: Add back "random" wait state generation for RAM access.
|
25 |
|
|
|
26 |
|
|
Updates to User Guide -- Minor corrections to instruction set details. Needs more
|
27 |
|
|
review on condition code settings.
|
28 |
|
|
|
29 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
30 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
31 |
|
|
// SVN tag: None
|
32 |
|
|
|
33 |
51 |
rehayes |
Jan 11,2010
|
34 |
56 |
rehayes |
RTL - 85% done -- Fix error in Zero Flag calculation for ADC and SBC instructions
|
35 |
51 |
rehayes |
Fix Error in loading R2 durning cpu_state == BOOT_3.
|
36 |
|
|
THere is a bug in DEBUG mode that is sensitive to number of preceding
|
37 |
|
|
instructions and wait states that needs to be resolved.
|
38 |
|
|
|
39 |
|
|
Updates to testbench --
|
40 |
|
|
|
41 |
|
|
Updates to User Guide -- First pass with instruction set details. Needs more
|
42 |
|
|
review on condition code settings.
|
43 |
|
|
|
44 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
45 |
|
|
// SVN tag: None
|
46 |
|
|
|
47 |
44 |
rehayes |
Dec 08,2009
|
48 |
41 |
rehayes |
RTL - 85% done -- Updated code so there is only one program counter adder.
|
49 |
|
|
Updated WISHBONE Slave bus for word addressability and byte selection.
|
50 |
44 |
rehayes |
Deleted two stack pointer registers.
|
51 |
41 |
rehayes |
|
52 |
|
|
Updates to testbench --
|
53 |
|
|
|
54 |
|
|
Updates to User Guide -- Minor cleanup.
|
55 |
|
|
|
56 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
57 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
58 |
|
|
// SVN tag: None
|
59 |
|
|
|
60 |
38 |
rehayes |
Nov 09,2009
|
61 |
|
|
RTL - 85% done - Minor changes to Mastermode bus.
|
62 |
|
|
|
63 |
|
|
Updates to testbench, Moved RAM.to submodule, Added bus arbitration module
|
64 |
|
|
but this is not fully functional. Causes timing problems when master is
|
65 |
56 |
rehayes |
polling Xgate registers durning debug mode tests. Will probably change RAM
|
66 |
38 |
rehayes |
model to dual port in next revision.
|
67 |
|
|
Updated master module to include WISHBONE select inputs.
|
68 |
|
|
|
69 |
|
|
Updates to User Guide.
|
70 |
|
|
|
71 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
72 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
73 |
|
|
// SVN tag: None
|
74 |
|
|
|
75 |
23 |
rehayes |
Oct 07,2009
|
76 |
|
|
RTL - 85% done
|
77 |
|
|
All debug commands now working, including writes to XGCHID register.
|
78 |
|
|
|
79 |
|
|
Updates to testbench, added timeout and total error count.
|
80 |
41 |
rehayes |
|
81 |
|
|
Updates to User Guide --.
|
82 |
|
|
|
83 |
23 |
rehayes |
Created the sw directory and copied over the software stuff from the bench
|
84 |
|
|
directory.
|
85 |
|
|
|
86 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
87 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
88 |
|
|
// SVN tag: None
|
89 |
|
|
|
90 |
14 |
rehayes |
Sept 23,2009
|
91 |
|
|
BRK instruction working. Single Step Command in debug mode working.
|
92 |
|
|
Software error interrupt added.
|
93 |
|
|
|
94 |
|
|
Updates to testbench.
|
95 |
|
|
New assembly code directory: debug_test
|
96 |
|
|
|
97 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
98 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
99 |
|
|
// SVN tag: None
|
100 |
|
|
|
101 |
5 |
rehayes |
Sept 10,2009
|
102 |
|
|
Added WISHBONE master bus submodule and some related top level signals but still
|
103 |
|
|
not much real functionality.
|
104 |
|
|
|
105 |
|
|
Added code to allow for memory access stalls.
|
106 |
|
|
|
107 |
|
|
Upgraded testbench to insert memory wait states. Added more error detection
|
108 |
|
|
and summery.
|
109 |
|
|
|
110 |
|
|
Improved instruction decoder. Still needs more work to remove redundant adders
|
111 |
|
|
to improve synthesis results.
|
112 |
|
|
|
113 |
14 |
rehayes |
////////////////////////////////////////////////////////////////////////////////
|
114 |
|
|
////////////////////////////////////////////////////////////////////////////////
|
115 |
|
|
// SVN tag: None
|
116 |
5 |
rehayes |
|
117 |
2 |
rehayes |
Sept 1, 2009
|
118 |
|
|
This is a prerelease checkin and should be looked at as an incremental backup
|
119 |
|
|
and not representative of what may be in the final release.
|
120 |
|
|
|
121 |
|
|
RTL - 75% done
|
122 |
|
|
What works:
|
123 |
|
|
Basic instruction set execution simulated and verified. Condition code
|
124 |
|
|
operation on instructions partially verified.
|
125 |
|
|
|
126 |
|
|
Basic WISHBONE slave bus operation used, full functionality not verified.
|
127 |
|
|
|
128 |
|
|
What's broken or unimplemented:
|
129 |
|
|
All things related to debug mode.
|
130 |
|
|
WISHBONE master bus interface.
|
131 |
|
|
|
132 |
5 |
rehayes |
User Documentation - 30% done
|
133 |
|
|
|