cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
ArpCam_pkg Package Body Reference
Package >> ArpCam_pkg

Functions

integer   fLog2Ceil ( n: in integer )

Detailed Description

Definition at line 173 of file ArpCam_pkg.vhd.

Member Function Documentation

◆ fLog2Ceil()

integer fLog2Ceil (   n in integer  
)
Function

Definition at line 179 of file ArpCam_pkg.vhd.

179  function fLog2Ceil (n : integer) return integer is
180  variable m, p : integer;
181  begin
182  m := 0;
183  p := 1;
184  for i in 0 to n loop
185  if p < n then
186  m := m + 1;
187  p := p * 2;
188  end if;
189  end loop;
190  return m;
191  end fLog2Ceil;
integer fLog2Ceiln,
Definition: ArpCam_pkg.vhd:179

The documentation for this class was generated from the following file: