-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.json
66 lines (66 loc) · 1.54 KB
/
config.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"luts": [
{
"id": 0,
"truth_table": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
},
{
"id": 1,
"truth_table": [0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1]
}
],
"dffs": [
{
"id": 0
},
{
"id": 1
}
],
"brams": [
{
"id": 0,
"size": 1024,
"width": 8,
"connections": {
"address": { "LUT": { "id": 1, "port": 0 } },
"data_in": { "Input": { "name": "data_in" } },
"data_out": { "Output": { "name": "data_out" } },
"write_enable": { "DFF": { "id": 1, "port": "Q" } },
"clock": { "Input": { "name": "clock" } }
}
}
],
"connections": [
{
"from": { "Input": { "name": "input1" } },
"to": { "LUT": { "id": 0, "port": 0 } }
},
{
"from": { "Input": { "name": "input2" } },
"to": { "LUT": { "id": 0, "port": 1 } }
},
{
"from": { "LUT": { "id": 0, "port": 0 } },
"to": { "DFF": { "id": 0, "port": "D" } }
},
{
"from": { "DFF": { "id": 0, "port": "Q" } },
"to": { "Output": { "name": "output1" } }
},
{
"from": { "Input": { "name": "input3" } },
"to": { "LUT": { "id": 1, "port": 1 } }
},
{
"from": { "Input": { "name": "input4" } },
"to": { "LUT": { "id": 1, "port": 2 } }
},
{
"from": { "LUT": { "id": 1, "port": 0 } },
"to": { "DFF": { "id": 1, "port": "D" } }
}
],
"inputs": ["input1", "input2", "input3", "input4", "data_in", "clock"],
"outputs": ["output1", "data_out"]
}