Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue283 / bar.json @ 2051e520

History | View | Annotate | Download (2.03 KB)

1 2051e520 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "IEEE"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "STD_LOGIC_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "numeric_std"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "Bar"], "ports" : [{
6
          "names" : [["IDENTIFIER", "a"]], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
10
      ]}
11
    , {
12
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
13
        "name" : ["IDENTIFIER", "RTL"], "entity" : ["IDENTIFIER", "Bar"], "ARCHITECTURE_DECLARATIVE_PART" : [{
14
          "declaration" : ["SIGNAL_DECLARATION", {
15
            "names" : [["IDENTIFIER", "s_test"]], "typ" : {
16
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
17
                "ranges" : [["RANGE_WITH_DIRECTION", {
18
                  "direction" : "downto", "from" : ["EXPRESSION", {
19
                    "args" : [["EXPRESSION", {
20
                      "args" : [["CONSTANT_VALUE", {
21
                        "value" : ["CST_LITERAL", "3"]}
22
                      ]]}
23
                    ]]}
24
                  ], "_to" : ["EXPRESSION", {
25
                    "args" : [["EXPRESSION", {
26
                      "args" : [["CONSTANT_VALUE", {
27
                        "value" : ["CST_LITERAL", "0"]}
28
                      ]]}
29
                    ]]}
30
                  ]}
31
                ]]}
32
              ]}
33
            , "init_val" : ["EXPRESSION", {
34
              "args" : [["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["CONSTANT_VALUE", {
38
                      "value" : ["CST_LITERAL", "\"1111\""]}
39
                    ]]}
40
                  ]]}
41
                ]]}
42
              ]]}
43
            ]}
44
          ]}
45
        ], "ARCHITECTURE_STATEMENT_PART" : []}
46
      ]}
47
    ]}
48
  }