Skip to content
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

Modifications to support simple CGRA RTL->Layout. #20

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

yyan7223
Copy link
Collaborator

Modifications to support the CGRA-Flow generated RTL to Layout.

num_fu_in = 4
DUT = CGRARTL
FunctionUnit = FlexibleFuRTL
FuList = [ SeqMulAdderRTL, MemUnitRTL ]#AdderRTL, MulRTL, LogicRTL, ShifterRTL, PhiRTL, CompRTL, BranchRTL, MemUnitRTL ]
DataType = mk_data( 32, 1 )
FuList = [ AdderRTL, MemUnitRTL ]#AdderRTL, MulRTL, LogicRTL, ShifterRTL, PhiRTL, CompRTL, BranchRTL, MemUnitRTL ]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plz replace the #AdderRTL with # SeqMulAdderRTL, AdderRTL.

FuList = [ SeqMulAdderRTL, MemUnitRTL ]#AdderRTL, MulRTL, LogicRTL, ShifterRTL, PhiRTL, CompRTL, BranchRTL, MemUnitRTL ]
DataType = mk_data( 32, 1 )
FuList = [ AdderRTL, MemUnitRTL ]#AdderRTL, MulRTL, LogicRTL, ShifterRTL, PhiRTL, CompRTL, BranchRTL, MemUnitRTL ]
DataType = mk_data( 16, 1 )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace this line as follows:

# Parameterizes channel bandwidth as around 2-byte per cycle.
payload_nbits = 16 # 32
predicate_nbits = 1
DataType = mk_data( payload_nbits, predicate_nbits )

@tancheng
Copy link
Owner

tancheng commented Nov 2, 2024

Hi @yyan7223, let's update this and submit?

@yyan7223
Copy link
Collaborator Author

yyan7223 commented Nov 3, 2024

Sorry I forget last week, and I have updated the code as you required.

@tancheng tancheng merged commit 7714ef5 into tancheng:master Nov 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants