mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-14 11:15:40 +00:00
Merge branch 'main' into nella/latch-toggle
This commit is contained in:
commit
f5809a7c2c
675 changed files with 10003 additions and 8149 deletions
|
|
@ -72,4 +72,3 @@ module _80_ice40_alu (A, B, CI, BI, X, Y, CO);
|
|||
|
||||
assign X = AA ^ BB;
|
||||
endmodule
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ code sigA sigB sigH
|
|||
return sig.extract(0, i);
|
||||
};
|
||||
auto unextend_unsigned = [](const SigSpec &sig) {
|
||||
int i;
|
||||
int i;
|
||||
for (i = GetSize(sig)-1; i > 0; i--)
|
||||
if (sig[i] != SigBit(State::S0))
|
||||
break;
|
||||
|
|
@ -61,7 +61,7 @@ code sigA sigB sigH
|
|||
if (i == 0)
|
||||
reject;
|
||||
|
||||
for (int j = 0, wire_width = 0; j <= i; j++)
|
||||
for (int j = 0, wire_width = 0; j <= i; j++)
|
||||
if (nusers(O[j]) == 0)
|
||||
wire_width++;
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -16,4 +16,3 @@ for dbits in 2 4 8 16 24 32; do
|
|||
if grep -H ERROR ${id}_tb.txt; then false; fi
|
||||
done; done
|
||||
echo OK
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue