Open niladrix719 opened 2 months ago
Name | Link |
---|---|
Latest commit | 855805314f510397fc2587c9954ae23d32e62c7d |
Latest deploy log | https://app.netlify.com/sites/circuitverse/deploys/66cc510c385eeb0008d3ceef |
Deploy Preview | https://deploy-preview-363--circuitverse.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
The changes introduce a new method, setOutputsUpstream(bool)
, across multiple classes in the simulator codebase. This method enhances the control flow by allowing various circuit elements to update their output states upstream in the simulation environment. Additionally, several classes have undergone minor formatting adjustments in comments and code structure, ensuring improved readability and consistency throughout the code.
File Path | Change Summary |
---|---|
src/simulator/src/circuitElement.js |
Added setOutputsUpstream(bool) to CircuitElement class. |
src/simulator/src/modules/*.js |
Multiple classes (e.g., ALU , Adder , AndGate , etc.) call this.setOutputsUpstream(true); to update output states after processing. |
src/simulator/src/node.js |
Introduced isValueUpstream property and setOutputsUpstream(bool) method in Node class. |
src/simulator/src/sequential/*.js |
Several classes (e.g., Clock , DflipFlop , RAM , etc.) now call this.setOutputsUpstream(true); to manage output states effectively. |
sequenceDiagram
participant CircuitElement
participant UpstreamComponent
CircuitElement->>UpstreamComponent: setOutputsUpstream(true)
UpstreamComponent->>CircuitElement: Output state updated
🐇 "In circuits where signals flow,
A new method helps them know.
Upstream updates, clear and bright,
Keep our outputs in the light.
With every change, we hop with glee,
For circuits now dance joyfully!" 🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
updates from main repo
ref PR - https://github.com/CircuitVerse/CircuitVerse/pull/4903
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores