Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.75 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"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "testCaseCrash"], "ports" : [{
6
          "names" : [["IDENTIFIER", "outPad"]], "mode" : ["out"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "inPad"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
14
      ]}
15
    , {
16
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
17
        "name" : ["IDENTIFIER", "behavioral"], "entity" : ["IDENTIFIER", "testCaseCrash"], "ARCHITECTURE_DECLARATIVE_PART" : [{
18
          "declaration" : ["COMPONENT_DECLARATION", {
19
            "name" : ["IDENTIFIER", "subBlock"], "ports" : [{
20
              "names" : [["IDENTIFIER", "outPort"]], "mode" : ["out"], "typ" : {
21
                "name" : ["SIMPLE_NAME", "std_logic"]}
22
              }
23
            , {
24
              "names" : [["IDENTIFIER", "inPort"]], "mode" : ["in"], "typ" : {
25
                "name" : ["SIMPLE_NAME", "std_logic"]}
26
              }
27
            ]}
28
          ]}
29
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
30
          "name" : ["IDENTIFIER", "xsubBlock"], "inst_unit" : ["SIMPLE_NAME", "subBlock"], "port_map" : [{
31
            "formal_name" : ["SIMPLE_NAME", "outPort"], "actual_designator" : ["SIMPLE_NAME", "outPad"]}
32
          , {
33
            "formal_name" : ["SIMPLE_NAME", "inPort"], "actual_designator" : ["SIMPLE_NAME", "inPad"]}
34
          ]}
35
        ]]}
36
      ]}
37
    ]}
38
  }