URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [rtl/] [core/] [neorv32_mtime.vhd] - Diff between revs 25 and 26
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 25 |
Rev 26 |
Line 145... |
Line 145... |
data_o <= mtime_lo(31 downto 00);
|
data_o <= mtime_lo(31 downto 00);
|
when mtime_time_hi_addr_c => -- mtime HIGH
|
when mtime_time_hi_addr_c => -- mtime HIGH
|
data_o <= mtime_hi;
|
data_o <= mtime_hi;
|
when mtime_cmp_lo_addr_c => -- mtimecmp LOW
|
when mtime_cmp_lo_addr_c => -- mtimecmp LOW
|
data_o <= mtimecmp_lo;
|
data_o <= mtimecmp_lo;
|
when mtime_cmp_hi_addr_c => -- mtimecmp HIGH
|
when others => -- mtime_cmp_hi_addr_c - mtimecmp HIGH
|
data_o <= mtimecmp_hi;
|
data_o <= mtimecmp_hi;
|
when others =>
|
|
data_o <= (others => '0');
|
|
end case;
|
end case;
|
end if;
|
end if;
|
end if;
|
end if;
|
end process rd_access;
|
end process rd_access;
|
|
|
-- time output for cpu --
|
-- system time output for cpu --
|
time_o <= mtime_hi & mtime_lo(31 downto 00);
|
time_o <= mtime_hi & mtime_lo(31 downto 00);
|
|
|
|
|
-- Comparator -----------------------------------------------------------------------------
|
-- Comparator -----------------------------------------------------------------------------
|
-- -------------------------------------------------------------------------------------------
|
-- -------------------------------------------------------------------------------------------
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.