URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
[/] [open8_urisc/] [trunk/] [VHDL/] [Open8_pkg.vhd] - Diff between revs 227 and 228
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 227 |
Rev 228 |
Line 76... |
Line 76... |
constant EXT_GP6 : integer := 3;
|
constant EXT_GP6 : integer := 3;
|
constant EXT_GP7 : integer := 4;
|
constant EXT_GP7 : integer := 4;
|
|
|
constant OPEN8_NULLBUS : DATA_TYPE := x"00";
|
constant OPEN8_NULLBUS : DATA_TYPE := x"00";
|
|
|
|
constant Reset_Level : std_logic := '1';
|
|
|
type OPEN8_BUS_TYPE is record
|
type OPEN8_BUS_TYPE is record
|
Clock : std_logic;
|
Clock : std_logic;
|
Reset : std_logic;
|
Reset : std_logic;
|
uSec_Tick : std_logic;
|
uSec_Tick : std_logic;
|
Address : ADDRESS_TYPE;
|
Address : ADDRESS_TYPE;
|
Line 87... |
Line 89... |
Wr_Data : DATA_TYPE;
|
Wr_Data : DATA_TYPE;
|
Rd_En : std_logic;
|
Rd_En : std_logic;
|
GP_Flags : EXT_GP_FLAGS;
|
GP_Flags : EXT_GP_FLAGS;
|
end record;
|
end record;
|
|
|
constant Reset_Level : std_logic := '1';
|
constant INIT_OPEN8_BUS : OPEN8_BUS_TYPE := (
|
|
'0', -- Clock
|
|
Reset_Level, -- Reset
|
|
'0', -- uSec_Tick
|
|
x"0000", -- Address
|
|
'0', -- Wr_En
|
|
OPEN8_NULLBUS, -- Wr_Data
|
|
'0', -- Rd_En
|
|
"00000" -- GP_Flags
|
|
);
|
|
|
-- Component declaration
|
-- Component declaration
|
-- (assumes a 1K RAM at 0x0000 and ROM at the top of the memory map)
|
-- (assumes a 1K RAM at 0x0000 and ROM at the top of the memory map)
|
component o8_cpu is
|
component o8_cpu is
|
generic(
|
generic(
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.