Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

write data with IOWR();

here is my components slave interface :

port ( clk : in std_logic;

resetn : in std_logic;

read : in std_logic;

write : in std_logic;

chipselect : in std_logic;

writedata : in std_logic_vector(15 downto 0);

byteenable : in std_logic_vector(1 downto 0);

address : in std_logic_vector(1 downto 0);

readdata : out std_logic_vector(15 downto 0);

SIG_EXT : out std_logic_vector(1 downto 0)

);

How do I write some data to the ""writedata"" pin ???

should i write : IOWR( BASE , 0x0 , DATA);
No RepliesBe the first to reply