Project

General

Profile

« Previous | Next » 

Revision ddabd63e

Added by Arnaud Dieumegard over 3 years ago

Updated tests for lustrei vhdl import

View differences:

vhdl_json/vhdl_files/2-exportOK/ghdl/ghdl/testsuite/vests/vhdl-93/ashenden/compliant/ch_05_fg_05_25.json
15 15
    , {
16 16
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
17 17
        "name" : ["IDENTIFIER", "struct"], "entity" : ["IDENTIFIER", "reg4"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
18
          "name" : ["IDENTIFIER", "bit0"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
18
          "name" : ["IDENTIFIER", "bit0"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
19 19
            "actual_designator" : ["SIMPLE_NAME", "d0"]}
20 20
          , {
21 21
            "actual_designator" : ["SIMPLE_NAME", "clk"]}
......
25 25
            "actual_designator" : ["SIMPLE_NAME", "q0"]}
26 26
          ]}
27 27
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
28
          "name" : ["IDENTIFIER", "bit1"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
28
          "name" : ["IDENTIFIER", "bit1"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
29 29
            "actual_designator" : ["SIMPLE_NAME", "d1"]}
30 30
          , {
31 31
            "actual_designator" : ["SIMPLE_NAME", "clk"]}
......
35 35
            "actual_designator" : ["SIMPLE_NAME", "q1"]}
36 36
          ]}
37 37
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
38
          "name" : ["IDENTIFIER", "bit2"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
38
          "name" : ["IDENTIFIER", "bit2"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
39 39
            "actual_designator" : ["SIMPLE_NAME", "d2"]}
40 40
          , {
41 41
            "actual_designator" : ["SIMPLE_NAME", "clk"]}
......
45 45
            "actual_designator" : ["SIMPLE_NAME", "q2"]}
46 46
          ]}
47 47
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
48
          "name" : ["IDENTIFIER", "bit3"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
48
          "name" : ["IDENTIFIER", "bit3"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
49 49
            "actual_designator" : ["SIMPLE_NAME", "d3"]}
50 50
          , {
51 51
            "actual_designator" : ["SIMPLE_NAME", "clk"]}

Also available in: Unified diff