Skip to content
Snippets Groups Projects

Add matrix inversion sfg generator

Merged Simon Bjurek requested to merge add-matrix-inversion-sfg-generator into master

Works for arbitrary real spd matrices. Closes: #137 (closed) #200 (closed)

Edited by Simon Bjurek

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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
  • Oscar Gustafsson
  • Simon Bjurek added 1 commit

    added 1 commit

    • 13c190a1 - fixes from mr comments and added tests for 100 percent test coverage in core_operations

    Compare with previous version

  • Simon Bjurek marked this merge request as ready

    marked this merge request as ready

  • Author Maintainer

    Is ready for use with real matrices.

  • Simon Bjurek requested review from @oscgu95

    requested review from @oscgu95

  • Simon Bjurek added 1 commit

    added 1 commit

    • 76dc8737 - Changed sfg generator to use DontCare.

    Compare with previous version

  • Simon Bjurek changed the description

    changed the description

  • Author Maintainer

    @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.

  • Simon Bjurek mentioned in merge request !470 (closed)

    mentioned in merge request !470 (closed)

  • Simon Bjurek mentioned in merge request !472 (merged)

    mentioned in merge request !472 (merged)

  • Simon Bjurek changed the description

    changed the description

  • 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,
  • Simon Bjurek added 8 commits

    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.

    Compare with previous version

  • Simon Bjurek added 9 commits

    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...

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading