blob: 1fe355cb6a354a835aded39a87b26013d71da0a9 (
plain)
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
39
40
41
|
module a {
namespace "a";
prefix a;
import b{
prefix b;
}
typedef HexOffset {
type string;
}
grouping group {
container action {
config false;
container register {
config false;
list location {
key "location";
config false;
leaf location {
type string;
}
b:action "write" {
input {
leaf reg-addr {
type HexOffset;
mandatory true;
}
}
output {
leaf result {
type string;
}
}
}
}
}
}
}
}
|