123use ieee.std_logic_1164.
all;
124use ieee.numeric_std.
all;
187 signal RB_MREQ : rb_mreq_type := rb_mreq_init;
188 signal RB_SRES : rb_sres_type := rb_sres_init;
197 signal SER_MONI : serport_moni_type := serport_moni_init;
208 signal CP_STAT : cp_stat_type := cp_stat_init;
224 signal IB_MREQ : ib_mreq_type := ib_mreq_init;
246 assert (sys_conf_clksys mod 1000000) = 0
247 report "assert sys_conf_clksys on MHz grid"
250 GEN_CLKALL :
s7_cmt_1ce1ce -- clock generator system ------------
252 CLKIN_PERIOD =>
10.0,
253 CLKIN_JITTER =>
0.01,
254 STARTUP_WAIT => false,
255 CLK0_VCODIV => sys_conf_clksys_vcodivide,
256 CLK0_VCOMUL => sys_conf_clksys_vcomultiply,
257 CLK0_OUTDIV => sys_conf_clksys_outdivide,
258 CLK0_GENTYPE => sys_conf_clksys_gentype,
260 CLK0_USECDIV => sys_conf_clksys_mhz,
261 CLK0_MSECDIV =>
1000,
262 CLK1_VCODIV => sys_conf_clkser_vcodivide,
263 CLK1_VCOMUL => sys_conf_clkser_vcomultiply,
264 CLK1_OUTDIV => sys_conf_clkser_outdivide,
265 CLK1_GENTYPE => sys_conf_clkser_gentype,
267 CLK1_USECDIV => sys_conf_clkser_mhz,
268 CLK1_MSECDIV =>
1000)
297 SYSID => sysid_proj & sysid_board & sysid_vers ,
300 ENAPIN_RLMON => sbcntl_sbf_rlmon,
301 ENAPIN_RBMON => sbcntl_sbf_rbmon,
303 CDINIT => sys_conf_ser2rri_cdinit,
304 RBMON_AWIDTH => sys_conf_rbmon_awidth,
337 SYS70 :
pdp11_sys70 --
1 cpu system ----------------------
366 IBDR_SYS :
ibdr_maxisys -- IO system -------------------------
373 ITIMER => DM_STAT_EXP.se_itimer,
374 IDEC => DM_STAT_EXP.se_idec,
375 CPUSUSP => CP_STAT.cpususp,
376 RB_LAM =>
RB_LAM(15 downto 1),
389 READ0DELAY => sys_conf_memctl_read0delay,
390 READ1DELAY => sys_conf_memctl_read1delay,
391 WRITEDELAY => sys_conf_memctl_writedelay
)
421 IOLEDS =>
DSP_DP(3 downto 0)
423 DSP_DP(7 downto 4) <= "0010";
428 LWIDTH => LED'length,
432 SEL_DSP =>
SWI(5 downto 4),
449 DEBOUNCE => sys_conf_hio_debounce,
469 SMRB : if sys_conf_rbd_sysmon generate
472 CLK_MHZ => sys_conf_clksys_mhz,
492 RB_SRES_OR :
rb_sres_or_4 -- rbus
or ---------------------------
std_logic_vector( 22 downto 0) slv23
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( 21 downto 0) slv22
std_logic_vector( 7 downto 0) slv8
std_logic_vector( 1 downto 0) slv2
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
slv8 := x"05" sysid_board
slv16 :=( others => '0') SWI
slv4 :=( others => '0') RB_STAT
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
slv22 :=( others => '0') MEM_ADDR_EXT
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