You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to map my design logic which uses an 14-bit counter to tech description in the liberty file. However, yosys does not recognize the tech description in the liberty file. I would appreciate any help. Thank you.
PS: I am new to yosys.
Extracted 0 gates and 0 wires to a netlist network with 0 inputs and 0 outputs.
Don't call ABC as there is nothing to map.
Removing temp director
...
Executing DFFLIBMAP pass (mapping DFF cells to sequential cells from liberty file).
cell DFF (noninv, pins=3, area=18.00) is a direct match for cell type $_DFF_P_.
cell COUNTER (noninv, pins=16, area=30.00) is a direct match for cell type $_DFF_PP0_.
cell DFFSR (noninv, pins=5, area=18.00) is a direct match for cell type $_DFFSR_PPP_.
final dff cell mappings:
unmapped dff cell: $_DFF_N_
\DFF _DFF_P_ (.C( C), .D( D), .Q( Q));
unmapped dff cell: $_DFF_NN0_
unmapped dff cell: $_DFF_NN1_
unmapped dff cell: $_DFF_NP0_
unmapped dff cell: $_DFF_NP1_
unmapped dff cell: $_DFF_PN0_
unmapped dff cell: $_DFF_PN1_
\COUNTER _DFF_PP0_ (.C( C), .Q0( Q), .Q1( Q), .Q10( Q), .Q11( Q), .Q12( Q), .Q13( Q), .Q2( Q), .Q3( Q), .Q4( Q), .Q5( Q), .Q6( Q), .Q7( Q), .Q8( Q), .Q9( Q), .R( R));
unmapped dff cell: $_DFF_PP1_
unmapped dff cell: $_DFFSR_NNN_
unmapped dff cell: $_DFFSR_NNP_
unmapped dff cell: $_DFFSR_NPN_
unmapped dff cell: $_DFFSR_NPP_
unmapped dff cell: $_DFFSR_PNN_
unmapped dff cell: $_DFFSR_PNP_
unmapped dff cell: $_DFFSR_PPN_
\DFFSR _DFFSR_PPP_ (.C( C), .D( D), .Q( Q), .R( R), .S( S));
...
counter 2
Area for cell type $not is unknown!
Area for cell type $and is unknown!
Area for cell type $or is unknown!
Area for cell type $mux is unknown!
Area for cell type $dff is unknown!
Area for cell type \counter is unknown!
the yosys TCL script
# Read verilog description of cells
read_verilog counter.v
# techmap
techmap -map counter.v counter
# mapping logic to counter.lib
abc -liberty counter.lib
dfflibmap -liberty counter.lib
# print stats
stat -liberty counter.lib
# Write out in spice format
write_spice synthesized_output.sp
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to map my design logic which uses an 14-bit counter to tech description in the liberty file. However, yosys does not recognize the tech description in the liberty file. I would appreciate any help. Thank you.
PS: I am new to yosys.
the yosys TCL script
counter.v
counter.lib
Beta Was this translation helpful? Give feedback.
All reactions