Add PYC/RTL support for DavinciOO IEX primitives - #151
Open
HKU-LiBoyu wants to merge 1 commit into
Open
HKU-LiBoyu wants to merge 1 commit into
HKU-LiBoyu wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pyc.wrapping_bitfieldas the public semantic operation and decompose constant modes into catalog-owned reusable physical primitives; there is no monolithicpyc_runtime_wrapping_bitfieldfallbackac.divrem/pyc.divrem; one semantic divrem emission feeds one packetized physical divider and returns both quotient and remainderFSU scope
No FSU files are included. The available
library/verilog/fsu/andfsu_pto_v2/trees self-identify as candidate sets and do not yet have the numerical qualification required for promotion as mature reusable primitives.Validation
ninja -C .pycircuit_out/iex-pr-build -j8 pycc pyc-opt acir-opt acir-queue-plan acir-queue-pycgen acir-queue-cxxgen GfsimTests ACIROpsTests CodeGenTests— PASSGfsimTests --gtest_filter=AluPrimitivesTest.*— 4/4 PASSACIROpsTests --gtest_filter=*.RuntimeAndQueueVarRegistryIsExact:*.TaskSevenRegistryDeltaIsExactlySixOperations— 2/2 PASSCodeGenTests --gtest_filter=*.EmitsAluSemanticExpressionsToGfsimPrimitives:*.EmitsOneSharedPycDividerForQuotientAndRemainder— 2/2 PASSlit -sv --filter=alu-primitives .pycircuit_out/iex-pr-build/compiler/acir/tests/mlir— 2/2 PASSpytest -q tests/python/agentic-circuit/python_frontend/test_public_api.py tests/python/agentic-circuit/python_frontend/test_queue_frontend.py -k 'public_api or alu_semantic or divrem'— 29 PASSpytest -q tests/unit/test_primitive_catalog.py— 9 PASS, 1 skippedpytest -q tests/python/agentic-circuit/tools/test_pyc_verilog_backend.py -k divrem— 1 PASSpytest -q -rs tests/system/test_primitive_selection.pywith the locally built toolchain — 17 PASS, 1 environment-dependent skiptests/files_tb.f— PASS (upstream BaseJump warnings only)pyc_runtime_div_packet— PASS