35use ieee.std_logic_1164.
all;
36use ieee.numeric_std.
all;
87 signal HIO_CNTL : hio_cntl_type := hio_cntl_init;
88 signal HIO_STAT : hio_stat_type := hio_stat_init;
97 signal SER_MONI : serport_moni_type := serport_moni_init;
101 GEN_CLKALL :
s7_cmt_1ce1ce -- clock generator system ------------
103 CLKIN_PERIOD =>
10.0,
104 CLKIN_JITTER =>
0.01,
105 STARTUP_WAIT => false,
106 CLK0_VCODIV => sys_conf_clksys_vcodivide,
107 CLK0_VCOMUL => sys_conf_clksys_vcomultiply,
108 CLK0_OUTDIV => sys_conf_clksys_outdivide,
109 CLK0_GENTYPE => sys_conf_clksys_gentype,
111 CLK0_USECDIV => sys_conf_clksys_mhz,
112 CLK0_MSECDIV => sys_conf_clksys_msecdiv,
113 CLK1_VCODIV => sys_conf_clkser_vcodivide,
114 CLK1_VCOMUL => sys_conf_clkser_vcomultiply,
115 CLK1_OUTDIV => sys_conf_clkser_outdivide,
116 CLK1_GENTYPE => sys_conf_clkser_gentype,
118 CLK1_USECDIV => sys_conf_clkser_mhz,
119 CLK1_MSECDIV => sys_conf_clkser_msecdiv
)
186 CDINIT => sys_conf_uart_cdinit,
194 ENAXON => HIO_CNTL.enaxon,
195 ENAESC => HIO_CNTL.enaesc,
229 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