Skip to content

Commit

Permalink
Merge pull request #99 from weiya711/mcoduoza-vector-accum
Browse files Browse the repository at this point in the history
Re-merge VR after fixing unsynthesizable RTL
  • Loading branch information
kalhankoul96 authored Nov 6, 2023
2 parents aa3d1ed + 1623d46 commit 5498dc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions sam/onyx/hw_nodes/fiberaccess_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,8 @@ def configure(self, attributes, flavor):
cfg_tuple, cfg_kwargs = self.get_flavor(flavor=flavor).configure(attributes)
cfg_kwargs['flavor'] = flavor

vr_mode = 0
cfg_tuple += (vr_mode,)
cfg_kwargs["vr_mode"] = vr_mode

return cfg_tuple, cfg_kwargs
5 changes: 3 additions & 2 deletions sam/onyx/hw_nodes/intersect_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def configure(self, attributes):
cfg_kwargs = {
'cmrg_enable': cmrg_enable,
'cmrg_stop_lvl': cmrg_stop_lvl,
'op': op
'op': op,
'vr_mode': 0
}
return (cmrg_enable, cmrg_stop_lvl, op), cfg_kwargs
return (cmrg_enable, cmrg_stop_lvl, op, 0), cfg_kwargs

0 comments on commit 5498dc1

Please sign in to comment.