def METHOD_NAME(
    self,
    duration: str = "1ms",
    rate: str = "100GB/s",
    block_size: int = 64,
    min_addr: int = 0,
    max_addr: int = 32768,
    rd_perc: int = 100,
    data_limit: int = 0,
) -> None:
    """
    This function will add a random traffic to all the cores in the
    generator with the params specified.
    :param duration: The number of ticks for the generator core to generate
    traffic.
    :param rate: The rate at which the synthetic data is read/written.
    :param block_size: The number of bytes to be read/written with each
    request.
    :param min_addr: The lower bound of the address range the generator
    will read/write from/to.
    :param max_addr: The upper bound of the address range the generator
    will read/write from/to.
    :param rd_perc: The percentage of read requests among all the generated
    requests. The write percentage would be equal to 100 - rd_perc.
    :param data_limit: The amount of data in bytes to read/write by the
    generator before stopping generation.
    """
    for core in self.cores:
        core.METHOD_NAME(
            duration,
            rate,
            block_size,
            min_addr,
            max_addr,
            rd_perc,
            data_limit,
        )