Project

General

Profile

« Previous | Next » 

Revision 27332198

Added by Arnaud Dieumegard over 6 years ago

Added support for component instantiation

View differences:

src/backends/VHDL/vhdl_ast.ml
248 248
    delay: vhdl_expr_t option;
249 249
  }
250 250
[@@deriving show { with_path = false }, yojson {strict = false}];;
251
			   
251

  
252
type vhdl_component_instantiation_t =
253
  {
254
    name: vhdl_name_t;
255
    inst_unit: vhdl_name_t;
256
    generic_map: vhdl_assoc_element_t option [@default None];
257
    port_map: vhdl_assoc_element_t option [@default None];
258
  }
259
[@@deriving show { with_path = false }, yojson {strict = false}];;
260

  
252 261
type vhdl_concurrent_stmt_t =
253 262
  | SigAssign of vhdl_conditional_signal_t [@name "CONDITIONAL_SIGNAL_ASSIGNMENT"]
254 263
  | Process of vhdl_process_t [@name "PROCESS_STATEMENT"]
255 264
  | SelectedSig of vhdl_selected_signal_t [@name "SELECTED_SIGNAL_ASSIGNMENT"]
265
  | ComponentInst of vhdl_component_instantiation_t [@name "COMPONENT_INSTANTIATION_STATEMENT"]
256 266
[@@deriving show { with_path = false }, yojson {strict = false}];;
257 267
  (*
258 268
type vhdl_statement_t =

Also available in: Unified diff