mirror of https://github.com/YosysHQ/yosys.git
Supercell creation for $div/$mod worked all along, fixed test benches
This commit is contained in:
parent
7a6d578b81
commit
e9506bb2da
|
@ -134,10 +134,6 @@ struct ShareWorker
|
||||||
not_a_muxed_cell:
|
not_a_muxed_cell:
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// FIXME: Creation of super cells is broken for this cell types
|
|
||||||
if (cell->type == "$div" || cell->type == "$mod")
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (config.opt_force) {
|
if (config.opt_force) {
|
||||||
shareable_cells.insert(cell);
|
shareable_cells.insert(cell);
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -46,5 +46,5 @@ for idx in range(100):
|
||||||
print('rename uut_%05d gate' % idx)
|
print('rename uut_%05d gate' % idx)
|
||||||
print('share -aggressive gate')
|
print('share -aggressive gate')
|
||||||
print('miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold gate miter')
|
print('miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold gate miter')
|
||||||
print('sat -verify -prove trigger 0 -show-inputs -show-outputs miter')
|
print('sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter')
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,8 @@ if ! ../../yosys -q -l log_test_share/$n.out - 2> /dev/null <<- EOT
|
||||||
share -aggressive
|
share -aggressive
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
miter -equiv -ignore_gold_x -make_outputs -make_outcmp gold work miter
|
miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold work miter
|
||||||
flatten miter
|
sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter
|
||||||
sat -verify -prove trigger 0 -show-inputs -show-outputs miter
|
|
||||||
EOT
|
EOT
|
||||||
then
|
then
|
||||||
log_fail test_share $n
|
log_fail test_share $n
|
||||||
|
|
Loading…
Reference in New Issue