Skip to content

hls: Adds additional operations to R-HLS to FIRRTL test - #1781

Open
sjalander wants to merge 3 commits into
masterfrom
firrtl
Open

sjalander wants to merge 3 commits into
masterfrom
firrtl

Conversation

@sjalander

Copy link
Copy Markdown
Collaborator

No description provided.

@sjalander
sjalander requested review from haved and phate August 1, 2026 15:34
Comment on lines +884 to +886
/* ================================================================== */
/* HLS SinkOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Could we use // instead

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //


/* ================================================================== */
/* HLS TriggerOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //


/* ================================================================== */
/* HLS BranchOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //

Comment on lines +952 to +955
/* ================================================================== */
/* HLS MuxOperation (NDMux) FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //

/* HLS ForkOperation FIRRTL conversion tests */
/* ================================================================== */

TEST_F(FirrtlTestBase, ForkOperation)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //

Comment on lines +1001 to +1004
/* ================================================================== */
/* HLS StateGateOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //

/* ================================================================== */
/* HLS PredicateBufferOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //


/* ================================================================== */
/* HLS AddressQueueOperation FIRRTL conversion test */
/* ================================================================== */

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Ah, I get tired of it. Just go through and eliminate the /* */

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Changed to //

phate
phate previously approved these changes Aug 2, 2026
Comment on lines +1189 to +1190
// LocalStoreOperation: inputs {Bit(64) index, ValueType value, MemoryState*}
// outputs {...MemoryState*, Bit(64) addr}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why is that here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed

Comment on lines +1160 to +1161
// LocalLoadOperation: inputs {Bit(64) index, MemoryState*, ValueType load_result}
// outputs {ValueType data, ...MemoryState*, Bit(64) addr}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed

Comment on lines +1110 to +1111
// HLS StoreOperation: inputs {Pointer addr, ValueType value, ...MemoryState*, MemoryState* resp}
// outputs {MemoryState*, PointerType, ValueType data}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed

Comment on lines +1081 to +1082
// HLS LoadOperation: inputs {Pointer addr, MemoryState*, ValueType load_result}
// outputs {ValueType data, ...MemoryState*, Pointer addr}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

same

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed

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