![]() |
|
|
|
#1 |
|
Hai........
Im designing a uart with Quartus. Is it possible to design the the whole design, simulate and synthesis using Quartus..Can anyone help me the steps to be done for the programming... The tools avaible with me are only Modelsim and Quartus Mary Mary |
|
|
|
|
#2 |
|
Posts: n/a
|
"Mary" <> wrote in message news: ups.com... > Im designing a uart with Quartus. Is it possible to design the > the whole design, simulate and synthesis using Quartus.. Yes > Can anyone help > me the steps to be done for the programming... If you have a specific question, ask it. As a general guide, consult the Quartus documentation. > The tools avaible with > me are only Modelsim and Quartus Good choices, they will do the job. KJ KJ |
|
|
|
#3 |
|
Posts: n/a
|
Hi......
I've written the code for uart...... While i did the functional simulation , everything came out well. But after doing the timing simulation some of the signals ( for example shift_reg( 11 dwonto 0)) reduced to shift_reg (9 downto 0) in the waveform file........In the simulation report it was said tat ignored node in vector source file.... The data bits is of 8 bit wide and after adding the start , parity and stop bit, it becomes 12 bit........ this is how i did it ....... if shift='1' then if status_reg(1)='1' and status_reg(0)='0' then if count=0 then txshift_reg(0)<='0'; -- load start bit txshift_reg(8 downto 1)<= buffer_reg; -- load data to transmit_shift reg txshift_reg(9)<=status_reg(2); -- load parity bit txshift_reg(11 downto 10)<="11"; status_reg(1)<='0'; -- change the status of shift register status_reg(0)<='1'; -- change the status of buffer register In fuctional simulation it dint showed any error..... but it didnt give the expected output for timing simution.. wat are the steps v have to take before doing the timing simultion. KJ wrote: > "Mary" <> wrote in message > news: ups.com... > > Im designing a uart with Quartus. Is it possible to design the > > the whole design, simulate and synthesis using Quartus.. > Yes > > > Can anyone help > > me the steps to be done for the programming... > If you have a specific question, ask it. As a general guide, consult the > Quartus documentation. > > > The tools avaible with > > me are only Modelsim and Quartus > Good choices, they will do the job. > > KJ Mary |
|
|
|
#4 |
|
Posts: n/a
|
Mary wrote:
> Hi...... > I've written the code for uart...... While i did the functional > simulation , everything came out well. But after doing the timing > simulation some of the signals ( for example shift_reg( 11 dwonto 0)) > reduced to shift_reg (9 downto 0) Synthesis is clever, and often matches my code with fewer register than I expect. This alone is not a problem. > In fuctional simulation it dint showed any error..... but it didnt give > the expected output for timing simution.. wat are the steps v have to > take before doing the timing simultion. With the right design rules, this should never happen. I would guess that you either have a combinational race or that you used an AFTER clause to create a delay. Check the reference design here: http://home.comcast.net/~mike_treseler/ for a uart code example that works fine with quartus and modelsim. -- Mike Treseler Mike Treseler |
|
|
|
#5 |
|
Posts: n/a
|
Thank u Mike for ur reply... Can u explain the combinational race
condition . how it occurs and how to avoid it. Mary |
|
|
|
#6 |
|
Posts: n/a
|
Mary wrote:
> Thank u Mike for ur reply... Can u explain the combinational race > condition . how it occurs If I change the asynch input (a), port b might follow the new value while c or d follow the old value because of wire and gate delay: clk>- a >--o--[dq]-------------------------> b \---------------[dq]-----------> c \ o----------------------[dq]--> d > how to avoid it. Synchronize all inputs and use a synchronous template to describe outputs. I like this one: http://home.comcast.net/~mike_tresel...c_template.vhd -- Mike Treseler Mike Treseler |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wonderful data input with web reporting tool | freezea | Software | 0 | 09-09-2009 05:30 AM |
| The basic standard of real Excel-like reporting tool | freezea | Software | 0 | 08-04-2009 03:40 PM |
| Which is better for reporting tool: open source or charge? | freezea | Software | 0 | 05-21-2009 02:10 PM |
| Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf | bbiandov | Software | 0 | 12-22-2008 05:25 AM |
| John Gagon and his new RAD tool. | FrankLewis | Software | 1 | 05-11-2006 11:51 AM |