mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[doc] Move register file and identity CSR info to integration page
This commit is contained in:
parent
4a4c9bbb5d
commit
9280b92b1f
2 changed files with 20 additions and 22 deletions
|
@ -3,25 +3,4 @@
|
|||
Getting Started with Ibex
|
||||
=========================
|
||||
|
||||
This page discusses initial steps and requirements to start using Ibex in your design.
|
||||
|
||||
Register File
|
||||
-------------
|
||||
|
||||
Ibex comes with three different register file implementations that can be selected using the enumerated parameter ``RegFile`` defined in :file:`rtl/ibex_pkg.sv`.
|
||||
Depending on the target technology, either the flip-flop-based ("ibex_pkg::RegFileFF", default), the latch-based ("ibex_pkg::RegFileLatch") or an FPGA-targeted ("ibex_pkg::RegFileFPGA") implementation should be selected.
|
||||
For more information about the three register file implementations and their trade-offs, check out :ref:`register-file`.
|
||||
|
||||
Identification CSRs
|
||||
-------------------
|
||||
|
||||
The RISC-V Privileged Architecture specifies several read-only CSRs that identify the vendor and micro-architecture of a CPU.
|
||||
These are ``mvendorid``, ``marchid`` and ``mimpid``.
|
||||
The fixed, read-only values for these CSRs are defined in :file:`rtl/ibex_pkg.sv`.
|
||||
Implementers should carefully consider appropriate values for these registers.
|
||||
Ibex, as an open source implementation, has an assigned architecture ID (``marchid``) of 22.
|
||||
(Allocations are specified in `marchid.md of the riscv-isa-manual repository <https://github.com/riscv/riscv-isa-manual/blob/master/marchid.md>`_.)
|
||||
If significant changes are made to the micro-architecture a different architecture ID should be used.
|
||||
The vendor ID and implementation ID (``mvendorid`` and ``mimpid``) both read as 0 by default, meaning non-implemented.
|
||||
Implementers may wish to use other values here.
|
||||
Please see the RISC-V Privileged Architecture specification for more details on what these IDs represent and how they should be chosen.
|
||||
|
|
|
@ -7,7 +7,26 @@ The main module is named ``ibex_top`` and can be found in ``ibex_top.sv``.
|
|||
Note that the core logic is split-out from the register file and RAMs under ``ibex_top``.
|
||||
This is to facilitate a dual-core lockstep implementation (see :ref:`security`).
|
||||
|
||||
Below, the instantiation template is given and the parameters and interfaces are described.
|
||||
Register File
|
||||
-------------
|
||||
|
||||
Ibex comes with three different register file implementations that can be selected using the enumerated parameter ``RegFile`` defined in :file:`rtl/ibex_pkg.sv`.
|
||||
Depending on the target technology, either the flip-flop-based ("ibex_pkg::RegFileFF", default), the latch-based ("ibex_pkg::RegFileLatch") or an FPGA-targeted ("ibex_pkg::RegFileFPGA") implementation should be selected.
|
||||
For more information about the three register file implementations and their trade-offs, check out :ref:`register-file`.
|
||||
|
||||
Identification CSRs
|
||||
-------------------
|
||||
|
||||
The RISC-V Privileged Architecture specifies several read-only CSRs that identify the vendor and micro-architecture of a CPU.
|
||||
These are ``mvendorid``, ``marchid`` and ``mimpid``.
|
||||
The fixed, read-only values for these CSRs are defined in :file:`rtl/ibex_pkg.sv`.
|
||||
Implementers should carefully consider appropriate values for these registers.
|
||||
Ibex, as an open source implementation, has an assigned architecture ID (``marchid``) of 22.
|
||||
(Allocations are specified in `marchid.md of the riscv-isa-manual repository <https://github.com/riscv/riscv-isa-manual/blob/master/marchid.md>`_.)
|
||||
If significant changes are made to the micro-architecture a different architecture ID should be used.
|
||||
The vendor ID and implementation ID (``mvendorid`` and ``mimpid``) both read as 0 by default, meaning non-implemented.
|
||||
Implementers may wish to use other values here.
|
||||
Please see the RISC-V Privileged Architecture specification for more details on what these IDs represent and how they should be chosen.
|
||||
|
||||
Instantiation Template
|
||||
----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue