Configure the core


Changing I-Cache and D-Cache size

I-Cache and D-Cache size can be configured to 0K, 1K, 2K, 4K, 8K, and 16K.

The default configuration of the core is:

  • 16KB I-Cache,
  • 16KB D-Cache
  • FPU present

The configurations are defined in $PICOJAVAHOME/$PROJECT/design/rtl/defines.h. To change the I-Cache size and D-Cache size you need to edit this file to:

  • Comment out the lines which specify the default size and
  • Uncomment the line which specifies the setting you prefer.

No I-Cache

If you wish to specify no I-Cache, you must:
  1. Edit $PICOJAVAHOME/$PROJECT/design/rtl/defines.h
    to comment out these lines:
    • `define ICU_MODULE icu
    • `define ITAG_MODULE itag_shell
    • `define ICRAM_MODULE icram_shell
  2. Uncomment all the defines under 0KB I-cache.

No D-Cache

If you wish to specify no D-Cache, you must:
  1. Edit $PICOJAVAHOME/$PROJECT/design/rtl/defines.h
    to comment out these lines:
    • `define DCU_MODULE dcu
    • `define DTAG_MODULE dtag_shell
    • `define DCRAM_MODULE dcram_shell
  2. Uncomment all the defines under 0KB D-cache.

Removing the FPU

The steps to configure the core without the floating-point unit (FPU) are:

  1. Edit $PICOJAVAHOME/$PROJECT/design/rtl/defines.h
    to comment out the line:
      `define FPU_MODULE fpu
  2. Uncomment the following lines:
    • `define FPU_MODULE fpu_dummy
    • `define NO_FPU

Back to building the RTL model
Copyright © 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303-4900 USA. All rights reserved.

Last modified 24-March-1999