S
sheri
Guest
hi all,
there is some problem in the following code which i could not figure
it out..I have synthesised this code in xilinx XST..The scehamtics
shown is wrong..So please help me to solve this..thanks in advance..
entity simple_design is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
c : in STD_LOGIC;
d : out STD_LOGIC;
e : out STD_LOGIC);
end simple_design;
architecture Behavioral of simple_design is
procedure logic (
signal a : in std_logic;
signal b : in std_logic;
signal c : in std_logic;
signal x : out std_logic
) is
begin
x <= a and b and c;
end procedure logic;
begin
logic_P:
process (a, b, c)
begin
d <= a xor b xor c;
logic (
a => a,
b => b,
c => c,
x => e
);
end process logic_P;
end architecture Behavioral;
there is some problem in the following code which i could not figure
it out..I have synthesised this code in xilinx XST..The scehamtics
shown is wrong..So please help me to solve this..thanks in advance..
entity simple_design is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
c : in STD_LOGIC;
d : out STD_LOGIC;
e : out STD_LOGIC);
end simple_design;
architecture Behavioral of simple_design is
procedure logic (
signal a : in std_logic;
signal b : in std_logic;
signal c : in std_logic;
signal x : out std_logic
) is
begin
x <= a and b and c;
end procedure logic;
begin
logic_P:
process (a, b, c)
begin
d <= a xor b xor c;
logic (
a => a,
b => b,
c => c,
x => e
);
end process logic_P;
end architecture Behavioral;