• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

MakefileH A D14-Jun-2019159 85

READMEH A D14-Jun-20196.1 KiB140136

README_TYPESCRIPTH A D14-Jun-201928.6 KiB753692

abc.asmH A D14-Jun-20191,007 6261

assembler.plH A D14-Jun-20196.8 KiB246193

bios.cppH A D14-Jun-20192.5 KiB8238

bios.hH A D14-Jun-20192.8 KiB8837

bios.imgH A D14-Jun-201971 76

dcache.cppH A D14-Jun-20193.1 KiB9450

dcache.hH A D14-Jun-20193 KiB9443

dcache.imgH A D14-Jun-2019360 3130

decode.cppH A D14-Jun-201939.5 KiB792729

decode.hH A D14-Jun-20194.6 KiB10962

directive.hH A D14-Jun-20191.7 KiB5010

exec.cppH A D14-Jun-20195.3 KiB181121

exec.hH A D14-Jun-20192.5 KiB6824

fetch.cppH A D14-Jun-20195.9 KiB193117

fetch.hH A D14-Jun-20193.1 KiB8234

floating.cppH A D14-Jun-20196.4 KiB184113

floating.hH A D14-Jun-20192.1 KiB6015

icache.cppH A D14-Jun-20193.5 KiB10657

icache.hH A D14-Jun-20193 KiB9341

icache.imgH A D14-Jun-2019418 3938

main.cppH A D14-Jun-201916.1 KiB373219

mmxu.cppH A D14-Jun-20199.2 KiB254179

mmxu.hH A D14-Jun-20192.1 KiB6015

paging.cppH A D14-Jun-20192.7 KiB9044

paging.hH A D14-Jun-20192.7 KiB6823

pic.cppH A D14-Jun-20192 KiB6521

pic.hH A D14-Jun-20192.3 KiB6518

printout.imgH A D14-Jun-20191.4 KiB3938

program.imgH A D14-Jun-2019379 2120

register.imgH A D14-Jun-2019384 3332

risc_cpu.slnH A D14-Jun-20191.2 KiB2725

risc_cpu.vcxprojH A D14-Jun-201912.5 KiB223223

test.amH A D14-Jun-20193.2 KiB124108

test.asmH A D14-Jun-2019203 1716

test1.asmH A D14-Jun-2019901 5453

README

