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

Draft Instruction Object Model #514

Closed
wants to merge 2 commits into from
Closed

Draft Instruction Object Model #514

wants to merge 2 commits into from

Conversation

sequencer
Copy link
Member

No description provided.

@sequencer sequencer changed the title Draft Decoder Object Model Draft Instruction Object Model Apr 9, 2024
/** Generate documentation for each instructions for T1.
* The documentation should contain the behavior for instruction in a specific configuration in T1.
*/
case class InstructionDocumentation(instruction: Instruction, t1Parameter: T1Parameter) {
Copy link
Member Author

Choose a reason for hiding this comment

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

This is how to start to review the decoder: adding documentation to each instructions. Describing the lifetime of each instruction in a specific type of T1.
After finish this review, a clear documentation will be a artifact.

Copy link
Member Author

Choose a reason for hiding this comment

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

we may also add attributes here parameters? I'm not sure.

Comment on lines 90 to 179
// Below is the Scala in-memory attributes queried from DecodeTable.
def isVector = instruction.instructionSet.name == "rv_v"
// TODO: we can even use a Enum here.
def useLaneExec: String = ???


Copy link
Member Author

Choose a reason for hiding this comment

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

Add attribute like this.

@sequencer sequencer force-pushed the decoder-om branch 2 times, most recently from 8bce0bc to 9f0f162 Compare April 10, 2024 09:21
@sequencer
Copy link
Member Author

@Lucas-Wye This will be 2 weeks work, let's finish it during next two weeks, It should be the first round of GSoC project.

@sequencer sequencer force-pushed the decoder-om branch 2 times, most recently from 22a03b9 to 8c988e7 Compare April 30, 2024 18:03
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.

1 participant