ReonV/lib/gaisler/spi/spictrl.in.vhd

15 lines
871 B
VHDL

-- SPI controller
constant CFG_SPICTRL_ENABLE : integer := CONFIG_SPICTRL_ENABLE;
constant CFG_SPICTRL_NUM : integer := CONFIG_SPICTRL_NUM;
constant CFG_SPICTRL_SLVS : integer := CONFIG_SPICTRL_SLVS;
constant CFG_SPICTRL_FIFO : integer := CONFIG_SPICTRL_FIFO;
constant CFG_SPICTRL_SLVREG : integer := CONFIG_SPICTRL_SLVREG;
constant CFG_SPICTRL_ODMODE : integer := CONFIG_SPICTRL_ODMODE;
constant CFG_SPICTRL_AM : integer := CONFIG_SPICTRL_AM;
constant CFG_SPICTRL_ASEL : integer := CONFIG_SPICTRL_ASEL;
constant CFG_SPICTRL_TWEN : integer := CONFIG_SPICTRL_TWEN;
constant CFG_SPICTRL_MAXWLEN : integer := CONFIG_SPICTRL_MAXWLEN;
constant CFG_SPICTRL_SYNCRAM : integer := CONFIG_SPICTRL_SYNCRAM;
constant CFG_SPICTRL_FT : integer := CONFIG_SPICTRL_FT;
constant CFG_SPICTRL_PROT : integer := CONFIG_SPICTRL_PROT;