1///////////////////////////////////////////////////////////////
2//  This code is written at SYNOPSYS, Inc.
3///////////////////////////////////////////////////////////////
4/***************************************************************************
5
6   Copyright (c) 1998-1999 Synopsys, Inc.
7   ALL RIGHTS RESERVED
8
9*****************************************************************************/
10//  Module   : README
11//  Filename : $Source: /Users/acg/CVSROOT/systemc-2.3/examples/sysc/risc_cpu/README,v $
12//  Author   : Martin Wang
13//  Revision : $Revision: 1.1.1.1 $
14//  Date     : $Date: 2006/12/15 20:20:04 $
15//  Company  : SYNOPSYS, Inc.
16//  Purpose  : This is a README file for risc_cpu using SystemC.
17//             Instruction Set Architecure defined by Martin Wang.
18//  Contact  : mwang@synopsys.com
19///////////////////////////////////////////////////////////////
20//  Modification History
21//
22//  $Log: README,v $
23//  Revision 1.1.1.1  2006/12/15 20:20:04  acg
24//  SystemC 2.3
25//
26//  Revision 1.1.1.1  2005/12/19 23:16:42  acg
27//  First check in of SystemC 2.1 into its own archive.
28//
29//  Revision 1.2  2005/04/04 00:19:37  acg
30//  Changes for directory name of sysc rather than systemc.
31//
32//  Revision 1.1.1.1  2003/10/01 21:50:43  acg
33//  Initial use of CVS.
34//
35///////////////////////////////////////////////////////////////
36//	This example demonstrates a simple RISC CPU design.
37//      This is a simulation only example using Synopsys's
38//	SystemC(TM) C++ class library.  This example
39//	was tested on Solaris 2.5 using gcc.
40//
41//      Several text files were used to initialize memory data
42//	bios 	= system bios data
43//	icache	= initial instruction cache
44//	dcache	= initial data cache
45//	register = initial register values
46//	abc.asm	= a sample program
47//
48//	A simple assembler named assembler.pl which was written in PERL.
49//	Usage: assembler.pl <testname> -code > icache.img
50//	Usage: assembler.pl <testname> > printout.img (for viewing only)
51//
52//	Steps:
53//
54//	NOTE: ALL COMMAND LISTED ARE UNIX COMMANDS.
55//
56//	1) set up the enviroment for SystemC.
57//
58//	2) based on abc.asm , write your own assembly language program, named <testname.asm>
59//
60//	3) assembler.pl abc.asm -code > icache.img
61//
62//	4) gmake
63//
64//	5) run the executable demo.x
65//
66// Here is some details:
67//
68//First let me briefly describe the micro-architecture of this RISC CPU model.
69//The CPU itself is modeled using SystemC.  The CPU reads in assembly program and
70//execute it and write the result back to registers/data memory.  The instruction
71//set is defined based on commercial RISC processor together with MMX-like
72//instruction for DSP program. It consists of >39 instructions (arithmetic,
73//logical, branch, floating point, SIMD(MMX-like)).
74//
75//For Hardware/software partitioning, user can either write their algorithm
76//in assembly program, or use YACC to convert it to this CPU's instruction
77//set.  Then run it through the CPU, and you can measure how many cycles it
78//takes and user can alter the memory latency or CPU behavior to be more
79//realistic to get a better estimate.  Say, IDCT is the algorithm considered.
80//User can then write a hardware IDCT model using SystemC, and determine
81//what is the complexity and cost if IDCT is going to be implemented in hardware.
82//Then maybe some part of IDCT can be hardware, some can be software. In either
83//cases, SystemC is a useful tool in hardware/software partitioning.
84//
85//Furthermore, this example can be also interpreted as ISS (instruction set
86//simulator), software developer can use this model to test their software
87//early in the development cycle before the silicon chip come back from
88//fabrication/manufacturing.
89//
90//Finally, in order to compile the example you have to execute 'make'. Please
91//note that the file Makefile.defs contains the location of the SystemC
92//class library, which might be different for you, depending on your
93//installation. Once the compilation is finished, you will find an
94//executable 'demo.x'.
95//
96//The CPU example structure looks like this:
97//
98//.____________________________________________________.
99//| Hardware Side                                      |
100//| ._______.  .________.     .___________________.    |
101//| |       |  |        |   +-|Integer Execution  |--  |
102//| | Fetch |--| Decode |---| `-------------------' |  |
103//| ._______.  .________.   | .___________________. |  |
104//|     |          |        +-|Floating Point Exe |-+  |
105//| .___|___.  .___|____.   | `-------------------' |  |
106//| |       |  |        |   | ._________________.   |  |
107//| |Icache |  | Dcache |   +-|MMXlike Execution|---+  |
108//| ._______.  .________.     `-----------------'   |  |
109//|     ^          |--------------------------------.  |
110//._____|______________________________________________.
111//      |
112//      |
113//      .---------------------------------.
114//._______________________________________|____________.
115//| Software Side (Develop for your market|segments)   |
116//| ._________________________.           |            |
117//| | Assembly code:          |           |            |
118//| |   lw       R5, R5, 1    |           .            |
119//| |   addi     R5, R5       | %assembler.pl foo.asm >|
120//| |   fadd     R3, R11, R11 |  -code > icache        |
121//| |   bne      R5, R6,  5   |                        |
122//| |   mmxadds  R13, R11, R11|           ^            |
123//| |   sw       R13, R0, 10  |           |            |
124//| ._________________________. _ _ _ _ _>|            |
125//.____________________________________________________.
126//
127//
128//Hope this shows some concepts of using C++ for hardware modeling.
129//
130//The materials on this directory(the "Example") are provided by Synopsys Inc.
131//as a service to its customers and may be used for informational purposes only.
132//The work and intellectual property presented in this example is considered
133//propriety to Synopsys Inc. Synopsys Inc.'s trademarks maybe used publicly with
134//permission only from Synopsys Inc. Use of Synopsys's trademarks in advertising
135//and promotion of Synopsys products requires proper acknowledgement.
136//All other brands and names are property of their respective owners.
137//
138///////////////////////////////////////////////////////////////
139
140

README_TYPESCRIPT

