Project

General

Profile

Download (8.62 KB) Statistics
| Branch: | Tag: | Revision:
1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "reg"], "ports" : [{
6
          "names" : [["IDENTIFIER", "d"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
8
              "ranges" : [["RANGE_WITH_DIRECTION", {
9
                "direction" : "downto", "from" : ["EXPRESSION", {
10
                  "args" : [["EXPRESSION", {
11
                    "args" : [["CONSTANT_VALUE", {
12
                      "value" : ["CST_LITERAL", "7"]}
13
                    ]]}
14
                  ]]}
15
                ], "_to" : ["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "0"]}
19
                    ]]}
20
                  ]]}
21
                ]}
22
              ]]}
23
            ]}
24
          }
25
        , {
26
          "names" : [["IDENTIFIER", "q"]], "mode" : ["out"], "typ" : {
27
            "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
28
              "ranges" : [["RANGE_WITH_DIRECTION", {
29
                "direction" : "downto", "from" : ["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["CONSTANT_VALUE", {
32
                      "value" : ["CST_LITERAL", "7"]}
33
                    ]]}
34
                  ]]}
35
                ], "_to" : ["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["CONSTANT_VALUE", {
38
                      "value" : ["CST_LITERAL", "0"]}
39
                    ]]}
40
                  ]]}
41
                ]}
42
              ]]}
43
            ]}
44
          }
45
        , {
46
          "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
47
            "name" : ["SIMPLE_NAME", "bit"]}
48
          }
49
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
50
      ]}
51
    , {
52
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
53
        "name" : ["IDENTIFIER", "microprocessor"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
54
      ]}
55
    , {
56
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
57
        "name" : ["IDENTIFIER", "RTL"], "entity" : ["IDENTIFIER", "microprocessor"], "ARCHITECTURE_DECLARATIVE_PART" : [{
58
          "declaration" : ["SIGNAL_DECLARATION", {
59
            "names" : [["IDENTIFIER", "interrupt_req"]], "typ" : {
60
              "name" : ["SIMPLE_NAME", "bit"]}
61
            }
62
          ]}
63
        , {
64
          "declaration" : ["SIGNAL_DECLARATION", {
65
            "names" : [["IDENTIFIER", "interrupt_level"]], "typ" : {
66
              "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
67
                "ranges" : [["RANGE_WITH_DIRECTION", {
68
                  "direction" : "downto", "from" : ["EXPRESSION", {
69
                    "args" : [["EXPRESSION", {
70
                      "args" : [["CONSTANT_VALUE", {
71
                        "value" : ["CST_LITERAL", "2"]}
72
                      ]]}
73
                    ]]}
74
                  ], "_to" : ["EXPRESSION", {
75
                    "args" : [["EXPRESSION", {
76
                      "args" : [["CONSTANT_VALUE", {
77
                        "value" : ["CST_LITERAL", "0"]}
78
                      ]]}
79
                    ]]}
80
                  ]}
81
                ]]}
82
              ]}
83
            }
84
          ]}
85
        , {
86
          "declaration" : ["SIGNAL_DECLARATION", {
87
            "names" : [["IDENTIFIER", "carry_flag"], ["IDENTIFIER", "negative_flag"], ["IDENTIFIER", "overflow_flag"], ["IDENTIFIER", "zero_flag"]], "typ" : {
88
              "name" : ["SIMPLE_NAME", "bit"]}
89
            }
90
          ]}
91
        , {
92
          "declaration" : ["SIGNAL_DECLARATION", {
93
            "names" : [["IDENTIFIER", "program_status"]], "typ" : {
94
              "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
95
                "ranges" : [["RANGE_WITH_DIRECTION", {
96
                  "direction" : "downto", "from" : ["EXPRESSION", {
97
                    "args" : [["EXPRESSION", {
98
                      "args" : [["CONSTANT_VALUE", {
99
                        "value" : ["CST_LITERAL", "7"]}
100
                      ]]}
101
                    ]]}
102
                  ], "_to" : ["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CONSTANT_VALUE", {
105
                        "value" : ["CST_LITERAL", "0"]}
106
                      ]]}
107
                    ]]}
108
                  ]}
109
                ]]}
110
              ]}
111
            }
112
          ]}
