feature: add IEC gates #11

Merged
HEL merged 7 commits from bono/circuiteria:add_iec_gates into dev 2025-06-29 13:19:57 +00:00
10 changed files with 506 additions and 1 deletions
Showing only changes of commit 71f128f6c9 - Show all commits

View File

@ -15,6 +15,6 @@
#import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand
#import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not
#import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor
#import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-nxor #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-xnor
#import "elements/group.typ": group #import "elements/group.typ": group

View File

@ -34,11 +34,11 @@
) )
} }
/// Draws an IEC-NXOR gate. This function is also available as `element.iec-gate-nxor()` /// Draws an IEC-XNOR gate. This function is also available as `element.iec-gate-xnor()`
/// ///
/// For parameters, see #doc-ref("gates.iec-gate") /// For parameters, see #doc-ref("gates.iec-gate")
/// #examples.iec-gate-nxor /// #examples.iec-gate-xnor
#let iec-gate-nxor( #let iec-gate-xnor(
x: none, x: none,
y: none, y: none,
w: none, w: none,

View File

@ -7,4 +7,4 @@
#import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand
#import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor
#import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not
#import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-nxor #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-xnor