Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > how to force DC to use a specific cell ?

Reply
Thread Tools

how to force DC to use a specific cell ?

 
 
whizkid
Guest
Posts: n/a
 
      11-06-2004
hi all,
how to force DC to use a specific cell for specific part of the code
in verilog module. Power compiler is implementing my logic with XL
gate (low power, high delay) from TSMC library. I want to use X2 or X4
flop for only that part of the code in the total verilog module. How
can I do that??

By the way I cant instantiate the gate from cell library since the
clock is gated.
(becoz I want power compiler to insert clockgate circuitry in the
clock pin of the flop.)
Regards
whizkid
 
Reply With Quote
 
 
 
 
mk
Guest
Posts: n/a
 
      11-06-2004
On 6 Nov 2004 06:42:00 -0800, (whizkid) wrote:

>hi all,
>how to force DC to use a specific cell for specific part of the code
>in verilog module. Power compiler is implementing my logic with XL
>gate (low power, high delay) from TSMC library. I want to use X2 or X4
>flop for only that part of the code in the total verilog module. How
>can I do that??
>
>By the way I cant instantiate the gate from cell library since the
>clock is gated.
>(becoz I want power compiler to insert clockgate circuitry in the
>clock pin of the flop.)
>Regards
>whizkid


I am not sure why you think instantiating the flop will prevent the
PC to do clock-gating. But if that's really the case, you can always
upsize the flop after the PC is done before you start the CTS. Write
out the verilog, change the flop and continue with the rest of the
flow. I still think you should be able to instantiate the flop only
(the same type as the PC generates but with a higher drive) and let PC
handle the rest.

 
Reply With Quote
 
 
 
 
Alexander Gnusin
Guest
Posts: n/a
 
      11-07-2004
> I am not sure why you think instantiating the flop will prevent the
> PC to do clock-gating. But if that's really the case, you can always
> upsize the flop after the PC is done before you start the CTS. Write
> out the verilog, change the flop and continue with the rest of the
> flow. I still think you should be able to instantiate the flop only
> (the same type as the PC generates but with a higher drive) and let PC
> handle the rest.


I believe, eventually you are going to do scan insertion. During scan
insertion, you may use the folowing command:

set_scan_register_type -exact -type <scanFF_cell_name> <chosen regs>
(see man page on this command)

I also don't think that it is a good idea to edit synthesised
gate-level verilog. It is error-prone and hard to repeat each time you
do re-synthesis. If you have to to modifications after synthesis - you
can do it with dc (or pc) - tcl and then add your modifications to the
synthesis script.
You can see an example of dc-tcl code on my site:
www.adeptix.com/tclforeda -> DC enhancements -> rebind_cell


Regards,
Alexander Gnusin
 
Reply With Quote
 
newman
Guest
Posts: n/a
 
      11-07-2004
(whizkid) wrote in message news:<. com>...
> hi all,
> how to force DC to use a specific cell for specific part of the code
> in verilog module. Power compiler is implementing my logic with XL
> gate (low power, high delay) from TSMC library. I want to use X2 or X4
> flop for only that part of the code in the total verilog module. How
> can I do that??
>
> By the way I cant instantiate the gate from cell library since the
> clock is gated.
> (becoz I want power compiler to insert clockgate circuitry in the
> clock pin of the flop.)
> Regards
> whizkid


Whizkid,
Why are posting "ASIC" stuff to the "FPGA" newsgroup? Are you
porting a "FPGA" design to an "ASIC"?, or more likely using an FPGA to
sanity check an ASIC design. I suppose a small percentage of the group
has done both ASICs and FPGAs, I know I did in a prior lifetime, but
based on the number of FPGA seats people are suggesting, I suspect
that the percentage that do both is relatively small.

- regards
Newman
 
Reply With Quote
 
whizkid
Guest
Posts: n/a
 
      11-07-2004
always@(posedge CLK or negedge RST) begin
if(!RST) begin
EN132 <= 1`b0;
end
else if(ENB) begin
EN132 <= n_EN132;
end
end

say in this is the piece of code...
If I instantiate a DFF from library what will I connect to the CLK pin
of the flop(coz I want to gate the clock).. well its possible to
instantiate the both the flop and the integrated clock gate cell from
the library.. Is that what u meant to say??


thanks
whizkid







mk<> wrote in message news:<>. ..
> On 6 Nov 2004 06:42:00 -0800, (whizkid) wrote:
>
> >hi all,
> >how to force DC to use a specific cell for specific part of the code
> >in verilog module. Power compiler is implementing my logic with XL
> >gate (low power, high delay) from TSMC library. I want to use X2 or X4
> >flop for only that part of the code in the total verilog module. How
> >can I do that??
> >
> >By the way I cant instantiate the gate from cell library since the
> >clock is gated.
> >(becoz I want power compiler to insert clockgate circuitry in the
> >clock pin of the flop.)
> >Regards
> >whizkid

>
> I am not sure why you think instantiating the flop will prevent the
> PC to do clock-gating. But if that's really the case, you can always
> upsize the flop after the PC is done before you start the CTS. Write
> out the verilog, change the flop and continue with the rest of the
> flow. I still think you should be able to instantiate the flop only
> (the same type as the PC generates but with a higher drive) and let PC
> handle the rest.

 
Reply With Quote
 
Thomas Stanka
Guest
Posts: n/a
 
      11-09-2004
(whizkid) wrote:
> how to force DC to use a specific cell for specific part of the code
> in verilog module. Power compiler is implementing my logic with XL
> gate (low power, high delay) from TSMC library. I want to use X2 or X4
> flop for only that part of the code in the total verilog module. How
> can I do that??


Why not instanciating the gate in rtl code and use a
synopsys_translate_off pragma? This task is very easy in VHDL. I'm not
familiar enough with Verilog to tell you the exact code, but expect,
that this task is (almost) as easy as in VHDL.

bye Thomas
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nike air force one, air force 1, air force one low cut, air force one salewholeta@163.com Digital Photography 3 12-31-2008 04:29 PM
Nike Air Force Ones,Air Force One Air Force One-1 lky52193@gmail.com Computer Support 0 01-17-2008 04:40 PM
Nike Air Force Ones,Air Force One Air Force One-1,25th anniversary lky52112@gmail.com Digital Photography 0 01-15-2008 04:46 PM
Nike Air Force Ones,Air Force One Air Force One-1,25th anniversary lky52112@gmail.com Digital Photography 0 01-15-2008 04:34 PM
How to Force a Web Page to Use My Specific Font? Lucky Dog HTML 14 10-03-2003 10:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57