Add double-buffer UDP definitions

This commit is contained in:
Alex Mykyta
2022-10-03 21:36:49 -07:00
parent 1aa9d8b603
commit 21a4e5a41c
7 changed files with 160 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ from typing import TYPE_CHECKING
from .exporter import RegblockExporter
from .cpuif import apb3, apb4, axi4lite, passthrough
from .udps import ALL_UDPS
if TYPE_CHECKING:
import argparse
@@ -23,6 +24,8 @@ CPUIF_DICT = {
class Exporter:
short_desc = "Generate a SystemVerilog control/status register (CSR) block"
udp_definitions = ALL_UDPS
def add_exporter_arguments(self, arg_group: 'argparse.ArgumentParser') -> None:
arg_group.add_argument(
"--cpuif",