FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2005, 11:16 PM
Guest
 
Posts: n/a
Default uDMA Hard drive interface - putting together multiple programs.

I know have a working IDE interface utilizing the PIO transfer mode.
I'm only concerned with writing data so it is only using the 30h write
sectors command and it is working well with an old 4gb drive I have.

I've been trying to write some VHDL code for the dma start, sustain,
and end sequences but its really not going smoothly. I have multiple
programs writen in vhdl and then I create symbols for them and wire
them together in a schematic. Problem is I can't get anything to
simulate now at all no matter what I do

I'm kind of a newbie to vhdl, as I'm only a student and only started
with this stuff a few months ago but is their a better way to connect
these programs together than the schematic that will simulate or is it
not simulating likly because the code is written badly?

I know its not much to go on but any help would be apperciated

Keith Wakeham

Reply With Quote
  #2 (permalink)  
Old 08-23-2005, 01:41 AM
Mark McDougall
Guest
 
Posts: n/a
Default Re: uDMA Hard drive interface - putting together multiple programs.

[email protected] wrote:

> Problem is I can't get anything to
> simulate now at all no matter what I do


I'm not really sure what you mean by "won't simulate"?

> I'm kind of a newbie to vhdl, as I'm only a student and only started
> with this stuff a few months ago but is their a better way to connect
> these programs together than the schematic that will simulate or is
> it not simulating likly because the code is written badly?


There's no reason to use schematics in the design at all (though I'd
argue that a top-level schematic can show a design hierarchy very
nicely). You can replace your schematic with the equivalent in VHDL to
connect your modules together.

Regards,
Mark
Reply With Quote
  #3 (permalink)  
Old 08-23-2005, 04:05 PM
Guest
 
Posts: n/a
Default Re: uDMA Hard drive interface - putting together multiple programs.

What I mean by won't simulate is I can't get a waveform back with the
Xilinx ISE simulator once I have turned all my vhdl into symbols and
wired them in a schematic.

Once I use the create symbol command on the vhdl and then use the
symbol in a schematic it doesn't seem to allow me to run a simulation,
everything just goes unintialized

This is likely all just because I'm unexperienced with using
schematics. Has anyone else had this issue when translatting a vhdl to
symbol?

Reply With Quote
  #4 (permalink)  
Old 08-23-2005, 05:57 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: uDMA Hard drive interface - putting together multiple programs.

[email protected] wrote:
> What I mean by won't simulate is I can't get a waveform back with the
> Xilinx ISE simulator once I have turned all my vhdl into symbols and
> wired them in a schematic.


It's easier to "wire" the sub entities into
top.vhd with an instance like this:

uart_1: entity work.UART -- using default generic constants
port map (
clock => clk_s, -- [in]
reset => rst_s, -- [in]
address => address_s, -- [in]
writeData => writeData_s, -- [in]
write_stb => write_stb_s, -- [in]
readData => readData_s, -- [out]
read_stb => read_stb_s, -- [in]
serialIn => serialIn_s, -- [in]
serialOut => serialOut_s -- [out]
);


Then instance top into your testbench.

-- Mike Treseler
Reply With Quote
  #5 (permalink)  
Old 08-23-2005, 11:32 PM
Guest
 
Posts: n/a
Default Re: uDMA Hard drive interface - putting together multiple programs.

Sounds better than what I've been doing so far.

I'll give it a shot, hopefully it will do the trick and let me see the
output waveform.

Thank you

Keith

Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SynaptiCAD AllProducts, Synopsys, new programs, ola7 Verilog 0 07-19-2007 09:03 AM
drive multiple outputs with the same value on EPM3064? Florian Student FPGA 0 05-16-2004 11:54 PM
Putting TNM on a FF inside vhdl Morten Leikvoll FPGA 0 11-12-2003 03:39 PM


All times are GMT +1. The time now is 12:08 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved