Re: Direct instantiation and configuration



Von Rick Jackson:

> As I understand it, there's no way to configure a
> directly-instantiated component. I have some legacy code which looks
> like:
>
> my_comp : entity my_lib.my_entity
> port map(...);
>
> Problem: I need to configure this component, without changing the
> source code. This seems to be impossible (and a good argument for
> never using direct instantiation). Any comments?

I don't know if I completely understand your problem, but what about
this?

my_comp : entity my_lib.my_entity(conf)
port map(...);

Eike
.



Relevant Pages

  • Direct instantiation and configuration
    ... directly-instantiated component. ... I have some legacy code which looks ... port map; ... Prev by Date: ...
    (comp.lang.vhdl)
  • Re: COMM Control
    ... On further investigation the comm control does work, when the port is open ... to stop support, but there most be an awful lot of legacy code out there. ...
    (microsoft.public.windowsce.embedded.vb)
  • Re: Using legacy C/C++ code with C#
    ... way to use my legacy code from C#? ... the best way is to just port it and abandon the original. ... The latter is basically the same as the former, but more explicit. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Direct instantiation and configuration
    ... directly-instantiated component. ... I have some legacy code which looks ... This seems to be impossible (and a good argument for never using direct instantiation). ... port maps. ...
    (comp.lang.vhdl)
  • fscanf for streamed I/O
    ... I am in the process of porting some legacy code to vxworks and am ... running into problems with reading from the port. ...
    (comp.os.vxworks)