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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [rtl/] [core/] [README.md] - Blame information for rev 209

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 209 dgisselq
## The Core of the ZipCPU
2
 
3
Here are the core files to the ZipCPU.  In here, you'll find not only the
4
[main ZipCPU core](./zipcpu.v), but also:
5
 
6
- Several prefetch routines
7
 
8
  o [prefetch.v](./prefetch.v) an older prefetch module that only fetched
9
    one instruction at a time, and so prevented pipelining
10
 
11
  o [pipefetch.v](./pipefetch.v), my first attempt at building a prefetch with
12
    cache.  It took a rather unique approach to the cache, implementing it as
13
    a rolling window in memory.  This file really sticks around for historical
14
    reasons, but not much more.
15
 
16
  o [dblfetch.v](./dbgfetch.v), fetches two instructions at once (on subsequent
17
    clocks).  This is designed to increase the speed of the CPU when it isn't
18
    pipelined, by exploiting the fact that many memory accesses go faster for
19
    the second access.
20
 
21
  o [pfcache.v](./pfcache.v), this is the current/best instruction cache
22
    for the CPU.
23
 
24
 
25
- [idecode.v](./idecode.v), an instruction decoder
26
 
27
- Several memory access routines
28
 
29
  o [memops.v](./memops.v), a typical/traditional one memory operation at a
30
    time means of accessing memory.  This was my first approach to memory,
31
    and the appropriate approach still when the CPU is not running in its
32
    pipelind mode.
33
 
34
  o [pipemem.v](./pipemem.v), a faster memory access method that groups
35
    consecutive memory accesses together into a pipelined bus access.
36
    This routine has so far compensated for the fact that the ZipCPU does not
37
    (yet) have an integrated data cache.
38
 
39
  o [dcache.v](./dcache.v), is my attempt at building a data cache.  This
40
    has never been integrated with the CPU, and may not be integrated until
41
    the MMU is also integrated.
42
 
43
- [div.v](./div.v), the divide unit
44
 
45
- [cpuops.v](./cpuops.v), the ALU unit
46
 
47
The defines within [cpudefs.v](../cpudefs.v) will determine which of these
48
modules gets linked into your CPU.
49
 

powered by: WebSVN 2.1.0

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