113
        , {
114
          "declaration" : ["SIGNAL_DECLARATION", {
115
            "names" : [["IDENTIFIER", "clk_PSR"]], "typ" : {
116
              "name" : ["SIMPLE_NAME", "bit"]}
117
            }
118
          ]}
119
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
120
          "name" : ["IDENTIFIER", "PSR"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "port_map" : [{
121
            "formal_name" : ["INDEXED_NAME", {
122
              "id" : ["SIMPLE_NAME", "d"], "exprs" : [["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "args" : [["CONSTANT_VALUE", {
127
                        "value" : ["CST_LITERAL", "7"]}
128
                      ]]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]]}
133
            ], "actual_designator" : ["SIMPLE_NAME", "interrupt_req"]}
134
          , {
135
            "formal_name" : ["SLICE_NAME", {
136
              "id" : ["SIMPLE_NAME", "d"], "range" : ["RANGE_WITH_DIRECTION", {
137
                "direction" : "downto", "from" : ["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["CONSTANT_VALUE", {
140
                      "value" : ["CST_LITERAL", "6"]}
141
                    ]]}
142
                  ]]}
143
                ], "_to" : ["EXPRESSION", {
144
                  "args" : [["EXPRESSION", {
145
                    "args" : [["CONSTANT_VALUE", {
146
                      "value" : ["CST_LITERAL", "4"]}
147
                    ]]}
148
                  ]]}
149
                ]}
150
              ]}
151
            ], "actual_designator" : ["SIMPLE_NAME", "interrupt_level"]}
152
          , {
153
            "formal_name" : ["INDEXED_NAME", {
154
              "id" : ["SIMPLE_NAME", "d"], "exprs" : [["EXPRESSION", {
155
                "args" : [["EXPRESSION", {
156
                  "args" : [["EXPRESSION", {
157
                    "args" : [["EXPRESSION", {
158
                      "args" : [["CONSTANT_VALUE", {
159
                        "value" : ["CST_LITERAL", "3"]}
160
                      ]]}
161
                    ]]}
162
                  ]]}
163
                ]]}
164
              ]]}
165
            ], "actual_designator" : ["SIMPLE_NAME", "carry_flag"]}
166
          , {
167
            "formal_name" : ["INDEXED_NAME", {
168
              "id" : ["SIMPLE_NAME", "d"], "exprs" : [["EXPRESSION", {
169
                "args" : [["EXPRESSION", {
170
                  "args" : [["EXPRESSION", {
171
                    "args" : [["EXPRESSION", {
172
                      "args" : [["CONSTANT_VALUE", {
173
                        "value" : ["CST_LITERAL", "2"]}
174
                      ]]}
175
                    ]]}
176
                  ]]}
177
                ]]}
178
              ]]}
179
            ], "actual_designator" : ["SIMPLE_NAME", "negative_flag"]}
180
          , {
181
            "formal_name" : ["INDEXED_NAME", {
182
              "id" : ["SIMPLE_NAME", "d"], "exprs" : [["EXPRESSION", {
183
                "args" : [["EXPRESSION", {
184
                  "args" : [["EXPRESSION", {
185
                    "args" : [["EXPRESSION", {
186
                      "args" : [["CONSTANT_VALUE", {
187
                        "value" : ["CST_LITERAL", "1"]}
188
                      ]]}
189
                    ]]}
190
                  ]]}
191
                ]]}
192
              ]]}
193
            ], "actual_designator" : ["SIMPLE_NAME", "overflow_flag"]}
194
          , {
195
            "formal_name" : ["INDEXED_NAME", {
196
              "id" : ["SIMPLE_NAME", "d"], "exprs" : [["EXPRESSION", {
197
                "args" : [["EXPRESSION", {
198
                  "args" : [["EXPRESSION", {
199
                    "args" : [["EXPRESSION", {
200
                      "args" : [["CONSTANT_VALUE", {
201
                        "value" : ["CST_LITERAL", "0"]}
202
                      ]]}
203
                    ]]}
204
                  ]]}
205
                ]]}
206
              ]]}
207
            ], "actual_designator" : ["SIMPLE_NAME", "zero_flag"]}
208
          , {
209
            "formal_name" : ["SIMPLE_NAME", "q"], "actual_designator" : ["SIMPLE_NAME", "program_status"]}
210
          , {
211
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk_PSR"]}
212
          ]}
213
        ]]}
214
      ]}
215
    ]}
216
  }
(101-101/276)