On 2/27/07, Timothy Normand Miller <[EMAIL PROTECTED]> wrote:
This is a GOOD place to ask these sorts of questions.

I wasn't sure, because I haven't seen anyone use the list to discuss
code since I started following it.  Then again, other than getting the
OGD board validated it seems nobody is working with the code.


> Right now, I'm wondering why the filename of vid_ctl/RAMB16_S36_36.v
> doesn't match the module name declared within.

This one may just be a typo.

Should I assume that it's the filename that needs to get changed?
Also, there's an absolute path in that file for the $readmemh call
that I forgot about.  Using a relative path has its own problems, but
that can be worked around in the scripts that run the test code,
rather than requiring a symlink from /home/admin/trunk to the source
tree.  See the short attachment.
Index: RAMB16_S36_36.v
===================================================================
--- RAMB16_S36_36.v	(revision 141)
+++ RAMB16_S36_36.v	(working copy)
@@ -21,7 +21,7 @@
     input ENB, CLKB, WEB, SSRB;
 
 reg [35:0] mem [0:511];
-initial $readmemh("/home/admin/trunk/drivers/lib/video_controller/32x32.hex", mem, 0);
+initial $readmemh("../../drivers/lib/video_controller/32x32.hex", mem, 0);
 
 integer k;
 
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to