mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cpu/vexriscv_smp/args_fill: Fill args in cpu group.
This commit is contained in:
parent
2913f2ecd9
commit
e9aa747d2b
1 changed files with 18 additions and 17 deletions
|
@ -63,23 +63,24 @@ class VexRiscvSMP(CPU):
|
||||||
# Command line configuration arguments.
|
# Command line configuration arguments.
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def args_fill(parser):
|
def args_fill(parser):
|
||||||
parser.add_argument("--cpu-count", default=1, help="Number of CPU(s) in the cluster.", type=int)
|
cpu_group = parser.add_argument_group("cpu")
|
||||||
parser.add_argument("--with-coherent-dma", action="store_true", help="Enable Coherent DMA Slave interface.")
|
cpu_group.add_argument("--cpu-count", default=1, help="Number of CPU(s) in the cluster.", type=int)
|
||||||
parser.add_argument("--without-coherent-dma", action="store_true", help="Disable Coherent DMA Slave interface.")
|
cpu_group.add_argument("--with-coherent-dma", action="store_true", help="Enable Coherent DMA Slave interface.")
|
||||||
parser.add_argument("--dcache-width", default=None, help="L1 data cache bus width.")
|
cpu_group.add_argument("--without-coherent-dma", action="store_true", help="Disable Coherent DMA Slave interface.")
|
||||||
parser.add_argument("--icache-width", default=None, help="L1 instruction cache bus width.")
|
cpu_group.add_argument("--dcache-width", default=None, help="L1 data cache bus width.")
|
||||||
parser.add_argument("--dcache-size", default=None, help="L1 data cache size in byte per CPU.")
|
cpu_group.add_argument("--icache-width", default=None, help="L1 instruction cache bus width.")
|
||||||
parser.add_argument("--dcache-ways", default=None, help="L1 data cache ways per CPU.")
|
cpu_group.add_argument("--dcache-size", default=None, help="L1 data cache size in byte per CPU.")
|
||||||
parser.add_argument("--icache-size", default=None, help="L1 instruction cache size in byte per CPU.")
|
cpu_group.add_argument("--dcache-ways", default=None, help="L1 data cache ways per CPU.")
|
||||||
parser.add_argument("--icache-ways", default=None, help="L1 instruction cache ways per CPU")
|
cpu_group.add_argument("--icache-size", default=None, help="L1 instruction cache size in byte per CPU.")
|
||||||
parser.add_argument("--aes-instruction", default=None, help="Enable AES instruction acceleration.")
|
cpu_group.add_argument("--icache-ways", default=None, help="L1 instruction cache ways per CPU")
|
||||||
parser.add_argument("--without-out-of-order-decoder", action="store_true", help="Reduce area at cost of peripheral access speed")
|
cpu_group.add_argument("--aes-instruction", default=None, help="Enable AES instruction acceleration.")
|
||||||
parser.add_argument("--with-wishbone-memory" , action="store_true", help="Disable native LiteDRAM interface")
|
cpu_group.add_argument("--without-out-of-order-decoder", action="store_true", help="Reduce area at cost of peripheral access speed")
|
||||||
parser.add_argument("--with-fpu" , action="store_true", help="Enable the F32/F64 FPU")
|
cpu_group.add_argument("--with-wishbone-memory", action="store_true", help="Disable native LiteDRAM interface")
|
||||||
parser.add_argument("--cpu-per-fpu" , default="4", help="Maximal ratio between CPU count and FPU count. Will instanciate as many FPU as necessary.")
|
cpu_group.add_argument("--with-fpu", action="store_true", help="Enable the F32/F64 FPU")
|
||||||
parser.add_argument("--with-rvc" , action="store_true", help="Enable RISC-V compressed instruction support")
|
cpu_group.add_argument("--cpu-per-fpu", default="4", help="Maximal ratio between CPU count and FPU count. Will instanciate as many FPU as necessary.")
|
||||||
parser.add_argument("--dtlb-size", default=4, help="Data TLB size.")
|
cpu_group.add_argument("--with-rvc", action="store_true", help="Enable RISC-V compressed instruction support")
|
||||||
parser.add_argument("--itlb-size", default=4, help="Instruction TLB size.")
|
cpu_group.add_argument("--dtlb-size", default=4, help="Data TLB size.")
|
||||||
|
cpu_group.add_argument("--itlb-size", default=4, help="Instruction TLB size.")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def args_read(args):
|
def args_read(args):
|
||||||
|
|
Loading…
Reference in a new issue