90use ieee.std_logic_1164.
all;
91use ieee.numeric_std.
all;
143 signal RB_MREQ : rb_mreq_type := rb_mreq_init;
144 signal RB_SRES : rb_sres_type := rb_sres_init;
153 signal SER_MONI : serport_moni_type := serport_moni_init;
170 signal CP_STAT : cp_stat_type := cp_stat_init;
184 signal IB_MREQ : ib_mreq_type := ib_mreq_init;
200 assert (sys_conf_clksys mod 1000000) = 0
201 report "assert sys_conf_clksys on MHz grid"
204 GEN_CLKALL :
s7_cmt_1ce1ce -- clock generator system ------------
206 CLKIN_PERIOD =>
10.0,
207 CLKIN_JITTER =>
0.01,
208 STARTUP_WAIT => false,
209 CLK0_VCODIV => sys_conf_clksys_vcodivide,
210 CLK0_VCOMUL => sys_conf_clksys_vcomultiply,
211 CLK0_OUTDIV => sys_conf_clksys_outdivide,
212 CLK0_GENTYPE => sys_conf_clksys_gentype,
214 CLK0_USECDIV => sys_conf_clksys_mhz,
215 CLK0_MSECDIV =>
1000,
216 CLK1_VCODIV => sys_conf_clkser_vcodivide,
217 CLK1_VCOMUL => sys_conf_clkser_vcomultiply,
218 CLK1_OUTDIV => sys_conf_clkser_outdivide,
219 CLK1_GENTYPE => sys_conf_clkser_gentype,
221 CLK1_USECDIV => sys_conf_clkser_mhz,
222 CLK1_MSECDIV =>
1000)
251 SYSID => sysid_proj & sysid_board & sysid_vers ,
254 ENAPIN_RLMON => sbcntl_sbf_rlmon,
255 ENAPIN_RBMON => sbcntl_sbf_rbmon,
257 CDINIT => sys_conf_ser2rri_cdinit,
258 RBMON_AWIDTH => sys_conf_rbmon_awidth,
291 SYS70 :
pdp11_sys70 --
1 cpu system ----------------------
320 IBDR_SYS :
ibdr_maxisys -- IO system -------------------------
327 ITIMER => DM_STAT_EXP.se_itimer,
328 IDEC => DM_STAT_EXP.se_idec,
329 CPUSUSP => CP_STAT.cpususp,
330 RB_LAM =>
RB_LAM(15 downto 1),
341 MAWIDTH => sys_conf_memctl_mawidth,
342 NBLOCK => sys_conf_memctl_nblock
)
362 IOLEDS =>
DSP_DP(3 downto 0)
364 DSP_DP(7 downto 4) <= "0010";
369 LWIDTH => LED'length,
373 SEL_DSP =>
SWI(5 downto 4),
390 DEBOUNCE => sys_conf_hio_debounce,
410 SMRB : if sys_conf_rbd_sysmon generate
413 CLK_MHZ => sys_conf_clksys_mhz,
433 RB_SRES_OR :
rb_sres_or_4 -- rbus
or ---------------------------
std_logic_vector( 19 downto 0) slv20
std_logic_vector( 3 downto 0) slv4
std_logic_vector( 4 downto 0) slv5
std_logic_vector( 2 downto 0) slv3
std_logic_vector( 8 downto 2) slv9_2
std_logic_vector( 31 downto 0) slv32
std_logic_vector( 15 downto 0) slv16
std_logic_vector( 7 downto 0) slv8
slv9_2 :=( others => '0') EI_VECT
slv8 :=( others => '0') PERFEXT
slv16 := x"ffe8" rbaddr_rbmon
slv16 := x"fef0" rbaddr_hio
slv16 :=( others => '0') DISPREG
slv32 :=( others => '0') DSP_DAT
ib_mreq_type := ib_mreq_init IB_MREQ
slv3 :=( others => '0') EI_PRI
slv16 :=( others => '0') SWI
slv4 :=( others => '0') RB_STAT
slv8 := x"08" sysid_board
slv32 :=( others => '0') MEM_DI
rb_sres_type := rb_sres_init RB_SRES_SYSMON
rb_mreq_type := rb_mreq_init RB_MREQ
serport_moni_type := serport_moni_init SER_MONI
slv16 :=( others => '0') ABCLKDIV
slv32 :=( others => '0') MEM_DO
rb_sres_type := rb_sres_init RB_SRES
slv16 :=( others => '0') LED
cp_stat_type := cp_stat_init CP_STAT
rb_sres_type := rb_sres_init RB_SRES_CPU
slv16 := x"0201" sysid_proj
slv8 :=( others => '0') DSP_DP
slv16 := x"fb00" rbaddr_sysmon
ib_sres_type := ib_sres_init IB_SRES_IBDR
rb_sres_type := rb_sres_init RB_SRES_USRACC
slv16 :=( others => '0') RB_LAM
rb_sres_type := rb_sres_init RB_SRES_HIO
slv4 :=( others => '0') MEM_BE
slv5 :=( others => '0') BTN
dm_stat_exp_type := dm_stat_exp_init DM_STAT_EXP
slv20 :=( others => '0') MEM_ADDR