Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What will be synthesized after omission of unsynthesizable part of code

Status
Not open for further replies.

FixitFast

Junior Member level 2
Junior Member level 2
Joined
Feb 6, 2013
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,462
Dear all,

I know that unsynthizable code cannot be made into hardware. But while dealing looking at the PHY layer design of the MIG generated by Xilinx MIG I saw some un-synthesizable parts. My question is when transformed to hardware what will happen to the code or in other words will omitting the un-synth part, the hardware will be formed? Please see the snippet of the code

Code:
   process (clk)
   begin
      if (clk'event and clk = '1') then
         if (rst = '1') then
            init_complete_r <= '0' after (TCQ)*1 ps;
            init_complete_r1 <= '0' after (TCQ)*1 ps;
            init_complete_r2 <= '0' after (TCQ)*1 ps;
            dfi_init_complete <= '0' after (TCQ)*1 ps;
         else
            if (init_state_r = INIT_DONE) then
               init_complete_r <= '1' after (TCQ)*1 ps;
            end if;
            init_complete_r1 <= init_complete_r after (TCQ)*1 ps;
            init_complete_r2 <= init_complete_r1 after (TCQ)*1 ps;
            dfi_init_complete <= init_complete_r2 after (TCQ)*1 ps;
         end if;
      end if;
   end process;
 

Did you try to answer the question yourself by stripping of the timing statements?

Generally, timing statements are ignored in synthesis. If the code describes meaningful hardware, it can synthesize well, as the present example.
 

It could also be that this code represents the bahvioural model used when simulating. When it's actually synthesised, it uses a pre-compiled netlist.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top