Altera Cyclone board

fpga_board

Nuovo acquisto: la mia prima board di sviluppo basata su una FPGA Altera Cyclone.

Ovviamente una board basata su Cyclone è assolutamente obsoleta ma dato il costo veramente irrisorio della board stessa e l’inclusione di un programmatore JTAG collegabile via USB (USB Blaster) mi sono deciso ugualmente all’acquisto.

Dopotutto le FPGA mi sono piaciute fin dalla prima volta in cui ho avuto a che fare con loro (la prima FPGA in cui mi sono imbattuto è stata una Spartan IIIE della Xilinx, poi mi sono trovato a tornare indietro verso la Spartan ma questa è un altra storia).

Visto che ho iniziato con Xilinx sono contendo di provare anche Altera.

Torniamo allora alla descrizione della board.

Una coppia di regolatori di tensione (1.5V e 3.3V), presa d’alimentazione, pulsante di accensione, pulsante di reset, due dip switch da 6, quattro pulsanti, sei led, un generatore di clock a 50MHz, un MAX3232 per la necessaria translazione di livello per avere una porta seriale, un buzzer, un display a led da quattro cifre, una memoria ECSP1 per rendere possibile usare la board in modalità stand-alone, senza bisogno di avere un pc disponibile per programmarla, un DS1302 (Trickle-Charge Timekeeping Chip), header per JTAG, header per AS, un header per collegare un classico display LCD alfanumerico e un header per collegare un classico display grafico da 128*64 pixel, purtroppo non adatto a questo display già in mio possesso. In più, tanti, tanti altri header per entrata/uscita digitale: questa è una FPGA, avere tanti ingressi/uscite è più che naturale.

La board da sola però non è molto utile. Serve del software per poter far fare qualcosa alla board. Altera mette a disposizione la versione web di Quartus II, il suo sistema di sviluppo per FPGA e CPLD.

Visto che il Cyclone è un componente obsoleto, non è più supportato dalla corrente versione di Quartus II, ma sono disponibile le versioni precedenti. La versione più recente che supporta la famiglia Cyclone è la 11.0sp1 mentre le versioni successive hanno abbandonato il supporto per questa particolare FPGA.

L’installazione avviene senza problemi anche se è piuttosto ingombrante, con qualche gigabyte da scaricare ed installare.

Finita l’installazione è tempo di lavorare.

Nel mio caso questo significa rispolverare VHDL.

A questo proposito voglio citare Free Range VHDL: bel testo sul VHDL, Open Source. Una delle migliori risorse per la sua completezza.

Con un manuale sottomano, la board pronta e funzionante e il software correttamente installato è tempo di iniziare a descrivere hardware e fare qualcosa di interessante con questa board.

La prima cosa che farò sarà provare i led e i pulsanti. In VHDL, naturalmente.

Seconda cosa, scrivere sempre in VHDL un divisore, dividendo il clock un numero sufficiente di volte al fine di poterlo vedere facendo lampeggiare un LED. Magari riuscirò anche a capire per quale motivo i progettisti della board hanno deciso di far entrare il clock sul pin 92 (clk3) della FPGA, tralasciando, a quanto pare, il blocco PLL incluso nel Cyclone.

A questo punto toccherà al MAX232. Approfittando della sua presenza e del connettore già bello pronto potrò collegare ad un terminale e finalmente vedere qualcosa meno limitato e limitante dei led.

Mi piacerebbe arrivare a questo punto in breve tempo, anche se il tempo manca sempre. Dopo, non ci sono limiti se non la fantasia e, chiaramente, le doti del Cyclone.

A.C.

This entry was posted in Digitale, Elettronica, FPGA. Bookmark the permalink.

