• Home
  • :
  • Community
  • :
  • Forums
  • :
  • Logic Design
  • :
  • Unable to map design without a suitable latch. [MAP-3] ...

Logic Design Forums

Unable to map design without a suitable latch. [MAP-3] [synthesize]

20050710212
20050710212 over 7 years ago

The same design can be synthesized by Synopsys (syn-2010.03-SP3). No error happens. When I use Cadence RTL compiler, one error happens. The error information is listed as below.

Library:  CORE65GPLVT_nom_1.10V_25C.lib
             CLOCK65GPLVT_nom_1.10V_25C.lib

Error   : Unable to map design without a suitable latch. [MAP-3] [synthesize]
          : Instance 'U1/full_nx_reg' requires a simple latch.
          : Check the libraries for necessary latch cell. The cell could be marked unusable.
            Synthesis failed.

Code: 

   WHEN "10" =>
             IF (full_nx /= '1') THEN
                  wptr_nx <= wptr_reg;
                empty_nx <= '0';    
                    wen_nx <= '1';
                     ren_nx <= '0';
                   IF (wen_nx = '1') THEN
                      wptr_nx <= wptr_suc;    
                   END IF;
            ELSE
               wen_nx <= '0';
               ren_nx <= '0';
            END IF;

            IF (wptr_suc = rptr_reg) THEN
               full_nx <= '1';
               wen_nx  <= '0';
            ELSE
              full_nx <= '0';
            END IF;

Could you please give me some suggestions? I 'd appreciate any help I can get.

Thank you very much.

 

Li

  • Reply
  • Cancel
  • Cancel
  • Fotios Nt
    Fotios Nt over 7 years ago

     Hello Li,

     

    Your library doesnt seem to contain a latch. Please open it and ensure that you have latch cells, and they aren't marked unusable

     

    If you do not want to use latches, please take a look in the HDL Modeling in Encounter® RTL Compiler manual, where it is explained that , depending on the way you code verilog, synthesis can infer a latch rather than a flop in many situations.

     

    Regards,

    Fotis

     

    P.S: This topic should be moved to "Logic Design" board, because it is an RTL compiler issue, and not a C to Silicon one.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • JustV
    JustV over 6 years ago

     Thanks for reply

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • maria denial
    maria denial over 3 years ago
    [deleted]
    • Cancel
    • Up 0 Down
    • Reply
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.