URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
[/] [open8_urisc/] [trunk/] [VHDL/] [o8_sdlc_if.vhd] - Diff between revs 244 and 250
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 244 |
Rev 250 |
Line 77... |
Line 77... |
library work;
|
library work;
|
use work.sdlc_serial_pkg.all;
|
use work.sdlc_serial_pkg.all;
|
|
|
entity o8_sdlc_if is
|
entity o8_sdlc_if is
|
generic(
|
generic(
|
Monitor_Enable : boolean := false;
|
|
Attach_Monitor_to_CPU_Side : boolean := false;
|
|
Poly_Init : std_logic_vector(15 downto 0) := x"0000";
|
Poly_Init : std_logic_vector(15 downto 0) := x"0000";
|
Set_As_Master : boolean := true;
|
Set_As_Master : boolean := true;
|
Clock_Offset : integer := 6;
|
Clock_Offset : integer := 6;
|
BitClock_Frequency : real := 500000.0;
|
BitClock_Frequency : real := 500000.0;
|
Clock_Frequency : real := 100000000.0;
|
Clock_Frequency : real := 100000000.0;
|
Line 246... |
Line 244... |
wren_b => DP_B_Wr_En,
|
wren_b => DP_B_Wr_En,
|
q_a => DP_A_Rd_Data,
|
q_a => DP_A_Rd_Data,
|
q_b => DP_B_Rd_Data
|
q_b => DP_B_Rd_Data
|
);
|
);
|
|
|
Attach_to_CPU_side: if( Monitor_Enable and Attach_Monitor_to_CPU_Side )generate
|
|
|
|
U_MON: entity work.sdlc_monitor
|
|
port map(
|
|
clock => Clock,
|
|
address => DP_A_Addr,
|
|
data => DP_A_Wr_Data,
|
|
wren => DP_A_Wr_En,
|
|
q => open
|
|
);
|
|
end generate;
|
|
|
|
Attach_to_Int_side: if( Monitor_Enable and not Attach_Monitor_to_CPU_Side )generate
|
|
|
|
U_MON: entity work.sdlc_monitor
|
|
port map(
|
|
clock => Clock,
|
|
address => DP_B_Addr,
|
|
data => DP_B_Wr_Data,
|
|
wren => DP_B_Wr_En,
|
|
q => open
|
|
);
|
|
|
|
end generate;
|
|
|
|
-- ***************************************************************************
|
-- ***************************************************************************
|
-- * Memory Arbitration *
|
-- * Memory Arbitration *
|
-- ***************************************************************************
|
-- ***************************************************************************
|
|
|
U_ARB : entity work.sdlc_serial_arbfsm
|
U_ARB : entity work.sdlc_serial_arbfsm
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.