2 Responses to Altera Cyclone board

  1. Paul says:

    I can understand about the time deayls. I earned my AS in 1999, and ended up finishing my BS in 2007. However, there was a slight difference. I was active duty military and ended up being stationed in Japan from 1999-2003. I didn’t restart the BS until 2005. Now I’m looking at going back for my MS. However working in a field that I didn’t have Practice in has been very helpful. Currently I design H/W and S/W for industrial metal detectors and am learning quite a bit about coil wound antennas and pulse inductive prospecting. Hopefully I can work back through the DSP and make those classes a little bit easier.

  2. Williammug says:

    ?Very best Essay Composing Tips For All Students
    Starting up an essay could very well be tough. It’s effortless to claim you have writer’s block or that the creative juices just aren’t flowing today, but in due course you’re going to will have to bite the bullet and craft your essay. And unfortunately, once your essay is written it’s even now not done, considering then comes the editing phase. Lucky for you, we’ve compiled a list of useful tips to help you get into the producing mood, and to ensure that what you stop up handing in to your teacher is guaranteed to impress.
    Tips for Creating
    1. Get Your Research Done First of all
    Once you’ve chosen a topic, do as quite a bit research as viable on that topic. Use all the resources at your disposal – books, ?nternet sites, journals etc… Keep all relevant research in the solitary document so it’s trouble-free to go again to. Having a bit of background answers on your topic will ensure it is easier to sort a thesis.
    two. Craft Your Thesis Statement
    Though it’s very very likely your thesis will have changed by the time you finish your essay, producing your thesis is mostly a awesome way to get started on. The thesis is definitely a clear statement that your essay will be centered close to. Once you know this, it will be easier to begin composing as you’ll have an idea of what you must have to prove or argue.
    3. Skip The Introduction
    Creating an essay out of order is usually a useful technique when trying to drive yourself to put in writing an essay. The introduction can oftentimes be the hardest part of an essay, so don’t stress over finishing it earliest. If you happen to wait until you’ve written your body paragraphs, you won’t really need to operate at producing your introduction, it will come naturally to you as you presently know exactly what the rest of your paper says.
    four. Create Topic Sentences
    A major criticism by teachers is an essay is unclear or vague. Try and prevent obtaining comments like this by composing out a clear topic sentence for every paragraph. Your topic sentence should include what you happen to be trying to prove on your essay (paraphrase your thesis) too as what the targeted paragraph will be discussing.
    5. Use Evidence
    This may feel obvious, but it’s very important, and there’s a certain way you can still use evidence inside of your essay. Each and every body paragraph should have 2-3 pieces of evidence in it minimum. A clear, organized way of structuring your body paragraphs is to describe the very first piece of evidence, and then explain how this evidence is significant to your argument/how it proves your thesis (answer the dreaded "so what?" question). The key is to relate all evidence back again to your thesis statement. Repeat the “describe and explain” product for just about every piece of evidence.
    Tips for Editing
    1. Make A Word Cloud
    Wordle is known as a high-quality application which allows you to definitely see which words you use most in an essay inside a fun and colourful way. Go to wordle.net and copy and paste your essay into the textual content box. Wordle will then generate a word cloud that shows you which words had been put into use most commonly (the larger the word is, the a little more you second hand it). This can help you avoid repetition.
    two. Read through It Out Loud
    It’s a lot of easier to catch mistakes if you find yourself reading out loud. So sit inside your room and browse through your essay aloud to yourself. You will detect immediately should you are missing a word, have a run-on sentence, or are missing a comma.
    3. Have Someone Else Study It Over
    Having someone else look over your essay over is just not only helpful for spelling and grammar mistakes, but is the most useful way to tell if your argument makes feeling. If you happen to scan over your possess essay, it’s very easy to believe everything makes perfect perception due to the fact that you know a lot about the topic and what you mean to convey if you produce something. However, someone who has not been studying the topic will easily be able to point out if something isn’t explained clearly or doesn’t connect again to your thesis very well. At any time you have a friend browse through it, ask them what they think your argument is. This is truly a very good question that will let you know how clearly your argument comes across.
    four. And Finally. ASK FOR HELP!
    Should you are having trouble creating your essay, ask for help! There are an abundance of resources out there. Those that want someone to proofread your essay, have to have help choosing a topic, or aren’t sure whether your argument is formidable enough, ask your teacher, your family, or even a tutor for help! GradeSlam has expert English tutors to choose from 24/7 to help you with your essay troubles.
    Go on Reading
    Discuss

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *