Dangerous Prototypes

Other projects => Past projects => CPLD programmable logic => Topic started by: medamarko on May 12, 2011, 12:18:40 pm

Title: My Sch does not work...
Post by: medamarko on May 12, 2011, 12:18:40 pm
Hi, I'm beginner in this field so i need some help.

I created simple schematic project, added I/O pins to markers, and successfully compiled it (synthesize).
Next i generated XSVF file, and download it to my XC9572XL with buspirate without any issue.
But it is not working in real world.
I probably miss something.
Whole project is located in attachment.
And any help is appreciated.

Best Regards
Marko
Title: Re: My Sch does not work...
Post by: ian on May 12, 2011, 04:50:19 pm
Hi Marko,

Sorry it took me a while to respond, I had to update to v13 to open your files.

I compiled and ran the simulation. It simulates ok, but I noticed a XLN_3 in the sim - the compiler is turning youir schematic into this:

Code: [Select]
module main(XLXN_1, 
            XLXN_2);

    input XLXN_1;
  output XLXN_2;
 
  wire XLXN_3;
 
  IBUF  XLXI_1 (.I(XLXN_1),
                .O(XLXN_3));
  (* SLEW = "SLOW" *)
  OBUF  XLXI_2 (.I(XLXN_3),
                .O(XLXN_2));
endmodule

Code: [Select]
   wire XLXN_3;
For some reason it is creating a third pin. The compiler eliminates it, but this could be an issue. I'm going to try it out on my dev board now.
Title: Re: My Sch does not work...
Post by: ian on May 12, 2011, 05:06:14 pm
My own compile worked fine (attached). I'll test yours now too.
Title: Re: My Sch does not work...
Post by: ian on May 12, 2011, 05:14:23 pm
Your compile did not work. I'd guess that it was a problem with the XSVF export. I notice that it was automated in your project, so I ran IMPACT and did a manual export and it worked. When you setup the XSVF export be sure to specify the .jed file for the correct project. Impact likes to select some strange default directory on my system and it has caused me problems in the past.
Title: Re: My Sch does not work...
Post by: medamarko on May 13, 2011, 01:16:28 pm
Hello,

I tried again but it is not working.
Here is step by step how i export xsvf file.
- open iMPACT > file > new project
- create new project > Select prepare boundary scan > drop down select XSVF for output
- write name for XSVF file
- add correct JAD file (double checked path to file, so correct jed file is selected)
- select XC9572XL as target> right click on target > program
After that i receive message that XSVF is generated
Maybe this new ISE Suite isn't working properly....

Thanks
Marko
Title: Re: My Sch does not work...
Post by: ian on May 13, 2011, 01:49:55 pm
Hi Marko,

That sounds perfect. Make sure the erase/verify options are selected when you target->program.
Title: Re: My Sch does not work...
Post by: medamarko on May 13, 2011, 02:11:09 pm
Yup, I checked that.
Definitely there is problem in ISE...
Tomorrow i will try it on other computer.
Maybe it is not compatible with Windows 7 64 bit...

Regards
Marko

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00962074800session_write_close ( )...(null):0
20.00992206392ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00992207168Database_MySQL->query( ).../DatabaseHandler.php:119
40.05632345904Database_MySQL->error( ).../Db-mysql.class.php:273