umerarain
Newbie level 4
hello
iam doing my master theesis and in my theesis iam programming microprocessor using vhdl.but problem iam getting is data bus(external bus) conflict.i want to use data bus as (inout),but its not working.i have written this small program also,but its also not working.can nay one help me.
process (clk)
begin
if clk = '1' and clk 'event then
a <= Internal_bus;
b <= External_bus;
end if;
end process;
process (Output_enable,Internal_bus)
begin
if Output_enable = '1' then
External_bus <= a;
else
External_bus <= (others => 'Z');
end if;
end process;
output <= b;
iam doing my master theesis and in my theesis iam programming microprocessor using vhdl.but problem iam getting is data bus(external bus) conflict.i want to use data bus as (inout),but its not working.i have written this small program also,but its also not working.can nay one help me.
process (clk)
begin
if clk = '1' and clk 'event then
a <= Internal_bus;
b <= External_bus;
end if;
end process;
process (Output_enable,Internal_bus)
begin
if Output_enable = '1' then
External_bus <= a;
else
External_bus <= (others => 'Z');
end if;
end process;
output <= b;