Test a simple reuse of a component #247
-
Hello everyone, `import "primitives/core.fil"; comp main<G: 3>( In the example, I want to reuse an adder in two different timelines (sorry if that's not the right word).
I got the following error (from calyx)
the git commit I'am using (filament d4a7f9d , calyx: dbb16353e885d29ac1877968eadfcb1330c1d2d9) The filament compiler accepts the program and produces a calyx file, but the calyx compiler is not able to compile it. Or maybe my code is not suppose to work? Any advice is greatly appreciated, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for trying out Filament @Jetbl! Calyx's canonicalization pass is the cause of this problem so you can disable it using:
Let us know if this works for you or not! |
Beta Was this translation helpful? Give feedback.
Thanks for trying out Filament @Jetbl! Calyx's canonicalization pass is the cause of this problem so you can disable it using:
Let us know if this works for you or not!