Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
batindeko
Posts: 35
Registered: ‎02-20-2012
0
Accepted Solution

generic funktion

Hi everybody,

 

i've a question about the generic function in VHDL. Is it possible to use this function in sysgen ?  if it's possible how can i do that in sysgen.  Is there someone that know how to do that.

 

Thanks

Olivier  

Xilinx Employee
austin
Posts: 3,879
Registered: ‎02-27-2008
0

Re: generic funktion

b,

 

"generic" is synthesizable, or part of the languaqge, and yes, we support VHDL....hence we support generic usage.

Austin Lesea
Principal Engineer
Xilinx San Jose
Regular Visitor
batindeko
Posts: 35
Registered: ‎02-20-2012
0

Re: generic funktion

may be it's simple if i give an example.
entity counter is
generic ( width : integer := 7 );
port ( clk : in std_logic;
Q_out : in std_logic_vector(width downto 0)
);
end counter;
Is it possible to realize such block in sysgen ?
Xilinx Employee
austin
Posts: 3,879
Registered: ‎02-27-2008
0

Re: generic funktion

b,

 

Are you coding in VHDL?  If so, yes.  If not, then I don't know.

Austin Lesea
Principal Engineer
Xilinx San Jose
Xilinx Employee
bwiec
Posts: 1,070
Registered: ‎08-02-2011
0

Re: generic funktion

Are you looking for the Black Box block in sysgen? Have a look in the reference guide.

www.xilinx.com