35use ieee.std_logic_1164.
all;
36use ieee.numeric_std.
all;
86 signal HIO_CNTL : hio_cntl_type := hio_cntl_init;
87 signal HIO_STAT : hio_stat_type := hio_stat_init;
96 signal SER_MONI : serport_moni_type := serport_moni_init;
100 GEN_CLKSYS :
s7_cmt_sfs -- clock generator -------------------
102 VCO_DIVIDE => sys_conf_clksys_vcodivide,
103 VCO_MULTIPLY => sys_conf_clksys_vcomultiply,
104 OUT_DIVIDE => sys_conf_clksys_outdivide,
105 CLKIN_PERIOD =>
10.0,
106 CLKIN_JITTER =>
0.01,
107 STARTUP_WAIT => false,
108 GEN_TYPE => sys_conf_clksys_gentype
)
118 USECDIV => sys_conf_clksys_mhz,
119 MSECDIV => sys_conf_clkdiv_msecdiv
)
181 CDINIT => sys_conf_uart_cdinit,
188 ENAXON => HIO_CNTL.enaxon,
189 ENAESC => HIO_CNTL.enaesc,
223 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