T
troll greenĐŞ
Guest
Can anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
remember what I changed, anyway you can download the sourceCan anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
I have used VPP in the past, I did modify it slightly but I can't
I've used cpp, M4, and my own proprietary code all as VHDLCan anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
Probably he isn't as preprocessing is being discussed in the P1076On Thu, 8 Nov 2012 08:06:45 -0800 (PST)
troll greenĐŞ <xornonop@gmail.com> wrote:
Can anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
I've used cpp, M4, and my own proprietary code all as VHDL
preprocessors in the past. Inevitably, they allowed me to write
non-standard code that was more difficult to maintain and work with in
the long run.
VHDL is a fantastically extensible language. Whatever it is you think
you need a preprocessor for, you're probably wrong.
No, cpp, the C preprocessor. #define, #include, etc. If you've got aI've used cpp,
You mean KPP -- http://klabs.org/richcontent/software_content/kpp.htm
Or i'm wrong?
http://www.gnu.org/software/m4/M4,
Hard to find - can you provide some link?
Another option would be to have Matlab write out text files, and useInevitably, they allowed me to write
non-standard code that was more difficult to maintain and work with in
the long run.
Yes...
Whatever it is you think you need a preprocessor for, you're probably wrong.
I need it to control matlab->HDL flow easily.
F.E. change vhdl coder output parts for using some FPGA embedded DSP blocks.
etc.
Have my own samples, but do not want to reinvent the wheel in the case of bone preprocessor![]()
Thanks! I've tried it today but I'll try to find something more complex. Looks like https://metacpan.org/release/Hardware-Vhdl-Automake is a good stuff.On 08/11/2012 16:06, troll greenĐŞ wrote:
Can anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
I have used VPP in the past, I did modify it slightly but I can't
remember what I changed, anyway you can download the source
http://sourceforge.net/projects/vhdlpp/
Hans
www.ht-lab.com
Or i'm wrong?I've used cpp,
You mean KPP -- http://klabs.org/richcontent/software_content/kpp.htm
M4,
Hard to find - can you provide some link?
Inevitably, they allowed me to write
non-standard code that was more difficult to maintain and work with in
the long run.
Yes...
F.E. change vhdl coder output parts for using some FPGA embedded DSP blocks.Whatever it is you think you need a preprocessor for, you're probably wrong.
I need it to control matlab->HDL flow easily.
On 08/11/2012 16:49, Rob Gaddi wrote:
On Thu, 8 Nov 2012 08:06:45 -0800 (PST)
troll greenĐŞ <xorno...@gmail.com> wrote:
Can anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
I've used cpp, M4, and my own proprietary code all as VHDL
preprocessors in the past. Â Inevitably, they allowed me to write
non-standard code that was more difficult to maintain and work with in
the long run.
VHDL is a fantastically extensible language. Â Whatever it is you think
you need a preprocessor for, you're probably wrong.
Probably he isn't as preprocessing is being discussed in the P1076
steering group:
http://www.eda.org/twiki/bin/view.cgi/P1076/VHDLPreprocessor
I do hope we don't end up with the unreadable ' or is it the ` character....
Hanswww.ht-lab.com
Cool link, thanks. Try to collect and optimize all my ideas![]()
I do hope we don't end up with the unreadable ' or is it the ` character....
Yap. too.
No, cpp, the C preprocessor.
oh, okI forgot about original variant
Good:
super-easy to work with and you already know the syntax. Bad: pretty
limited in terms of what it can do.
Understood, with all limitations
http://www.gnu.org/software/m4/
Thanks, never heard about it before
Bad: Expect to spend time syntax tuning. Lots and lots of time.
Yes, too heavy "add-on" for vhdl. Not an elegant solution
std.textio to read those text files from VHDL to configure things
Hmm... might be much prettier.
And something like Apache Ant -- http://ant.apache.org/ -- upper.I've used this technique to create packages that hold
things like Subversion revision, timestamp, etc
Preffer matlab/vhdl project makefiles for similar tasks.
Can anyone help?
Main tags: opensource, good architectured.
Google, opencores didn't help
Thanks!
Good day,My apologies, I write VHDL code since long time; I never need a preprocessor. You coming from software or has formed in some language with cuisine "C" ?
All above is very good and practical way.Another option would be to have Matlab write out text files, and use
std.textio to read those text files from VHDL to configure things.
That's generally kosher for synthesis so long as your use of textio
only happens at elaboration time. Generally you'd wrap a function
around the textio calls, and have that function return something that
can initialize a constant, that can then make the rest of your code do
what it ought. I've used this technique primarily for initializing
ROMs, filter coefficients, etc.
Or have Matlab write out functions, procedures, or
constants to a VHDL package file, and then use that package in your
main code. I've used this technique to create packages that hold
things like Subversion revision, timestamp, etc, in such a way that
they can be synthesized in.
----------------------------------------------------------------