mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2025-01-02 23:32:02 +00:00
Added new top level generics to 6502 and 6809 designs
Change-Id: I14d70471b97948c165210bebad88b60965531207
This commit is contained in:
parent
f2974d12df
commit
a4aa6df31a
@ -24,7 +24,10 @@ entity AtomBusMon is
|
||||
generic (
|
||||
LEDsActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
SW1ActiveHigh : boolean := true; -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
ClkMult : integer := 10; -- default value correct for GODIL
|
||||
ClkDiv : integer := 31; -- default value correct for GODIL
|
||||
ClkPer : real := 20.345 -- default value correct for GODIL
|
||||
);
|
||||
port (
|
||||
clock49 : in std_logic;
|
||||
@ -88,7 +91,13 @@ begin
|
||||
led6 <= not led6_n when LEDsActiveHigh else led6_n;
|
||||
led8 <= not led8_n when LEDsActiveHigh else led8_n;
|
||||
|
||||
inst_dcm0 : entity work.DCM0 port map(
|
||||
inst_dcm0 : entity work.DCM0
|
||||
generic map (
|
||||
ClkMult => ClkMult,
|
||||
ClkDiv => ClkDiv,
|
||||
ClkPer => ClkPer
|
||||
)
|
||||
port map(
|
||||
CLKIN_IN => clock49,
|
||||
CLKFX_OUT => clock_avr
|
||||
);
|
||||
|
@ -28,7 +28,10 @@ entity AtomCpuMon is
|
||||
UseAlanDCore : boolean := false;
|
||||
LEDsActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
SW1ActiveHigh : boolean := true; -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
ClkMult : integer := 10; -- default value correct for GODIL
|
||||
ClkDiv : integer := 31; -- default value correct for GODIL
|
||||
ClkPer : real := 20.345 -- default value correct for GODIL
|
||||
);
|
||||
port (
|
||||
clock49 : in std_logic;
|
||||
@ -111,7 +114,13 @@ begin
|
||||
led6 <= not led6_n when LEDsActiveHigh else led6_n;
|
||||
led8 <= not led8_n when LEDsActiveHigh else led8_n;
|
||||
|
||||
inst_dcm0 : entity work.DCM0 port map(
|
||||
inst_dcm0 : entity work.DCM0
|
||||
generic map (
|
||||
ClkMult => ClkMult,
|
||||
ClkDiv => ClkDiv,
|
||||
ClkPer => ClkPer
|
||||
)
|
||||
port map(
|
||||
CLKIN_IN => clock49,
|
||||
CLKFX_OUT => clock_avr
|
||||
);
|
||||
|
@ -43,7 +43,10 @@ entity AtomFast6502 is
|
||||
UseAlanDCore : boolean := false;
|
||||
LEDsActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
SW1ActiveHigh : boolean := true; -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
ClkMult : integer := 10; -- default value correct for GODIL
|
||||
ClkDiv : integer := 31; -- default value correct for GODIL
|
||||
ClkPer : real := 20.345 -- default value correct for GODIL
|
||||
);
|
||||
port (
|
||||
clock49 : in std_logic;
|
||||
@ -136,7 +139,13 @@ begin
|
||||
led6 <= not led6_n when LEDsActiveHigh else led6_n;
|
||||
led8 <= not led8_n when LEDsActiveHigh else led8_n;
|
||||
|
||||
inst_dcm0 : entity work.DCM0 port map(
|
||||
inst_dcm0 : entity work.DCM0
|
||||
generic map (
|
||||
ClkMult => ClkMult,
|
||||
ClkDiv => ClkDiv,
|
||||
ClkPer => ClkPer
|
||||
)
|
||||
port map(
|
||||
CLKIN_IN => clock49,
|
||||
CLKFX_OUT => clock_avr
|
||||
);
|
||||
|
@ -26,7 +26,10 @@ entity MC6809ECpuMon is
|
||||
UseCPU09Core : boolean := true;
|
||||
LEDsActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
SW1ActiveHigh : boolean := true; -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false -- default value correct for GODIL
|
||||
SW2ActiveHigh : boolean := false; -- default value correct for GODIL
|
||||
ClkMult : integer := 10; -- default value correct for GODIL
|
||||
ClkDiv : integer := 31; -- default value correct for GODIL
|
||||
ClkPer : real := 20.345 -- default value correct for GODIL
|
||||
);
|
||||
port (
|
||||
clock49 : in std_logic;
|
||||
@ -168,7 +171,13 @@ begin
|
||||
led6 <= not led6_n when LEDsActiveHigh else led6_n;
|
||||
led8 <= not led8_n when LEDsActiveHigh else led8_n;
|
||||
|
||||
inst_dcm0 : entity work.DCM0 port map(
|
||||
inst_dcm0 : entity work.DCM0
|
||||
generic map (
|
||||
ClkMult => ClkMult,
|
||||
ClkDiv => ClkDiv,
|
||||
ClkPer => ClkPer
|
||||
)
|
||||
port map(
|
||||
CLKIN_IN => clock49,
|
||||
CLKFX_OUT => clock_avr
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user