eln_or2
Project Library Model Name Kind
eln_examples eln_logic eln_or2 Hierarchical Module

Parameters

Name Type Default Description
vdd double 1.0 logic supply [V]

Ports

Name Interface Type Description
A sca_eln::sca_terminal description
B sca_eln::sca_terminal description
Y sca_eln::sca_terminal description

Description

ELN 2-port OR gate

Long Description

ELN based, 2-port OR gate

This gates allows keeping circuits completely in the ELN cluster, but use with care.

It may be more efficient in case of more logic required to use TDF logic instead.

Logic function:

A B Y
-----
0 0 0
0 1 1
1 0 1
1 1 1


Schematic

A B ncp ncn np nn i_sca_vcvs1 value = 1.0 pwl_value = {{-1*p.vdd,1},{0.4*p.vdd,1},{0.6*p.vdd,-1},{2*p.vdd,-1}} ncp ncn np nn i_sca_vcvs2 value = 1.0 pwl_value = {{-1*p.vdd,1},{0.4*p.vdd,1},{0.6*p.vdd,-1},{2*p.vdd,-1}} gnd gnd ncp ncn np nn i_sca_vcvs3 value = 1.0 pwl_value = {{-1,1*p.vdd},{0.4,1*p.vdd},{0.6,0},{2,0}} Y vdd = 1.0