Routing Asynchronous clocks to Datapath

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

   

When non synchronous signals or signals which are not actual clocks are routed as datapath clock, the synthesizer would throw an error telling that, it has to get through the clk enable block to be routed appropriately. What precisely needs to be done is the following,

   

 

There is an instance in which we can make the sync mode false and put in that clock signal as an input and take the asynchronous clock as output. That is precisely done below.

Now, we have to wire the a_clk to the datapath.

The synthesizer would yet throw a warning telling us that an asyncronous path exist. We can ignore that warning, because that is what we want:-).

 

 

 

 

 

 

   

   

cy_psoc5_udb_clock_enable_v1_0

   

   

 

   

   

 

   

 

   

#(.sync_mode(`FALSE))

   

   

 

   

   

PrcClkEn

   

 

   

   

 

   

(

   

   

 

   

   

 

   

 

   

   

 

   

.clock_in(clk),

   

   

 

   

   

 

   

 

   

   

 

   

.enable(1'b1),

   

   

 

   

   

 

   

 

   

   

 

   

.clock_out(a_clk)

   

   

 

   

   

 

   

 

);

   

   

 

   

 

   

Regards, Rahul Ram

0 Likes
0 Replies