- Notifications
You must be signed in to change notification settings - Fork184
Add a way to output images of data types#1548
jrmoserbaltimore started this conversation inIdeas
-
Like really just let me make a call to spit out a PNG showing the fields in here laid out like in the docs. classInstruction(data.Struct):instruction:data.FlexibleLayout({# The last 5 are always the opcode"opcode":data.Field(Signal(5),27),"bit_ops":data.Field(data.StructLayout({"bitmask":Signal(24) }),0),"accumulator_ops":data.Field(data.StructLayout({"coefficient":Signal(16),"constant":Signal(11) }),0),# TODO: SKP"register_ops":data.Field(data.FlexibleLayout({"coefficient":data.Field(Signal(16),0),"register":data.Field(unsigned(6),21) }),0),# TODO: MULX?"dram_ops":data.Field(data.StructLayout({"coefficient":Signal(11),"address":unsigned(16) }),0)# TODO: RMPA? It basically ignores the address field# TODO: LFO, CHO }) |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
The |
BetaWas this translation helpful?Give feedback.
All reactions
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment