-
Equations of all three versions of logic function f(c,b,a):
-
Listing of VHDL architecture from design file (
code/design.vhd
) for all three functions.architecture dataflow of gates is begin f_org_o <= (not(b_i) and a_i) or (not(c_i) and not(b_i)); f_nand_o <= (not(b_i) nand (a_i)) nand (not(c_i) nand not(b_i)); -- Function modified acording to equation f_nor_o <= not(((b_i) nor not(a_i)) nor ((c_i) nor (b_i))); -- Function modified acording to equation end architecture dataflow;
-
Table with logic functions' values:
c b a f(c,b,a)_ORG f(c,b,a)_NAND f(c,b,a)_NOR 0 0 0 1 1 1 0 0 1 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 -
Screenshot with simulated time waveforms.
-
Link to public EDA Playground example: