3
0
Fork 0
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:
Martin Povišer 2025-01-08 14:42:51 +01:00 committed by GitHub
commit ca0ace66bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 89 additions and 51 deletions

View file

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