You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a design with matrix of DSPs that is supposed to re-use the DSP cell. I name each with instantiation of the DSP cell using setattr to make them easy to track down during VCD traces like so:
arr= []
forrinrange(Params["rows"]):
temp= []
forcinrange(Params["cols"]):
#add cell as named submodulecell=Cell(WIDTH=Params["WIDTH"])
setattr(m.submodules,f"cell_r{r}_c{c}",cell)
#externally expose sumsm.d.comb+=self.sums[r][c].eq(cell.SUM)
temp.append(cell)
arr.append(temp)
When I have nmigen convert to verilog however, an identical verilog module is created for each cell as shown below:
Is it possible to have the emitted verilog re-use one DSP cell?
I guess one question one could always ask is how could nMigen know one instantiation of a DSP cell is identical to the next.
The text was updated successfully, but these errors were encountered:
I have a design with matrix of DSPs that is supposed to re-use the DSP cell. I name each with instantiation of the DSP cell using
setattr
to make them easy to track down during VCD traces like so:When I have nmigen convert to verilog however, an identical verilog module is created for each cell as shown below:
Is it possible to have the emitted verilog re-use one DSP cell?
I guess one question one could always ask is how could nMigen know one instantiation of a DSP cell is identical to the next.
The text was updated successfully, but these errors were encountered: