Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / deb585748 / 585748_deb.json @ 3fd18385

History | View | Annotate | Download (3.5 KB)

1
{
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", "tb_test"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "arch_tb"], "entity" : ["IDENTIFIER", "tb_test"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "i_s"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "integer"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "id" : "-", "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "1"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "v_s"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "unsigned"], "const" : ["INDEX_CONSTRAINT", {
29
                "ranges" : [["RANGE_WITH_DIRECTION", {
30
                  "direction" : "downto", "from" : ["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "args" : [["CONSTANT_VALUE", {
33
                        "value" : ["CST_LITERAL", "7"]}
34
                      ]]}
35
                    ]]}
36
                  ], "_to" : ["EXPRESSION", {
37
                    "args" : [["EXPRESSION", {
38
                      "args" : [["CONSTANT_VALUE", {
39
                        "value" : ["CST_LITERAL", "0"]}
40
                      ]]}
41
                    ]]}
42
                  ]}
43
                ]]}
44
              ]}
45
            }
46
          ]}
47
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
48
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "v_s"], "rhs" : [{
49
            "expr" : [{
50
              "value" : ["EXPRESSION", {
51
                "args" : [["EXPRESSION", {
52
                  "args" : [["EXPRESSION", {
53
                    "args" : [["EXPRESSION", {
54
                      "args" : [["CALL", ["INDEXED_NAME", {
55
                        "id" : ["SIMPLE_NAME", "to_unsigned"], "exprs" : [["EXPRESSION", {
56
                          "args" : [["EXPRESSION", {
57
                            "args" : [["EXPRESSION", {
58
                              "args" : [["EXPRESSION", {
59
                                "args" : [["CALL", ["SIMPLE_NAME", "i_s"]]]}
60
                              ]]}
61
                            ]]}
62
                          ]]}
63
                        ], ["EXPRESSION", {
64
                          "args" : [["EXPRESSION", {
65
                            "args" : [["EXPRESSION", {
66
                              "args" : [["EXPRESSION", {
67
                                "args" : [["CONSTANT_VALUE", {
68
                                  "value" : ["CST_LITERAL", "8"]}
69
                                ]]}
70
                              ]]}
71
                            ]]}
72
                          ]]}
73
                        ]]}
74
                      ]]]}
75
                    ]]}
76
                  ]]}
77
                ]]}
78
              ]}
79
            ]}
80
          ]}
81
        ]]}
82
      ]}
83
    ]}
84
  }