mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 21:20:53 +00:00
coolrunner2: Initial fixes for special p-terms
Certain signals can only be controlled by a product term and not a sum-of-products. Do the initial work for fixing this.
This commit is contained in:
parent
7f08be4304
commit
6775177171
2 changed files with 81 additions and 1 deletions
|
@ -152,7 +152,7 @@ struct SynthCoolrunner2Pass : public ScriptPass
|
|||
if (check_label("map_pla"))
|
||||
{
|
||||
run("abc -sop -I 40 -P 56");
|
||||
run("coolrunner2_sop");
|
||||
run("clean");
|
||||
}
|
||||
|
||||
if (check_label("map_cells"))
|
||||
|
@ -162,7 +162,9 @@ struct SynthCoolrunner2Pass : public ScriptPass
|
|||
run("dffinit -ff FDCP_N Q INIT");
|
||||
run("dffinit -ff LDCP Q INIT");
|
||||
run("dffinit -ff LDCP_N Q INIT");
|
||||
run("coolrunner2_sop");
|
||||
run("iopadmap -bits -inpad IBUF O:I -outpad IOBUFE I:IO -inoutpad IOBUFE O:IO -toutpad IOBUFE E:I:IO -tinoutpad IOBUFE E:O:I:IO");
|
||||
run("clean");
|
||||
}
|
||||
|
||||
if (check_label("check"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue