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**