I was wondering if it was possible to implement a resistor, capacitor or a conductor in an fpga so that external components wouldn't be necessary (particulary for filtering). If it is possible, are there any limitations?
EDIT: I just found this:
Code: Select all
library IEEE;
use IEEE.electrical_systems.all;
entity resistor is
generic (res : resistance); -- resistance (no initial value)
port (terminal p1, p2 : electrical);
end entity resistor;
architecture ideal of resistor is
quantity v across i through p1 to p2;
begin
-- Fundamental equation
v == i*res;
end architecture ideal;