diff --git a/projects/mips_sys/src/sys_types.vhd b/projects/mips_sys/src/sys_types.vhd index 5887129..19bc8ea 100644 --- a/projects/mips_sys/src/sys_types.vhd +++ b/projects/mips_sys/src/sys_types.vhd @@ -25,20 +25,9 @@ library IEEE; USE IEEE.STD_LOGIC_1164.ALL; USE IEEE.NUMERIC_STD.ALL; -package sys_types is +use work.async_types.all; - type async_timespec_t is record - ncyc_access : natural; - ncyc_pulse_rd : natural; - ncyc_pulse_wr : natural; - ncyc_cs_hold : natural; - ncyc_release : natural; - ncyc_pulse_rst : natural; - pol_cs : std_logic; - pol_oe : std_logic; - pol_we : std_logic; - pol_rst : std_logic; - end record; +package async_defs is constant ts_flash : async_timespec_t := ( @@ -70,4 +59,4 @@ package sys_types is ---------------------------------------------------------------------------------------------- -end sys_types; +end async_defs;