PleasingFungus / Silicon-Zeroes

Issue repository for Silicon Zeroes. (Contains no actual code.)
12 stars 0 forks source link

(Maybe normal, that's more of a question: ) Clock is not long enough for all my modules to stabilize. #59

Open Pouf842 opened 7 years ago

Pouf842 commented 7 years ago

I have this design :

image puzz-Products.zip

When I test it, at the end of my first step, my I-Dec is not stabilized. And when I include a rather similar design in another one (the real one I'm testing to beat the level), it's the multiplier that is not stabilized. But either case, the clock seems to not be correctly set.

As you can see, there's a loop, because my multiplier takes the I-Dec output as an input, and the I-Dec takes the multiplier output as (one of its/) an input.

So, it my be normal for the design not to work, but I feel like it should have an indetermined input (?) rather than the clock to not be long enough ?

PleasingFungus commented 7 years ago

I think we talked about this a few weeks ago? Getting the code to handle loops correctly is quite hard, and also it doesn't matter if the clock is right when you have a loop, since the machine will always be wrong.

Technically a bug, but very low priority.

Pouf842 commented 7 years ago

Oh, yeah, I remember now. Sorry.

PleasingFungus commented 7 years ago

I still haven't fixed it :)

837951602 commented 4 weeks ago

It oscillates on mTick on design: a=1?1:b, b=1?1:a (I use op sel test)