1
2               SystemC (TM) Version 1.0  --- Sep 16 1999 14:12:20
3                                  ALL RIGHTS RESERVED
4                   Copyright (c) 1988-1999 by Synopsys, Inc.
5/////////////////////////////////////////////////////////////////////////
6//  This code is written at SYNOPSYS, Inc.
7/////////////////////////////////////////////////////////////////////////
8//  Module   : main of CPU Model
9//  Author   : Martin Wang
10//  Company  : SYNOPSYS, Inc.
11//  Purpose  : This is a simple CPU modeling using SystemC.
12//             Instruction Set Architecure defined by Martin Wang.
13//
14//           SystemC (TM) Copyright (c) 1988-1999 by Synopsys, Inc.
15//
16/////////////////////////////////////////////////////////////////////////
17// IN THIS MACHINE Integer is 4 bytes.
18// IN THIS MACHINE Floating is 4 bytes.
19// IN THIS MACHINE Double is 8 bytes.
20//
21//
22//                            .,,uod8B8bou,,.
23//                   ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.
24//              ,=m8BBBBBBBBBBBBBBBRPFT?!||||||||||||||
25//              !...:!TVBBBRPFT||||||||||!!^^""    ||||
26//              !.......:!?|||||!!^^""'            ||||
27//              !.........||||        ###  #  #    ||||
28//              !.........||||  ###  #  #  #  #    ||||
29//              !.........|||| #     #  #  #  #    ||||
30//              !.........|||| #     # #   #  #    ||||
31//              !.........|||| #     ##    #  #    ||||
32//              !.........|||| #     #     ###     ||||
33//              `.........|||| #   # #            ,||||
34//               .;.......||||  ###          _.-!!|||||
35//        .,uodWBBBBb.....||||       _.-!!|||||||||!:'
36//     !YBBBBBBBBBBBBBBb..!|||:..-!!|||||||!iof68BBBBBb....
37//     !..YBBBBBBBBBBBBBBb!!||||||||!iof68BBBBBBRPFT?!::   `.
38//     !....YBBBBBBBBBBBBBBbaaitf68BBBBBBRPFT?!:::::::::     `.
39//     !......YBBBBBBBBBBBBBBBBBBBRPFT?!::::::;:!^"`;:::       `.
40//     !........YBBBBBBBBBBRPFT?!::::::::::^''...::::::;         iBBbo.
41//     `..........YBRPFT?!::::::::::::::::::::::::;iof68bo.      WBBBBbo.
42//       `..........:::::::::::::::::::::::;iof688888888888b.     `YBBBP^'
43//         `........::88::::::::::::;iof688888888888888888888b.     `
44//           `......::81:::::;iof688888888888888888888888888888b.
45//             `....:::;iof688888888888888888888888888888888899fT!
46//               `..::!8888888888888888888888888888888899fT|!^"'
47//                 `' !!988888888888888888888888899fT|!^"'
48//                     `!!8888888888888888899fT|!^"'
49//                       `!988888888899fT|!^"'
50//                         `!9899fT|!^"'
51//                           `!^"'
52//
53//
54/////////////////////////////////////////////////////////////////////////
55
56
57** ALERT ** ID: initialize Architectural Registers
58** ALERT ** BIOS: initialize BIOS
59** ALERT ** DCU: initialize Data Cache
60-----------------------
61IFU : mem=0xf000001
62IFU : pc= 1 at CSIM 5
63-----------------------
64			-------------------------------
65			ID: R0=R0(=0)
66			  : at CSIM 7
67			-------------------------------
68							-------------------------------
69							ALU : op= 3 A= 0 B= 0
70							ALU : R= 0-> R0 at CSIM 9
71							-------------------------------
72			-------------------------------
73			ID: R0=0x0(0) fr ALU at CSIM 10
74			-------------------------------
75------------------------
76IFU : mem=0xf000002
77IFU : pc= 2 at CSIM 12
78------------------------
79			-------------------------------
80			ID: R0=R0(=0)
81			  : at CSIM 14
82			-------------------------------
83							-------------------------------
84							ALU : op= 3 A= 0 B= 0
85							ALU : R= 0-> R0 at CSIM 16
86							-------------------------------
87			-------------------------------
88			ID: R0=0x0(0) fr ALU at CSIM 17
89			-------------------------------
90------------------------
91IFU : mem=0xf000003
92IFU : pc= 3 at CSIM 19
93------------------------
94			-------------------------------
95			ID: R0=R0(=0)
96			  : at CSIM 21
97			-------------------------------
98							-------------------------------
99							ALU : op= 3 A= 0 B= 0
100							ALU : R= 0-> R0 at CSIM 23
101							-------------------------------
102			-------------------------------
103			ID: R0=0x0(0) fr ALU at CSIM 24
104			-------------------------------
105------------------------
106IFU : mem=0xf000004
107IFU : pc= 4 at CSIM 26
108------------------------
109			-------------------------------
110			ID: R0=R0(=0)
111			  : at CSIM 28
112			-------------------------------
113							-------------------------------
114							ALU : op= 3 A= 0 B= 0
115							ALU : R= 0-> R0 at CSIM 30
116							-------------------------------
117ICU ALERT: *********************************************************************
118         : *****************************AFTER RESET*****************************
119ICU ALERT: *********************************************************************
120			-------------------------------
121			ID: R0=0x0(0) fr ALU at CSIM 31
122			-------------------------------
123------------------------
124IFU : mem=0xf160000a
125IFU : pc= 5 at CSIM 33
126------------------------
127			-------------------------------
128			ID: R6=10 at CSIM 35
129			-------------------------------
130							-------------------------------
131							ALU : op= 3 A= 10 B= 0
132							ALU : R= 10-> R6 at CSIM 37
133							-------------------------------
134			-------------------------------
135			ID: R6=0xa(10) fr ALU at CSIM 38
136			-------------------------------
137------------------------
138IFU : mem=0x0
139IFU : pc= 6 at CSIM 40
140------------------------
141			-------------------------------
142
143
144			*******************************
145			ID: REGISTERS DUMP at CSIM 42
146			*******************************
147REG :==================================================================
148  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
149  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
150  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
151  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
152  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
153  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
154  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
155  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
156=======================================================================
157
158------------------------
159IFU : mem=0xf160000a
160IFU : pc= 7 at CSIM 47
161------------------------
162			-------------------------------
163			ID: R6=10 at CSIM 49
164			-------------------------------
165							-------------------------------
166							ALU : op= 3 A= 10 B= 0
167							ALU : R= 10-> R6 at CSIM 51
168							-------------------------------
169			-------------------------------
170			ID: R6=0xa(10) fr ALU at CSIM 52
171			-------------------------------
172------------------------
173IFU : mem=0x0
174IFU : pc= 8 at CSIM 54
175------------------------
176			-------------------------------
177
178
179			*******************************
180			ID: REGISTERS DUMP at CSIM 56
181			*******************************
182REG :==================================================================
183  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
184  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
185  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
186  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
187  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
188  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
189  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
190  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
191=======================================================================
192
193------------------------
194IFU : mem=0xf160000a
195IFU : pc= 9 at CSIM 61
196------------------------
197			-------------------------------
198			ID: R6=10 at CSIM 63
199			-------------------------------
200							-------------------------------
201							ALU : op= 3 A= 10 B= 0
202							ALU : R= 10-> R6 at CSIM 65
203							-------------------------------
204			-------------------------------
205			ID: R6=0xa(10) fr ALU at CSIM 66
206			-------------------------------
207------------------------
208IFU : mem=0x0
209IFU : pc= a at CSIM 68
210------------------------
211			-------------------------------
212
213
214			*******************************
215			ID: REGISTERS DUMP at CSIM 70
216			*******************************
217REG :==================================================================
218  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
219  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
220  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
221  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
222  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
223  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
224  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
225  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
226=======================================================================
227
228------------------------
229IFU : mem=0xf160000a
230IFU : pc= b at CSIM 75
231------------------------
232			-------------------------------
233			ID: R6=10 at CSIM 77
234			-------------------------------
235							-------------------------------
236							ALU : op= 3 A= 10 B= 0
237							ALU : R= 10-> R6 at CSIM 79
238							-------------------------------
239			-------------------------------
240			ID: R6=0xa(10) fr ALU at CSIM 80
241			-------------------------------
242------------------------
243IFU : mem=0x0
244IFU : pc= c at CSIM 82
245------------------------
246			-------------------------------
247
248
249			*******************************
250			ID: REGISTERS DUMP at CSIM 84
251			*******************************
252REG :==================================================================
253  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
254  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
255  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
256  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
257  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
258  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
259  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
260  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
261=======================================================================
262
263------------------------
264IFU : mem=0xf160000a
265IFU : pc= d at CSIM 89
266------------------------
267			-------------------------------
268			ID: R6=10 at CSIM 91
269			-------------------------------
270							-------------------------------
271							ALU : op= 3 A= 10 B= 0
272							ALU : R= 10-> R6 at CSIM 93
273							-------------------------------
274			-------------------------------
275			ID: R6=0xa(10) fr ALU at CSIM 94
276			-------------------------------
277------------------------
278IFU : mem=0x0
279IFU : pc= e at CSIM 96
280------------------------
281			-------------------------------
282
283
284			*******************************
285			ID: REGISTERS DUMP at CSIM 98
286			*******************************
287REG :==================================================================
288  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
289  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
290  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
291  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
292  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
293  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
294  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
295  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
296=======================================================================
297
298------------------------
299IFU : mem=0xf160000a
300IFU : pc= f at CSIM 103
301------------------------
302			-------------------------------
303			ID: R6=10 at CSIM 105
304			-------------------------------
305							-------------------------------
306							ALU : op= 3 A= 10 B= 0
307							ALU : R= 10-> R6 at CSIM 107
308							-------------------------------
309			-------------------------------
310			ID: R6=0xa(10) fr ALU at CSIM 108
311			-------------------------------
312------------------------
313IFU : mem=0x0
314IFU : pc= 10 at CSIM 110
315------------------------
316			-------------------------------
317
318
319			*******************************
320			ID: REGISTERS DUMP at CSIM 112
321			*******************************
322REG :==================================================================
323  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
324  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
325  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
326  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
327  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
328  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
329  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
330  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
331=======================================================================
332
333------------------------
334IFU : mem=0xf1500005
335IFU : pc= 11 at CSIM 117
336------------------------
337			-------------------------------
338			ID: R5=5 at CSIM 119
339			-------------------------------
340							-------------------------------
341							ALU : op= 3 A= 5 B= 0
342							ALU : R= 5-> R5 at CSIM 121
343							-------------------------------
344			-------------------------------
345			ID: R5=0x5(5) fr ALU at CSIM 122
346			-------------------------------
347------------------------
348IFU : mem=0x0
349IFU : pc= 12 at CSIM 124
350------------------------
351			-------------------------------
352
353
354			*******************************
355			ID: REGISTERS DUMP at CSIM 126
356			*******************************
357REG :==================================================================
358  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
359  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
360  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
361  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
362  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
363  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
364  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
365  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
366=======================================================================
367
368------------------------
369IFU : mem=0xf550000
370IFU : pc= 13 at CSIM 131
371------------------------
372			-------------------------------
373			ID: R5=R5(=5)
374			  : at CSIM 133
375			-------------------------------
376							-------------------------------
377							ALU : op= 3 A= 5 B= 0
378							ALU : R= 5-> R5 at CSIM 135
379							-------------------------------
380			-------------------------------
381			ID: R5=0x5(5) fr ALU at CSIM 136
382			-------------------------------
383------------------------
384IFU : mem=0x0
385IFU : pc= 14 at CSIM 138
386------------------------
387			-------------------------------
388
389
390			*******************************
391			ID: REGISTERS DUMP at CSIM 140
392			*******************************
393REG :==================================================================
394  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
395  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
396  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
397  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
398  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
399  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
400  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
401  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
402=======================================================================
403
404------------------------
405IFU : mem=0xf550000
406IFU : pc= 15 at CSIM 145
407------------------------
408			-------------------------------
409			ID: R5=R5(=5)
410			  : at CSIM 147
411			-------------------------------
412							-------------------------------
413							ALU : op= 3 A= 5 B= 0
414							ALU : R= 5-> R5 at CSIM 149
415							-------------------------------
416			-------------------------------
417			ID: R5=0x5(5) fr ALU at CSIM 150
418			-------------------------------
419------------------------
420IFU : mem=0x0
421IFU : pc= 16 at CSIM 152
422------------------------
423			-------------------------------
424
425
426			*******************************
427			ID: REGISTERS DUMP at CSIM 154
428			*******************************
429REG :==================================================================
430  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
431  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
432  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
433  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
434  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
435  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
436  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
437  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
438=======================================================================
439
440------------------------
441IFU : mem=0xf550000
442IFU : pc= 17 at CSIM 159
443------------------------
444			-------------------------------
445			ID: R5=R5(=5)
446			  : at CSIM 161
447			-------------------------------
448							-------------------------------
449							ALU : op= 3 A= 5 B= 0
450							ALU : R= 5-> R5 at CSIM 163
451							-------------------------------
452			-------------------------------
453			ID: R5=0x5(5) fr ALU at CSIM 164
454			-------------------------------
455------------------------
456IFU : mem=0x0
457IFU : pc= 18 at CSIM 166
458------------------------
459			-------------------------------
460
461
462			*******************************
463			ID: REGISTERS DUMP at CSIM 168
464			*******************************
465REG :==================================================================
466  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
467  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
468  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
469  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
470  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
471  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
472  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
473  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
474=======================================================================
475
476------------------------
477IFU : mem=0xf550000
478IFU : pc= 19 at CSIM 173
479------------------------
480			-------------------------------
481			ID: R5=R5(=5)
482			  : at CSIM 175
483			-------------------------------
484							-------------------------------
485							ALU : op= 3 A= 5 B= 0
486							ALU : R= 5-> R5 at CSIM 177
487							-------------------------------
488			-------------------------------
489			ID: R5=0x5(5) fr ALU at CSIM 178
490			-------------------------------
491------------------------
492IFU : mem=0x0
493IFU : pc= 1a at CSIM 180
494------------------------
495			-------------------------------
496
497
498			*******************************
499			ID: REGISTERS DUMP at CSIM 182
500			*******************************
501REG :==================================================================
502  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
503  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
504  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
505  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
506  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
507  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
508  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
509  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
510=======================================================================
511
512------------------------
513IFU : mem=0xf550000
514IFU : pc= 1b at CSIM 187
515------------------------
516			-------------------------------
517			ID: R5=R5(=5)
518			  : at CSIM 189
519			-------------------------------
520							-------------------------------
521							ALU : op= 3 A= 5 B= 0
522							ALU : R= 5-> R5 at CSIM 191
523							-------------------------------
524			-------------------------------
525			ID: R5=0x5(5) fr ALU at CSIM 192
526			-------------------------------
527------------------------
528IFU : mem=0x0
529IFU : pc= 1c at CSIM 194
530------------------------
531			-------------------------------
532
533
534			*******************************
535			ID: REGISTERS DUMP at CSIM 196
536			*******************************
537REG :==================================================================
538  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
539  R 4(00000004)    R 5(00000005)    R 6(0000000a)    R 7(fcf0fdef)
540  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
541  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
542  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
543  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
544  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
545  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
546=======================================================================
547
548------------------------
549IFU : mem=0x2550001
550IFU : pc= 1d at CSIM 201
551------------------------
552			-------------------------------
553			ID: R5= R5(=5)+1
554			  : at CSIM 203
555			-------------------------------
556							-------------------------------
557							ALU : op= 3 A= 5 B= 1
558							ALU : R= 6-> R5 at CSIM 205
559							-------------------------------
560			-------------------------------
561			ID: R5=0x6(6) fr ALU at CSIM 206
562			-------------------------------
563------------------------
564IFU : mem=0x0
565IFU : pc= 1e at CSIM 208
566------------------------
567			-------------------------------
568
569
570			*******************************
571			ID: REGISTERS DUMP at CSIM 210
572			*******************************
573REG :==================================================================
574  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
575  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
576  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
577  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
578  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
579  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
580  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
581  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
582=======================================================================
583
584------------------------
585IFU : mem=0x1156fffa
586IFU : pc= 1f at CSIM 215
587------------------------
588			-------------------------------
589			ID: bne R5(=6), R6(=10), pc+=(-6).
590			ID: at CSIM 217
591			-------------------------------
592							-------------------------------
593							ALU : op= 3 A= 0 B= 0
594							ALU : R= 0-> R0 at CSIM 219
595							-------------------------------
596			-------------------------------
597			ID: R0=0x0(0) fr ALU at CSIM 220
598			-------------------------------
599------------------------
600IFU : mem=0x0
601IFU : pc= 20 at CSIM 222
602------------------------
603IFU ALERT: **BRANCH**
604			-------------------------------
605
606
607			*******************************
608			ID: REGISTERS DUMP at CSIM 224
609			*******************************
610REG :==================================================================
611  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
612  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
613  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
614  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
615  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
616  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
617  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
618  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
619=======================================================================
620
621------------------------
622IFU : mem=0x0
623IFU : pc= 20 at CSIM 229
624------------------------
625			-------------------------------
626
627
628			*******************************
629			ID: REGISTERS DUMP at CSIM 231
630			*******************************
631REG :==================================================================
632  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
633  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
634  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
635  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
636  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
637  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
638  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
639  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
640=======================================================================
641
642IFU ALERT: **BRANCH**
643------------------------
644IFU : mem=0x0
645IFU : pc= 20 at CSIM 237
646------------------------
647			-------------------------------
648			ID: clear branch at CSIM 238
649			-------------------------------
650			-------------------------------
651
652
653			*******************************
654			ID: REGISTERS DUMP at CSIM 239
655			*******************************
656REG :==================================================================
657  R 0(00000000)    R 1(00000001)    R 2(fff000e2)    R 3(ffffffff)
658  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
659  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
660  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
661  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
662  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
663  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
664  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
665=======================================================================
666
667------------------------
668IFU : mem=0x1123000
669IFU : pc= 21 at CSIM 244
670------------------------
671			-------------------------------
672			ID: R1= R2(=-1048350)+R3(=-1)
673			  : at CSIM 246
674			-------------------------------
675							-------------------------------
676							ALU : op= 3 A= -1048350 B= -1
677							ALU : R= -1048351-> R1 at CSIM 248
678							-------------------------------
679			-------------------------------
680			ID: R1=0xfff000e1(-1048351) fr ALU at CSIM 249
681			-------------------------------
682------------------------
683IFU : mem=0x0
684IFU : pc= 22 at CSIM 251
685------------------------
686			-------------------------------
687
688
689			*******************************
690			ID: REGISTERS DUMP at CSIM 253
691			*******************************
692REG :==================================================================
693  R 0(00000000)    R 1(fff000e1)    R 2(fff000e2)    R 3(ffffffff)
694  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
695  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
696  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
697  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
698  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
699  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
700  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
701=======================================================================
702
703------------------------
704IFU : mem=0x1234000
705IFU : pc= 23 at CSIM 258
706------------------------
707			-------------------------------
708			ID: R2= R3(=-1)+R4(=4)
709			  : at CSIM 260
710			-------------------------------
711							-------------------------------
712							ALU : op= 3 A= -1 B= 4
713							ALU : R= 3-> R2 at CSIM 262
714							-------------------------------
715			-------------------------------
716			ID: R2=0x3(3) fr ALU at CSIM 263
717			-------------------------------
718------------------------
719IFU : mem=0x0
720IFU : pc= 24 at CSIM 265
721------------------------
722			-------------------------------
723
724
725			*******************************
726			ID: REGISTERS DUMP at CSIM 267
727			*******************************
728REG :==================================================================
729  R 0(00000000)    R 1(fff000e1)    R 2(00000003)    R 3(ffffffff)
730  R 4(00000004)    R 5(00000006)    R 6(0000000a)    R 7(fcf0fdef)
731  R 8(00000008)    R 9(00000009)    R10(00000010)    R11(0000ff31)
732  R12(0000ff12)    R13(00000013)    R14(00000014)    R15(00000015)
733  R16(00000016)    R17(00fe0117)    R18(00fe0118)    R19(00fe0119)
734  R20(00fe0220)    R21(00fe0321)    R22(00fe0322)    R23(00ff0423)
735  R24(00ff0524)    R25(00ff0625)    R26(00ff0726)    R27(00ff0727)
736  R28(00f70728)    R29(00000029)    R30(00000030)    R31(00000031)
737=======================================================================
738
739------------------------
740IFU : mem=0xffffffff
741IFU : pc= 25 at CSIM 272
742------------------------
743			-------------------------------
744			ID: - SHUTDOWN - at CSIM 274
745			ID: - PLEASE WAIT ...... -
746			-------------------------------
747
748
749
750////////////////////////////////////////////////////////////////////////////////
751SystemC: simulation stopped by user.
752script done on Thu Sep 16 15:40:09 1999
753