source_generator 0.0.3

Basic source code generation features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
    "name" : "interface",
    "class" : "test",
    "generics" : [
        { "name" : "A", "data_type" : "integer", "default" : "0" },
        { "name" : "B", "data_type" : "std_logic", "default" : "'0'" },
        { "name" : "C", "data_type" : "boolean" },
        { "name" : "D", "data_type" : "positive" }
    ],
    "ports" : [
        { "name" : "a", "direction" : "in", "data_type" : "integer", "default" : "0" },
        { "name" : "b", "direction" : "out", "data_type" : "std_logic", "default" : "'0'" },
        { "name" : "c", "direction" : "inout", "data_type" : "boolean" },
        { "name" : "d", "direction" : "buffer", "data_type" : "positive" }
    ]
}