Home    Bloggers    Messages    Webinars    Resources   
Tw  |  Fb  |  In  |  Rss
Duane Benson

Discovering FPGAs: Opening the Package

Duane Benson
Page 1 / 3   >   >>
Duane Benson
Duane Benson
6/6/2012 1:46:14 PM
User Rank
Blogger
Re: Easier to Use Micro/PicoBlaze MCU or Verilog?
Karl - I briefly looked over that "Verilog in one day" site. It looks pretty good at first glance. I'll spend some time on it at somepoint and report back on how it works for me.

50%
50%
Karl
Karl
5/31/2012 2:47:01 PM
User Rank
Guru
Re: Easier to Use Micro/PicoBlaze MCU or Verilog?
Duane, here is a tutorial that was useful when I jumped into Verilog.  It has a "Verilog in one day" with simple examples of basics.

http://www.asic-world.com/verilog/veritut.html

One confusing but important thing is "blocking" vs "non-blocking" assignment.  A paper by Cliff Cummings is great.

http://www.sunburst-design.com/papers/CummingsSNUG2000SJ_NBA.pdf

Something I have not tried is compiling Verilog with the Model_Sim simulator to do a quick simulation.  That should be useful if going thru the whole design process is too slow for future projects.  Probably no problem with your board.

To blink an LED should be as simple as add an output pin to drive the LED then add a T flip-flop then connect its output to the output pin.

To control the blink rate use a counter and pick a bit that changes at the desired freguency as the toggle input to the flop.

Repeat as necessary to blink several at the same rate or mixed rates.

DON'T WORRY, HAVE FUN.

 

50%
50%
Duane Benson
Duane Benson
5/31/2012 12:57:43 PM
User Rank
Blogger
Re: Easier to Use Micro/PicoBlaze MCU or Verilog?
Warren - I'm an absolute rookie with VHDL and Verilog - with FPGAs in general. Based on what I've learned so far, I'm thinking it will be easier to blink an LED in an MCU. What I'm looking forward to though, is verifying my assumption that the FPGA will be able to blink a lot of LEDs, or do other functions, at the same time.

50%
50%
Warren Miller
Warren Miller
5/31/2012 12:53:29 PM
User Rank
Blogger
Easier to Use Micro/PicoBlaze MCU or Verilog?
It will be interesting to see if you find it easier to blink an LED using MicroBlaze/PicoBlaze or writing code in Verilog/VHDL. Do you have any experience with Verilog/VHDL? If not, that will be another big learning curve. Start slow and only dig into what you need to for your initial program. Using examples as a starting point (known good ones) is always a big help...

50%
50%
Adam Taylor
Adam Taylor
5/30/2012 7:01:07 PM
User Rank
Blogger
Re: Open design content
Open cores is very good as is the free model foundary which does component level models for system level test benching. 

50%
50%
Paul A. Clayton
Paul A. Clayton
5/30/2012 6:42:04 PM
User Rank
Beginner
Open design content
There might be some interest in Open Cores.  (Not having any knowledge or experience in logic design I do not know if the projects hosted there are especially good, but the site might be a useful resource [or not].)

GitHub might also have some projects of interest.

50%
50%
Duane Benson
Duane Benson
5/29/2012 2:12:01 PM
User Rank
Blogger
Re: Bring Up
Adam - Thanks. That makes sense. There's only a handful of those on the Spartan-6 board.

50%
50%
Adam Taylor
Adam Taylor
5/29/2012 1:36:38 PM
User Rank
Blogger
Re: Bring Up
Just the pins which are connected between the FPGA and any peripheral inputs, as it is a small board there might not be that many. 

50%
50%
Max Maxfield
Max Maxfield
5/29/2012 1:27:33 PM
User Rank
Blogger
Re: Promotion for Duane
@Duane: "At least I know that I don't know how much I don't know."

Are you sure? (grin)


50%
50%
Duane Benson
Duane Benson
5/29/2012 1:26:18 PM
User Rank
Blogger
Re: Bring Up
Adam - I have been looking into the UCF file. The one in the sample code I'm experimenting with only has four pin definition entries.

When you say "...You will need to ensure that you have these IO correctly driven...", are you referring to just the pins that have a definition line in the UCF file or all of the pins on the FPGA that could be set to be I/O?


100%
0%
Page 1 / 3   >   >>
More Blogs from Duane Benson
Duane is now poised to use his I2C interface to send commands to the driver boards controlling his robot avatar's motors.
There are a number of methods Duane could use to send data to his I2C module, but he decided on a "homegrown" FIFO buffer.
Hurray! Break out the party hats and chocolate cigars -- Duane's I2C finite state machine (FSM) controller is finally working... well, sort-of.
Duane Benson has decided the FPGA fabric in the Zynq All Programmable SoC will handle the short-term obstacle avoidance navigation in real-time. The Linux OS will handle longer-scope activities like point-to-point navigation.
Duane has decided that the time is ripe to get his ZedBoard bolted onto his robot with a Linux distribution up and running. That was the ultimate plan anyway, so why wait?
flash poll
follow us on twitter
follow Xilinx on twitter
like us on facebook
like Xilinx on facebook
All Programmable Planet     About Us     Contact Us     Help     Register     Twitter     Facebook     RSS