Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.32 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", "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", ["FUNCTION_CALL", {
55
                        "id" : ["SIMPLE_NAME", "to_unsigned"], "assoc_list" : [{
56
                          "actual_designator" : ["SIMPLE_NAME", "i_s"]}
57
                        , {
58
                          "actual_expr" : ["EXPRESSION", {
59
                            "args" : [["EXPRESSION", {
60
                              "args" : [["EXPRESSION", {
61
                                "args" : [["EXPRESSION", {
62
                                  "args" : [["CONSTANT_VALUE", {
63
                                    "value" : ["CST_LITERAL", "8"]}
64
                                  ]]}
65
                                ]]}
66
                              ]]}
67
                            ]]}
68
                          ]}
69
                        ]}
70
                      ]]]}
71
                    ]]}
72
                  ]]}
73
                ]]}
74
              ]}
75
            ]}
76
          ]}
77
        ]]}
78
      ]}
79
    ]}
80
  }