![]() |
|
|
|
#1 |
|
Hello,
A customer of ours is using one of our IPs and reports that DC (for synthesis) complains about two things : *A* wouldn't support 'pos as in character'pos ?? (which is very handy for cahacter to slv conversion) *B* wouldn't support booleans in generic ?? I emailed the Synopsys hotline, but got the answer that only Synopsys customers can ask such questions... A pointer to a document stating the current limitations of DC would be very appreciated Thx in advance, Bert Cuzeau Bert Cuzeau |
|
|
|
|
#2 |
|
Posts: n/a
|
Just a test
Acci |
|
|
|
#3 |
|
Posts: n/a
|
Hi Bert,
Synopsys DC has actually two VHDL frontends (parsers). The standard one, which is enabled by default, is just crap. It only suppoprts an extremely limited number of VHDL constructs, which makes it almost unusable for modern parameterizable designs. The newer one, called PRESTO, must be explicitly enabled. You can do this by setting the 'hdlin_enable_presto_for_vhdl' to 'true' in your dc.setup script. Hope this helps. Acci |
|
|
|
#4 |
|
Posts: n/a
|
Bert Cuzeau wrote:
> A customer of ours is using one of our IPs and reports that > DC (for synthesis) complains about two things : > > *A* wouldn't support 'pos as in character'pos ?? > (which is very handy for cahacter to slv conversion) At one time, mentor synthesis allowed character'pos for constant use only. In this case a function "buffer" like this did the trick: function char_pos (char_v : character) return natural is type ascii_t is array (character) of natural; function ascii_c return ascii_t is variable table_v : ascii_t; begin for i in character loop table_v(i) := character'pos(i); -- DC might buy this as i is a loop index "constant" end loop; return table_v; end function ascii_c; begin return ascii_c(char_v); end function char_pos; > *B* wouldn't support booleans in generic ?? The only "sure thing" type for generic synthesis is integer. I have never used DC or know the errata. Your customer may be the best source. -- Mike Treseler Mike Treseler |
|
|
|
#5 |
|
Posts: n/a
|
Thank you both for your excellent answers.
The function may be a good workaround, and I also suspect that presto wasn't enabled. Thx again, Bert Cuzeau Bert Cuzeau |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VHDL sll shift question | ohaqqi | Hardware | 4 | 09-29-2009 11:27 AM |
| How to execute an external software from VHDL? And how to interface VHDL with JAVA? | becool_nikks | Software | 0 | 03-06-2009 07:08 PM |
| Help on auto conversion from Matlab to vhdl on filter design | hardheart | Hardware | 0 | 12-07-2007 09:19 AM |
| Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good | God | DVD Video | 3 | 04-25-2005 04:19 PM |
| Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good | Filthy Mcnasty | DVD Video | 0 | 04-25-2005 04:29 AM |