LogiJS icon indicating copy to clipboard operation
LogiJS copied to clipboard

CustomSketch not working when embedded

Open ssmid opened this issue 3 years ago • 2 comments

I was trying to build a RAM, from 1 bit to 1 byte, 8 bytes and so on. However, the 8-byte-block works fine when tested directly, but if it is embedded into another sketch, it does not.

8-byte-block: https://logijs.com/editor?link=oP_cISCs5O

gates_bug1

Embedded version: https://logijs.com/editor?link=LZerqn282Q

gates_bug2

Is this some recursion error?

Windows 10 / Firefox 86.0.1

ssmid avatar May 03 '21 20:05 ssmid

Hey @ssmid! Since I took a break from development, I saw your issues just now. Thanks so much for giving LogiJS a try! Yeah, this seems to be some kind of recursion error, probably involving the bus lines. I'll look into it when I got the time. Thank you for submitting this!

SimonBuxx avatar Jul 08 '21 01:07 SimonBuxx

I think it will work if the bus inputs are implemented seems to be the root cause of your problem

quasar098 avatar Dec 27 '21 21:12 quasar098