UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
642 Views
Registered: ‎11-01-2015

How to check the function of DSP48E2 by Tcl

Jump to solution

Hi,

 

I'd like to check whether the DSP48E2 is used as a multiplier or only an adder. How can I do it by using Tcl scripts?

 

Could someone give me a clue?

 

Thanks,

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
617 Views
Registered: ‎02-14-2014

Re: How to check the function of DSP48E2 by Tcl

Jump to solution

Hi @araongao2015,

 

You can use below command -

get_property USE_MULT [get_cells <hierarchical_cell_name_of_DSP48E2_primitive>]

 

If there is single DSP48E2 primitive in the design, this command will also work -

get_property USE_MULT [get_cells -filter {REF_NAME == "DSP48E2"}]

 

This USE_MULT property can have three possible values -

 

NONE : Primitive is used as Adder/Logic Unit

MULTIPLY : Primitive is used as Multiplier

DYNAMIC : The DYNAMIC setting indicates that the user is switching between A*B and A:B operations on the fly and therefore
needs to get the worst-case timing of the two paths. 

Regards,
Ashish
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
1 Reply
Xilinx Employee
Xilinx Employee
618 Views
Registered: ‎02-14-2014

Re: How to check the function of DSP48E2 by Tcl

Jump to solution

Hi @araongao2015,

 

You can use below command -

get_property USE_MULT [get_cells <hierarchical_cell_name_of_DSP48E2_primitive>]

 

If there is single DSP48E2 primitive in the design, this command will also work -

get_property USE_MULT [get_cells -filter {REF_NAME == "DSP48E2"}]

 

This USE_MULT property can have three possible values -

 

NONE : Primitive is used as Adder/Logic Unit

MULTIPLY : Primitive is used as Multiplier

DYNAMIC : The DYNAMIC setting indicates that the user is switching between A*B and A:B operations on the fly and therefore
needs to get the worst-case timing of the two paths. 

Regards,
Ashish
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------