Initial commit
This commit is contained in:
18
Libs/AhbLite/hdl/ahbMultiplexor_RTL.vhd
Normal file
18
Libs/AhbLite/hdl/ahbMultiplexor_RTL.vhd
Normal file
@@ -0,0 +1,18 @@
|
||||
ARCHITECTURE RTL OF ahbMultiplexor IS
|
||||
BEGIN
|
||||
|
||||
multiplexData: process(hSel, hRDataV, hReadyV, hRespV)
|
||||
begin
|
||||
hRData <= (others => '0');
|
||||
hReady <= '1';
|
||||
hResp <= '0';
|
||||
for index in hSel'range loop
|
||||
if hSel(index) = '1' then
|
||||
hRData <= std_ulogic_vector(hRDataV(index));
|
||||
hReady <= hReadyV(index);
|
||||
hResp <= hRespV(index);
|
||||
end if;
|
||||
end loop;
|
||||
end process multiplexData;
|
||||
|
||||
END ARCHITECTURE RTL;
|
||||
Reference in New Issue
Block a user