-
Notifications
You must be signed in to change notification settings - Fork 82
[Feat] Hardware Generation For Differentiable Logic Networks (ADLS Group 1) #276
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
Conversation
…for fixed_difflogic_logic
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.
Thanks for contributing to MASE! This is excellent work!
I think your PR is technically strong, and only require minor changes to be merged into the main branch. Please see my detailed comments.
Makefile
Outdated
-v /$(USER_PREFIX)/$(shell whoami)/.gitconfig:/root/.gitconfig \ | ||
-v /$(USER_PREFIX)/$(shell whoami)/.ssh:/root/.ssh \ | ||
-v /$(USER_PREFIX)/$(shell whoami)/.mase:/root/.mase:z \ | ||
-v $(shell pwd):/workspace:z \ | ||
-v $(shell pwd):/workspace/mase-DLG:z \ | ||
-v $(shell pwd)/../traceable-difflogic:/workspace/traceable-difflogic:z \ |
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.
I think this is specific to your machine, right? You can make this general in two ways:
- write a script to clone from an open-source repo (with a specific commit) at the installation
- include them as submodules
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.
Description
Recently proposed Deep Differentiable Logic Gate Networks (DiffLogic) provide state of the art performance while keeping the network size small and the hardware requirements low. This pull request implements the key components of the logic gate network in hardware for Mase.
Key Contributions
fixed_difflogic_logic.sv
(mapping toLogicLayer
module) andfixed_difflogic_groupsum.sv
(mapping toGroupSum
module).emit_verilog_top_transform_pass
andemit_cocotb_transform_pass
.Usage
src/tutorials/difflogic/demo.ipynb
.References