forked from openhwgroup/cva6
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclasses.py
More file actions
38 lines (33 loc) · 909 Bytes
/
classes.py
File metadata and controls
38 lines (33 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2024 Thales DIS France SAS
#
# Licensed under the Solderpad Hardware License, Version 2.1 (the "License");
# you may not use this file except in compliance with the License.
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
# You may obtain a copy of the License at https://solderpad.org/licenses/
#
# Original Author: Jean-Roch COULON - Thales
#!/usr/bin/env python3
class Parameter:
def __init__(
self,
datatype,
description,
value,
):
self.datatype = datatype
self.description = description
self.value = value
class PortIO:
def __init__(
self,
name,
direction,
data_type,
description,
connexion,
):
self.name = name
self.direction = direction
self.data_type = data_type
self.description = description
self.connexion = connexion