TDF and TDF script changes (application changes pending):

- Added new `pad` element to TDFs
- Refactored `pin` and `signal` elements to accommodate new `pad` element
- Improved validation of signal-to-pad relation in TDF validation script
- Added key attribute to `variant` element
- Removed `package` attribute from `variant` element
This commit is contained in:
Nav
2024-08-13 22:17:49 +01:00
parent d44eb49ca1
commit 8ba29c258d
269 changed files with 60017 additions and 48825 deletions

View File

@@ -3,20 +3,20 @@ namespace Targets\TargetDescriptionFiles;
class Signal
{
public ?string $padId = null;
public ?string $padKey = null;
public ?int $index = null;
public ?string $function = null;
public ?string $group = null;
public ?string $field = null;
public function __construct(
?string $padId,
?string $padKey,
?int $index,
?string $function,
?string $group,
?string $field
) {
$this->padId = $padId;
$this->padKey = $padKey;
$this->index = $index;
$this->function = $function;
$this->group = $group;