Line 88... |
Line 88... |
// included and OPT_ILLEGAL_INSTRUCTION is set, then the multiply will create
|
// included and OPT_ILLEGAL_INSTRUCTION is set, then the multiply will create
|
// an illegal instruction exception that will send the CPU into supervisor
|
// an illegal instruction exception that will send the CPU into supervisor
|
// mode.
|
// mode.
|
//
|
//
|
//
|
//
|
|
`ifdef XULA25
|
`define OPT_DIVIDE
|
`define OPT_DIVIDE
|
|
`endif
|
//
|
//
|
//
|
//
|
//
|
//
|
// OPT_IMPLEMENT_FPU will (one day) control whether or not the floating point
|
// OPT_IMPLEMENT_FPU will (one day) control whether or not the floating point
|
// unit (once I have one) is built and included into the ZipCPU by default.
|
// unit (once I have one) is built and included into the ZipCPU by default.
|
Line 186... |
Line 188... |
// (The traditional pfcache is also pipelined, whereas the pipeline cache
|
// (The traditional pfcache is also pipelined, whereas the pipeline cache
|
// implements a windowed approach to caching.)
|
// implements a windowed approach to caching.)
|
//
|
//
|
// If you have the fabric to support this option, I recommend including it.
|
// If you have the fabric to support this option, I recommend including it.
|
//
|
//
|
|
`ifdef XULA25
|
`define OPT_TRADITIONAL_PFCACHE
|
`define OPT_TRADITIONAL_PFCACHE
|
|
`endif
|
//
|
//
|
//
|
//
|
//
|
//
|
// OPT_EARLY_BRANCHING is an attempt to execute a BRA statement as early
|
// OPT_EARLY_BRANCHING is an attempt to execute a BRA statement as early
|
// as possible, to avoid as many pipeline stalls on a branch as possible.
|
// as possible, to avoid as many pipeline stalls on a branch as possible.
|
Line 260... |
Line 264... |
// Now let's talk about peripherals for a moment. These next two defines
|
// Now let's talk about peripherals for a moment. These next two defines
|
// control whether the DMA controller is included in the Zip System, and
|
// control whether the DMA controller is included in the Zip System, and
|
// whether or not the 8 accounting timers are also included. Set these to
|
// whether or not the 8 accounting timers are also included. Set these to
|
// include the respective peripherals, comment them out not to.
|
// include the respective peripherals, comment them out not to.
|
//
|
//
|
|
`ifdef XULA25
|
`define INCLUDE_DMA_CONTROLLER
|
`define INCLUDE_DMA_CONTROLLER
|
`define INCLUDE_ACCOUNTING_COUNTERS
|
`define INCLUDE_ACCOUNTING_COUNTERS
|
//
|
//
|
//
|
//
|
`define DEBUG_SCOPE
|
`define DEBUG_SCOPE
|
|
`endif
|
//
|
//
|
`endif // CPUDEFS_H
|
`endif // CPUDEFS_H
|
|
|
No newline at end of file
|
No newline at end of file
|