mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
anlogic: set the init value of DFFs
As dffinit has already supported for different initialization strings for DFFs and check for re-initialization, initialization of Anlogic DFFs are now ready to go. Support for set the init values of Anlogic DFFs. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
This commit is contained in:
parent
256fb8c95c
commit
4bf8ac728c
2 changed files with 15 additions and 14 deletions
|
@ -170,6 +170,7 @@ struct SynthAnlogicPass : public ScriptPass
|
|||
{
|
||||
run("dffsr2dff");
|
||||
run("techmap -D NO_LUT -map +/anlogic/cells_map.v");
|
||||
run("dffinit -strinit SET RESET -ff AL_MAP_SEQ q REGSET -noreinit");
|
||||
run("opt_expr -mux_undef");
|
||||
run("simplemap");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue