Line 57... |
Line 57... |
rden_i : in std_ulogic; -- read enable
|
rden_i : in std_ulogic; -- read enable
|
wren_i : in std_ulogic; -- word write enable
|
wren_i : in std_ulogic; -- word write enable
|
data_i : in std_ulogic_vector(31 downto 0); -- data in
|
data_i : in std_ulogic_vector(31 downto 0); -- data in
|
data_o : out std_ulogic_vector(31 downto 0); -- data out
|
data_o : out std_ulogic_vector(31 downto 0); -- data out
|
ack_o : out std_ulogic; -- transfer acknowledge
|
ack_o : out std_ulogic; -- transfer acknowledge
|
|
err_o : out std_ulogic; -- transfer error
|
-- clock generator --
|
-- clock generator --
|
clkgen_en_o : out std_ulogic; -- enable clock generator
|
clkgen_en_o : out std_ulogic; -- enable clock generator
|
clkgen_i : in std_ulogic_vector(07 downto 0); -- "clock" inputs
|
clkgen_i : in std_ulogic_vector(07 downto 0); -- "clock" inputs
|
-- interrupt --
|
-- interrupt --
|
irq_o : out std_ulogic; -- interrupt request
|
irq_o : out std_ulogic; -- interrupt request
|
Line 99... |
Line 100... |
rden <= acc_en and rden_i; -- the read access is always a full 32-bit word wide; if required, the byte/half-word select/masking is done in the CPU
|
rden <= acc_en and rden_i; -- the read access is always a full 32-bit word wide; if required, the byte/half-word select/masking is done in the CPU
|
|
|
-- NOTE: Do not modify the CFS base address or the CFS' occupied address space as this might cause access
|
-- NOTE: Do not modify the CFS base address or the CFS' occupied address space as this might cause access
|
-- collisions with other modules.
|
-- collisions with other modules.
|
|
|
|
-- This module provides an ERROR signal to signal a faulty access operation to the CPU.
|
|
-- It can be used to indicate an invalid access (for example to an unused CFS register address) or to signal
|
|
-- a faulty state (like "not operational yet"). The error signal can be checked be checked by the applications
|
|
-- "bus access fault" exception handler (provided by the system's BUSKEEPER module).
|
|
-- This signal may only be set when the module is actually accessed! Tie to zero if not explicitly used.
|
|
err_o <= '0';
|
|
|
|
|
-- CFS Generics ---------------------------------------------------------------------------
|
-- CFS Generics ---------------------------------------------------------------------------
|
-- -------------------------------------------------------------------------------------------
|
-- -------------------------------------------------------------------------------------------
|
-- In its default version, the CFS provides the configuration generics. single generic:
|
-- In its default version, the CFS provides the configuration generics. single generic:
|
-- CFS_IN_SIZE configures the size (in bits) of the CFS input conduit cfs_in_i
|
-- CFS_IN_SIZE configures the size (in bits) of the CFS input conduit cfs_in_i
|