K
KJ
Guest
"Tricky" <Trickyhead@gmail.com> wrote in message
news:1194455996.100802.202830@y27g2000pre.googlegroups.com...
On Nov 6, 10:03 pm, Duane Clark <junkm...@junkmail.com> wrote:
A similar (but reversed) approach of defining a temporary vector would work
if 'Data' was an output.
No such trick that I know of will work if 'Data' is an inout...mapping each
bit as Duane suggested will work in all situations.
KJ
news:1194455996.100802.202830@y27g2000pre.googlegroups.com...
On Nov 6, 10:03 pm, Duane Clark <junkm...@junkmail.com> wrote:
What you've suggested will only work if 'Data' is an input to the entity.Frédéric Lochon wrote:
My second idea was to map directly.
port map ( Data => Data_0 & Data_1);
port map ( Data(0) => Data_0, Data(1) => Data_1 );
Or, maybe less elegent in the top level entity
signal temp_data : std_logic_vector(1 downto 0);
begin
temp_data <= data_1 & data_0;
--port map
data => temp_data,
A similar (but reversed) approach of defining a temporary vector would work
if 'Data' was an output.
No such trick that I know of will work if 'Data' is an inout...mapping each
bit as Duane suggested will work in all situations.
KJ