38use ieee.std_logic_1164.
all;
39use ieee.numeric_std.
all;
89 signal HIO_CNTL : hio_cntl_type := hio_cntl_init;
90 signal HIO_STAT : hio_stat_type := hio_stat_init;
99 signal SER_MONI : serport_moni_type := serport_moni_init;
103 GEN_CLKSYS :
s7_cmt_sfs -- clock generator -------------------
105 VCO_DIVIDE => sys_conf_clksys_vcodivide,
106 VCO_MULTIPLY => sys_conf_clksys_vcomultiply,
107 OUT_DIVIDE => sys_conf_clksys_outdivide,
108 CLKIN_PERIOD =>
10.0,
109 CLKIN_JITTER =>
0.01,
110 STARTUP_WAIT => false,
111 GEN_TYPE => sys_conf_clksys_gentype
)
121 USECDIV => sys_conf_clksys_mhz,
122 MSECDIV => sys_conf_clkdiv_msecdiv
)
184 CDINIT => sys_conf_uart_cdinit,
191 ENAXON => HIO_CNTL.enaxon,
192 ENAESC => HIO_CNTL.enaesc,
226 DSP_DP(7 downto 4) <= "0010";
out MONI serport_moni_type
std_logic_vector( 4 downto 0) slv5
std_logic_vector( 2 downto 0) slv3
std_logic_vector( 31 downto 0) slv32
std_logic_vector( 15 downto 0) slv16
std_logic_vector( 7 downto 0) slv8
in DSP_DP slv(( 2** DCWIDTH)- 1 downto 0)
out O_LED slv( LWIDTH- 1 downto 0)
in DSP_DAT slv( 4*( 2** DCWIDTH)- 1 downto 0)
out SWI slv( SWIDTH- 1 downto 0)
in I_BTN slv( BWIDTH- 1 downto 0)
in I_SWI slv( SWIDTH- 1 downto 0)
out BTN slv( BWIDTH- 1 downto 0)
out O_ANO_N slv(( 2** DCWIDTH)- 1 downto 0)
in LED slv( LWIDTH- 1 downto 0)
slv32 :=( others => '0') DSP_DAT
hio_cntl_type := hio_cntl_init HIO_CNTL
slv16 :=( others => '0') SWI
serport_moni_type := serport_moni_init SER_MONI
slv8 :=( others => '0') RXDATA
hio_stat_type := hio_stat_init HIO_STAT
slv16 :=( others => '0') LED
slv8 :=( others => '0') DSP_DP
slv5 :=( others => '0') BTN
slv8 :=( others => '0') TXDATA
in HIO_STAT hio_stat_type
in SER_MONI serport_moni_type
out HIO_CNTL hio_cntl_type
in SER_MONI serport_moni_type
out HIO_STAT hio_stat_type
in HIO_CNTL hio_cntl_type