#!/usr/bin/python3
# This file was automatically generated from drawio2CBD from
#   .\SinGen.drawio

from pyCBD.Core import *
from pyCBD.lib.std import *

class SinGen(CBD):
    def __init__(self, block_name):
        super().__init__(block_name, input_ports=[], output_ports=['OUT1'])

        # Create the Blocks
        self.addBlock(TimeBlock("time"))
        self.addBlock(GenericBlock("sine", block_operator=("sin")))

        # Create the Connections
        self.addConnection("time", "sine", output_port_name="OUT1", input_port_name="IN1")
        self.addConnection("sine", "OUT1", output_port_name="OUT1")


