Project

General

Profile

Download (4.78 KB) Statistics
| Branch: | Tag: | Revision:
1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "tb_counter"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["SIMPLE_NAME", "counter_types"]]]]]], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "tb_counter"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "clk"], ["IDENTIFIER", "clr"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "bit"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "'0'"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "q0"], ["IDENTIFIER", "q1"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "digit"]}
29
            }
30
          ]}
31
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
32
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "counter"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "registered"], "port_map" : [{
33
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
34
          , {
35
            "formal_name" : ["SIMPLE_NAME", "clr"], "actual_designator" : ["SIMPLE_NAME", "clr"]}
36
          , {
37
            "formal_name" : ["SIMPLE_NAME", "q0"], "actual_designator" : ["SIMPLE_NAME", "q0"]}
38
          , {
39
            "formal_name" : ["SIMPLE_NAME", "q1"], "actual_designator" : ["SIMPLE_NAME", "q1"]}
40
          ]}
41
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
42
          "postponed" : false, "label" : ["IDENTIFIER", "clk_gen"], "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
43
            "expr" : [{
44
              "value" : ["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["EXPRESSION", {
48
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
49
                    ]]}
50
                  ]]}
51
                ]]}
52
              ], "delay" : ["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CONSTANT_VALUE", {
57
                        "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
58
                      ]]}
59
                    ]]}
60
                  ]]}
61
                ]]}
62
              ]}
63
            ]}
64
          ]}
65
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
66
          "postponed" : false, "label" : ["IDENTIFIER", "clr_gen"], "lhs" : ["SIMPLE_NAME", "clr"], "rhs" : [{
67
            "expr" : [{
68
              "value" : ["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["EXPRESSION", {
72
                      "args" : [["CONSTANT_VALUE", {
73
                        "value" : ["CST_LITERAL", "'1'"]}
74
                      ]]}
75
                    ]]}
76
                  ]]}
77
                ]]}
78
              ], "delay" : ["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["EXPRESSION", {
82
                      "args" : [["CONSTANT_VALUE", {
83
                        "value" : ["CST_LITERAL", "95"], "unit_name" : ["SIMPLE_NAME", "ns"]}
84
                      ]]}
85
                    ]]}
86
                  ]]}
87
                ]]}
88
              ]}
89
            , {
90
              "value" : ["EXPRESSION", {
91
                "args" : [["EXPRESSION", {
92
                  "args" : [["EXPRESSION", {
93
                    "args" : [["EXPRESSION", {
94
                      "args" : [["CONSTANT_VALUE", {
95
                        "value" : ["CST_LITERAL", "'0'"]}
96
                      ]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ], "delay" : ["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CONSTANT_VALUE", {
105
                        "value" : ["CST_LITERAL", "135"], "unit_name" : ["SIMPLE_NAME", "ns"]}
106
                      ]]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]}
111
            ]}
112
          ]}
113
        ]]}
114
      ]}
115
    ]}
116
  }
(37-37/38)