ltc1857 adc in vhdl help

Status
Not open for further replies.

michael1230

Newbie level 1
Joined
Apr 27, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
hi
my name is michael and i need some help
can someone explain to me how to write or prahps give me a code for ltc1859 in vhdl
i tried to write it and it didnt work..
 

i think the chip u mentioned is an analog one try using vhdl ams u get a program something like this

library IEEE;
use IEEE.math_real.all;
use IEEE.electrical_systems.all;

-- this is the entity
entity DIODE is
generic (iss : current := 1.0e-14; -- Saturation current
af : real := 1.0; -- Flicker noise coefficient
kf : real := 0.0); -- Flicker noise exponent
port (terminal anode, cathode : electrical);
end entity DIODE;

architecture IDEAL of DIODE is
quantity v across i through anode to cathode;
constant vt : voltage := 0.0258; -- Thermal voltage at 300 K
begin

i == iss * (exp(v/vt) - 1.0);

end architecture IDEAL;

also try **broken link removed**
 

You are asking how to write a SPI master in VHDL.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…