10 use ieee.std_logic_1164.
ALL;
11 use ieee.numeric_std.
ALL;
56 end entity tim_bus_master;
out bus_read_writestd_logic
High if this transaction is a write, low if it is a read.
in req_read_writestd_logic
Tells the controller if this is a read or write transaction. High == write, low == read...
in req_address_linesstd_logic_vector (data_width - 1 downto 0)
Addresses for read and write operations are placed on these lines.
in req_pendingstd_logic
This is put high to tell the controller a request is pending.
in resetstd_logic
Asynchonous reset signal.
inout bus_linesstd_logic_vector (data_width - 1 downto 0)
The lines which carry data and addresses;.
in clkstd_logic
The main system clock.
out bus_validstd_logic
Used to assert data written by the bus master to bus_lines is valid.
out req_acknowledgestd_logic
inout req_data_linesstd_logic_vector (data_width - 1 downto 0)
Request write data is placed on these lines.
data_widthinteger :=tim_bus_data_width
The number of data and address lines.
The bus master controller module which arbitrates bus requests and responses.
This package contains entity declarations and shared constant values for the bus logic modules...
in bus_enablestd_logic
Used to assert that the slave has read the bus lines and they can be updated.