12-13-2007 07:53 PM
12-14-2007 01:27 AM
The 2006 versions of IEEE.std_logic, IEEE.numeric_std, and IEEE.numeric_bit have been out for over a year.
numeric_std and numeric_bit are part of 1076.3-1997. I looked at the VASG page you referenced, and I don't see any evidence of a newer approved standard, so any files dated 2006 are only drafts, and it is unsurprising that Xilinx doesn't have support for them.
Is there some feature of the 2006 draft that you desperately need?
12-14-2007 07:29 AM
I believe the 2006 standard you are referring to is still not an IEEE standard. This is currently in its final stages and talk is that it will probably be a 2008 standard. It was initially said it would be a 2007 standard, although schedules slipped.
What specific items are you looking for in the standard? Are you asking about the fixed and floating point types? Xilinx XST does support it. We have a ieee_porposed library that we ship with XST in 9.1i that supports the fixed and floating point libraries. Remember not all of this can be successfully synthesized into a FPGA.
The reason we dont say we support it is because it is not a full IEEE standard as yet and we are waiting on that to happen. Additionally as it is not a full standard we have not tested it throughly either and it is based on an order draft. We have seen some issues with it that we plan to address in 11.1 as well. Try it out, although beware that it is probably an Alpha version.
12-15-2007 12:57 PM
12-17-2007 09:03 AM
I would not recommend just dropping in the libraries, as that will most likley not do much and will very likley fail in the parser. XST comes with pre-compiled libraries, so unless you use it as a user custom library it will not work. That is an option you can use it like you write your own library and that may work. Depending on how those libraries are coded. The chances of having a lot of vendor support for an non-IEEE ratified standard is very low as most people dont want to put something into the tools and then have the standards change on them and go re-do it again. For this request, my suggestion woudl be the following. Try to use it as a custom library and open a case with Xilinx Tech Support and file a Change Request clarifying exactly which aspect you would like to see. Also participate in Accellera and voice your opinions on what you think are higher priority items that the VHDL commitee should be working on.
12-17-2007 11:44 AM
12-18-2007 06:37 AM
Yes Xilinx is an associate member of the Accellera commitee. I am one of the members of this sub-commitee that drives the VHDL side. We have plans to increase support in the 11.1 timeframe in XST for the new packages and so we will slowly add support for the new constructs in the language. It would be great if you can file the change request against the tools, so that we have customer request information also being tracked on the side. The problem is not the compilation of the new libraries, the problem is usually the lack of the testcases that we have to verify that the new constructs are there correctly. Dave Bishop has done a great job and provided us with a whole list of test cases and if you can provide some too, where you are trying to use a certain construct, then please send that to me us as well. This is very important to ensure that we implement the correct thing.
07-24-2008 08:21 AM
I have already posted my question in another thread but still struggling with it.
Actually, I am working on "IIR filter implementation on FPGA". I have already doen it in MATLAB/SIMULINK and was able to generate the code as well (Although I am not sure if it's synthesisable). Anyways, I am trying to write the code myself.
I need to do Fixed-point arithematic for my filter coefficients. Now, I came across these Fixed-point packages written by David Bishop on vhdl.org site. But I am struggling to incorporate them in my design. You wrote in this thread that these packages are synthesisable?
The tools I am using are Xilinx ISE 6, Modelsim 5.8c and the target is Spartan-3 xcs200. Do you think I can use these packages for my project? And if you could provide some guidance on how to compile these packages as I don't seem to have a library by the name of IEEE_proposed?
Thanks very much,
07-25-2008 08:39 AM
ISE XST only supports these packages in the ISE 9.1 and above version. Although I should add a disclaimer that when David Bishop tried to synthesize with XST he was not as successful. This is why we have not productized it as yet, as the testing has not shown good results. Although we are working on improving this in 11.1 with the new test cases that David provided us with.
07-25-2008 09:08 AM
Thanks very much for your reply. I emailed David as well and he has also told me that Xilinx has promised to include them in version 11.1.
But could you please suggest anything else in this regard? All I need is about 4 or 5 addtitions and multiplications but all the arithematic in Fixed-point. I am looking to have 16-bit coefficients and the data as well. I have been suggested a solution from one of your colleagues, to convert the coefficients in fixed-point signed binary form somewhere outside and then use those values in VHDL. But I am still not sure how to generate a synthesisable code. Do I need to use the built-in multipliers? It's Spartan-3 xcs200.
I mean just anything at all that you can suggest to implement an IIR filter on FPGA.
Thanks very much,