forked from HEL/circuiteria
improved doc + moved examples to separate file
This commit is contained in:
@ -39,14 +39,7 @@
|
||||
|
||||
/// Draws an ALU with two inputs
|
||||
///
|
||||
/// #box(width: 100%, align(center)[
|
||||
/// #circuit({
|
||||
/// element.alu(x: 0, y: 0, w: 1, h: 2, id: "alu")
|
||||
/// wire.stub("alu-port-in1", "west")
|
||||
/// wire.stub("alu-port-in2", "west")
|
||||
/// wire.stub("alu-port-out", "east")
|
||||
/// })
|
||||
/// ])
|
||||
/// #examples.alu
|
||||
/// - x (number, dictionary): see `elmt()`
|
||||
/// - y (number, dictionary): see `elmt()`
|
||||
/// - w (number): see `elmt()`
|
||||
|
Reference in New Issue
Block a user