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 02-10-2005, 04:36 PM
phoenix3051
Guest
 
Posts: n/a
Default Problem with JBits 3.0 Tutorial

Hi Folks,

I have been working my way through the tutorial that is supplied with
the JBits 3.0 SDK, and have encounter the following problem when
running
the TracerExample.java
(<JBITS_HOME>\src\com\xilinx\demo\tracer\TracerExa mple.java)

Exception in thread "main" java.lang.NullPointerException
at com.xilinx.JBits.Virtex2.Wire.exists(Wire.java:130 )
at com.xilinx.JBits.Virtex2.Pin.<init>(Pin.java:86)
at com.xilinx.demo.tracer.TracerExample.main(TracerEx ample.java:48)

Which seems to point to the following
............
/* set the JBits object in the Wire class */
Wire.setJBits(jbits);
/* Get the lookup instance */
Lookup lookup = Lookup.getLookup();
/* Instantiate a RouteTracer */
RouteTracer tracer = new RouteTracer(lookup);

/* Trace CLB(0,0,XQ0) and print out the net */
Pin src = new Pin(Pin.CLB, 0, 0, Wire.XQ0); <-- This is line
48
.............

And I was wondering if anyone has came across the same problem and
hopefully found a solution which they could share with me, As I can't
find an pointers to the solution on google.

Any help great fully received,
Regards,
Paddy

Reply With Quote
  #2 (permalink)  
Old 02-10-2005, 07:01 PM
phoenix3051
Guest
 
Posts: n/a
Default Re: Problem with JBits 3.0 Tutorial

This problem was caused because the "tileWireExists.serial" file
wasn't accessible on my classpath. Adding the <JBITS_HOME> variable to
my classpath fixed it. (note that the jar file must be unzipped)

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
JBits and Spartan alonzo FPGA 5 10-15-2004 11:54 AM
Problem using EDK tutorial for Memec board with Synplicity. Brijesh FPGA 5 04-13-2004 06:01 PM
Problem using JBits 2.8 with (esl) RC1000-PP Barth?l?my von Haller FPGA 0 12-03-2003 01:40 PM


All times are GMT +1. The time now is 11:34 AM.


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