You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x1 = XOR(x0, x0) // result is 0
x2 = XOR(x1, x0) // result depends on x0
x3 = XOR(x1, x0) // result depends on x0
The output doesn't contain any information of out-of-circuit information. The result of the two outputs x2, x3 is always the same as the input x0 and the out-of-circuit information is missing. What is the correct way to generate a circuit containing out-of-circuit information like appending a fix '0' at the end of the bitstream?
The text was updated successfully, but these errors were encountered:
There is no problem in directly running my previous snippet when creating two instances.
However, if I generate a circuit and load it to compute the result, the outcome is incorrect. The outcome of both bits depends on wire[0] as mentioned above, i.e., in[0] (x0). When a[0] = wire[0]=1, the result will be 11, and vice versa.
Code snippet:
In other words, is it not suitable for loading such generated bristol format circuits and running in sh2pc or ag2pc? How can I run such an application (appending constant) in ag2pc. I assume it requires a circuit to run in ag2pc.
Hi, I have a problem. Readme doesn't show how to use the library. Besides, I don't know where is the interface in the library and how to run my own code. Can you tell me which step to follow to run the code like you did?
I want to generate a simple circuit, which appends a single '0' (out-of-circuit information) at end of the bitstream.
Code:
generated circuit:
x1 = XOR(x0, x0) // result is 0
x2 = XOR(x1, x0) // result depends on x0
x3 = XOR(x1, x0) // result depends on x0
The output doesn't contain any information of out-of-circuit information. The result of the two outputs x2, x3 is always the same as the input x0 and the out-of-circuit information is missing. What is the correct way to generate a circuit containing out-of-circuit information like appending a fix '0' at the end of the bitstream?
The text was updated successfully, but these errors were encountered: