Make all ports the same size, on the test ALU
authorCesar Strauss <cestrauss@gmail.com>
Fri, 1 Jan 2021 20:38:57 +0000 (17:38 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Fri, 1 Jan 2021 20:38:57 +0000 (17:38 -0300)
commit2d731038ee10f5283cd909717ae5076276a63d6c
tree3494d3e1c5ff04dab589d0484d05d66934ba519e
parentbd27823905a3442d91c85c2d15fb3371a75591ee
Make all ports the same size, on the test ALU

The old regspec API can't cope with different port sizes.
The CR port is now changed from 3 to "width" bits (16).
The problem was that cr.ok went into the fourth bit, messing with
the results.
src/soc/experiment/alu_hier.py
src/soc/experiment/test/test_compalu_multi.py