- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
HELP ME....bad synchronou s descriptio n
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 09:03 AM
I have this code in my description.....
proc0 : process(c5_load,c6_shift) is variable buff :STD_LOGIC_VECTOR (7 downto 0):="00000000" ; begin if (c5_load = '1' and c5_load'event) then buff:= ADDER_EXIT; OUTPUT_A<=buff; elsif (c6_shift ='1' and c6_shift'event) then A0 <= buff(0); buff := buff(7) & buff(7 downto 1); OUTPUT_A<=buff; end if; end process proc0;
but there is an error:
Signal buff cannot be synthesized, bad synchronous description. The description style you are using to describe a synchronous element (register, memory, etc.) is not supported in the current software release.
WHY?
Thanks so much
Re: HELP ME....bad synchronou s descriptio n
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 09:37 AM - edited 02-07-2012 09:37 AM
Aside from the use of two different clocks for a single register -- c5_load and c6_shift -- not much to worry about. Which FPGA family has more than one clock per register?
The use of blocking and non-blocking assignments in a clocked process is a bit sloppy.
You should ask your VHDL course instructor to give you a helping hand.
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: HELP ME....bad synchronou s descriptio n
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 09:50 AM
david107 wrote:
I have this code in my description.....
proc0 : process(c5_load,c6_shift) is variable buff :STD_LOGIC_VECTOR (7 downto 0):="00000000" ; begin if (c5_load = '1' and c5_load'event) then buff:= ADDER_EXIT; OUTPUT_A<=buff; elsif (c6_shift ='1' and c6_shift'event) then A0 <= buff(0); buff := buff(7) & buff(7 downto 1); OUTPUT_A<=buff; end if; end process proc0;but there is an error:
Signal buff cannot be synthesized, bad synchronous description. The description style you are using to describe a synchronous element (register, memory, etc.) is not supported in the current software release.
WHY?
Thanks so much
Yup, that's a bad synchronous description!
You should read the XST user guide to see what the tool expects.
----------------------------------------------------------------
Yes, I do this for a living.
Re: HELP ME....bad synchronou s descriptio n
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 10:58 AM
c5_load,c6_shift are two signals in input that come from my control unit.....
Re: HELP ME....bad synchronou s descriptio n
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 11:47 AM - edited 02-07-2012 11:49 AM
c5_load,c6_shift are two signals in input that come from my control unit...
Does your control unit have a clock?
If so, will your control unit mind sharing its clock with the rest of your design?
Have you figured out the answer to this question: Which FPGA family has more than one clock per register?
Do you understand why I ask this question?
-- Bob Elkind
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369
Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Re: HELP ME....bad synchronou s descriptio n
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-07-2012 12:33 PM
All the above comments are very valid.
If c5_load & c6_shift are two separate clocks in to this module it would be preferrable to split the single big process into two processes and if your code allows replace variable to signal declaration on the buff.
-Hari











