Add matrix inversion sfg generator
Works for arbitrary real spd matrices. Closes: #137 (closed) #200 (closed)
Edited by Simon Bjurek
Merge request reports
Activity
assigned to @simbj106
1137 input_count=3, 1138 output_count=1, 1139 name=Name(name), 1140 input_sources=[src0, src1, src2], 1141 latency=latency, 1142 latency_offsets=latency_offsets, 1143 execution_time=execution_time, 1144 ) 1145 self.set_param("is_add", is_add) 1146 1147 @classmethod 1148 def type_name(cls) -> TypeName: 1149 return TypeName("mads") 1150 1151 def evaluate(self, a, b, c): 1152 return a + b * c if self.is_add else a - b * c @oscgu95 Do you prefer:
- a+-bc with updated
is_linear
andswap_io
- "c+-bc"
Is there any other good solution?
- a+-bc with updated
changed this line in version 5 of the diff
- Resolved by Simon Bjurek
- Resolved by Simon Bjurek
added 1 commit
- 13c190a1 - fixes from mr comments and added tests for 100 percent test coverage in core_operations
requested review from @oscgu95
@oscgu95 Updated algorithm to use DontCare operators instead and added a flag in MADS etc.
Should be ready for MR, making the algorithm to work for complex numbers will be made part of another issue.
mentioned in merge request !470 (closed)
mentioned in merge request !472 (merged)
1114 _is_add: Optional[bool] 1115 _override_zero_on_src0: Optional[bool] 1116 _src0: Optional[SignalSourceProvider] 1117 _src1: Optional[SignalSourceProvider] 1118 _src2: Optional[SignalSourceProvider] 1119 _name: Name 1120 _latency: Optional[int] 1121 _latency_offsets: Optional[Dict[str, int]] 1122 _execution_time: Optional[int] 1123 1124 is_swappable = True 1125 1126 def __init__( 1127 self, 1128 is_add: Optional[bool] = True, 1129 override_zero_on_src0: Optional[bool] = False, added 8 commits
-
ff218ffa - 1 commit from branch
master
- c864f803 - started work on the generator and added a MADS operation
- a79cfd99 - ldlt inverse now verified for matrices up to and including size 3x3
- 8af39d1f - added more tests and one commented out test for complex matrices
- 3f133d6a - changed test that took too long
- 2963486d - fix from last commit
- f85cd36a - fixes from mr comments and added tests for 100 percent test coverage in core_operations
- 58084c2a - Changed sfg generator to use DontCare.
Toggle commit list-
ff218ffa - 1 commit from branch
added 9 commits
- d2eeb347 - started work on the generator and added a MADS operation
- e3b15d3c - ldlt inverse now verified for matrices up to and including size 3x3
- d7aeec30 - added more tests and one commented out test for complex matrices
- a633cfd5 - changed test that took too long
- 01534e6e - fix from last commit
- 13c190a1 - fixes from mr comments and added tests for 100 percent test coverage in core_operations
- 76dc8737 - Changed sfg generator to use DontCare.
- 1f22409f - added schedule __str__ function that prints id, start time, backward slack and forward slack
- dc6a5a4a - Merge branch 'add-matrix-inversion-sfg-generator' of gitlab.liu.se:da/B-ASIC...
Toggle commit list
Please register or sign in to reply