(self, name, direction, pin_type_str, pin_category="data")
| 732 | self.fit_size_to_content() |
| 733 | |
| 734 | def add_pin(self, name, direction, pin_type_str, pin_category="data"): |
| 735 | pin = Pin(self, name, direction, pin_type_str, pin_category) |
| 736 | self.pins.append(pin) |
| 737 | |
| 738 | if direction == "input": |
| 739 | self.input_pins.append(pin) |
| 740 | else: |
| 741 | self.output_pins.append(pin) |
| 742 | |
| 743 | if pin_category == "execution": |
| 744 | self.execution_pins.append(pin) |
| 745 | else: |
| 746 | self.data_pins.append(pin) |
| 747 | |
| 748 | return pin |
| 749 | |
| 750 | def add_execution_pin(self, name, direction): |
| 751 | """Add an execution pin for flow control.""" |
no test coverage detected