mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 19:26:43 +01:00
Construction phase redone
This commit is contained in:
16
test/circuits/include.circom
Normal file
16
test/circuits/include.circom
Normal file
@@ -0,0 +1,16 @@
|
||||
include "included.circom";
|
||||
include "included.circom"; // Include twice is fine. The second one is not included
|
||||
|
||||
template Main() {
|
||||
signal input in;
|
||||
signal output out;
|
||||
|
||||
component t1 = T1();
|
||||
|
||||
var a = F1(3);
|
||||
|
||||
in ==> t1.in;
|
||||
t1.out + a ==> out; /// out <-- in**2/3+3
|
||||
}
|
||||
|
||||
component main = Main();
|
||||
Reference in New Issue
Block a user