Author Topic: Noob FPGA issues?  (Read 2135 times)

0 Members and 1 Guest are viewing this topic.

Offline sci4meTopic starter

  • Regular Contributor
  • *
  • Posts: 139
  • Country: us
    • sci4me.com
Noob FPGA issues?
« on: July 30, 2013, 05:19:30 am »
Hi guys. So, I have been messing around with my FPGA board, slowly learning verilog, and currently, I am working on designing a "simplistic" cpu. It does work, it can read instructions and execute them, it has a fairly decent amount of instructions implemented. However, just now, I tried to change a few things and all of the sudden, whenever I compile, it just says 0 LE's. So its not compiling the processor or any of the other stuff (pll, ram, etc). All I tried to do was change a register name and size... and add a few instructions. Im wondering if there is some way I can see what the issue is or if I have to figure it out myself. The warnings dont seem to have anything to do with it, but im not sure...
 

Offline SebG

  • Regular Contributor
  • *
  • Posts: 66
  • Country: ca
  • Currently looking for an EE Job
Re: Noob FPGA issues?
« Reply #1 on: July 30, 2013, 06:35:32 am »
You need to give us a bit more like the code you changed or the warning messages when you compile.  If some error occurred that is only a warning the compiler won't create the hardware.
Sebastian
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Noob FPGA issues?
« Reply #2 on: July 30, 2013, 07:24:38 am »
Been there, done that. That usually happens when there is some major path broken, so that no input signals actually have any effect on the output so the compiler/synthesizer just removes all "unnecessary" stuff as an optimization. See analysis & synthesis connectivity check report of compilation report if that gives any clue what is missing.

Regards,
Janne

 

Offline sci4meTopic starter

  • Regular Contributor
  • *
  • Posts: 139
  • Country: us
    • sci4me.com
Re: Noob FPGA issues?
« Reply #3 on: July 30, 2013, 10:05:45 am »
Not sure what I did, but I put it into a brand new project and BOOM, the processor starts running a program. :)
 

Offline flynnjs

  • Contributor
  • Posts: 24
  • Country: gb
Re: Noob FPGA issues?
« Reply #4 on: July 30, 2013, 09:31:52 pm »
The obvious culprit is to accidentally disconnect the clock from any of the external pins.
That way the synth optimiser will say "nothing is clocked and there for I can remove
everything"   :palm:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf