mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-10 08:03:26 +00:00
Merge pull request #4817 from povik/macc_v2-1
macc: Stop using the B port
This commit is contained in:
commit
ca0ace66bc
10 changed files with 89 additions and 51 deletions
|
@ -117,7 +117,7 @@ struct ShareWorker
|
|||
|
||||
static int bits_macc(const Macc &m, int width)
|
||||
{
|
||||
int bits = GetSize(m.bit_ports);
|
||||
int bits = 0;
|
||||
for (auto &p : m.ports)
|
||||
bits += bits_macc_port(p, width);
|
||||
return bits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue