Skip to content

Commit 490bb92

Browse files
committed
Fixing the Yosys script used to read a mapped netlist.
1 parent a42e6ec commit 490bb92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/wln/wlnRtl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Abc_Ntk_t * Wln_ReadMappedSystemVerilog( char * pFileName, char * pTopModule, ch
217217
char Command[1000];
218218
char * pFileTemp = "_temp_.blif";
219219
int fSVlog = strstr(pFileName, ".sv") != NULL;
220-
sprintf( Command, "%s -qp \"read_liberty -lib %s; read %s %s%s %s; hierarchy %s%s; write_blif %s%s -impltf -gates %s\"",
220+
sprintf( Command, "%s -qp \"read_liberty -lib %s; read %s %s%s %s; hierarchy %s%s; flatten; proc; write_blif %s%s -impltf -gates %s\"",
221221
Wln_GetYosysName(),
222222
pLibrary,
223223
fSVlog ? "-sv " : "-vlog95",

0 commit comments

Comments
 (0)