- bugfix in to_cycles()
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@723 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -53,7 +53,7 @@ package body async_types is
|
|||||||
function to_cycles(T_ns : real; f_hz : natural) return natural is
|
function to_cycles(T_ns : real; f_hz : natural) return natural is
|
||||||
begin
|
begin
|
||||||
|
|
||||||
return natural(0.5 + 10.0E-9*T_ns*real(f_hz));
|
return natural(0.5 + 1.0E-9*T_ns*real(f_hz));
|
||||||
|
|
||||||
end to_cycles;
|
end to_cycles;
|
||||||
end async_types;
|
end async_types;
|
||||||
|
|||||||
Reference in New Issue
Block a user