Project

General

Profile

Revision 248eb65e src/backends/VHDL/vhdl_ast.ml

View differences:

src/backends/VHDL/vhdl_ast.ml
36 36
  | Base of string
37 37
  | Range of string option * int * int
38 38
  | Bit_vector of int * int
39
  | Array of int * int * vhdl_type_t
40
  | Enumerated of string list
39
  | Array of { indexes: vhdl_name_t list; const: vhdl_constraint_t option [@default None]; definition: vhdl_subtype_indication_t } [@name "ARRAY_TYPE_DEFINITION"]
40
  | Record of vhdl_element_declaration_t list [@name "RECORD_TYPE_DEFINITION"]
41
  | Enumerated of vhdl_name_t list [@name "ENUMERATION_TYPE_DEFINITION"]
41 42
  | Void
43
and vhdl_element_declaration_t =
44
  { 
45
    names : vhdl_name_t list; 
46
    definition: vhdl_subtype_indication_t;
47
  }
42 48
and vhdl_subtype_indication_t =
43 49
  {
44 50
    name : vhdl_name_t [@default NoName];
......
313 319
  {
314 320
    name: vhdl_name_t [@default NoName];
315 321
    shared_defs: vhdl_definition_t list [@default []];
322
    shared_decls: vhdl_declaration_t list [@default []];
316 323
  }
317 324
[@@deriving show { with_path = false }, yojson {strict = false}];;
318 325

  

Also available in: Unified diff