-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create CRegisterscore.s #128
Conversation
Signed-off-by: J. K. Edwards <joed6834@colorado.edu>
Caution Review failedThe pull request is closed. WalkthroughThe pull request introduces a comprehensive assembly implementation of a hybrid CPU–QPU architecture. The file defines classical CPU registers (including RAX, RBX, RCX, RDX, and XMM0–XMM7), sets up memory management (stack and heap), and provides distinct sections for data, BSS, and text. It adds initialization routines for both classical and quantum cores alongside a hybrid processing loop that integrates quantum operations. New external function declarations and multiple global function signatures support quantum operations, error handling, and verification of execution states. Changes
Sequence Diagram(s)sequenceDiagram
participant CPU as CPU Core
participant QPU as Quantum Unit
participant ERR as Error Handler
CPU->>CPU: _start / init_quantum_core()
CPU->>QPU: hadamard_gate() / apply_hadamard()
QPU-->>CPU: Quantum state
CPU->>QPU: measure_qubit() / measure_qubits()
QPU-->>CPU: Measurement result
CPU->>CPU: hybrid_processing_loop()
alt Verification Successful
CPU->>CPU: verify_print, verify_registers, verify_fp
else Verification Failed
CPU->>ERR: exit_error() / exit_program()
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k viewed
@coderabbitai there is going to be a new directory for the implementation of all the PMLL_blockchain_assembly repo files and they will all be committed and directed into this directory fille for us for a CPU processor and soon the CPU-QPU processor
Summary by CodeRabbit