Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,142
» Latest member: goro
» Forum threads: 246
» Forum posts: 723

Full Statistics

Online Users
There are currently 12 online users.
» 0 Member(s) | 11 Guest(s)
Bing

Latest Threads
Closing the Forum
Forum: Announcements
Last Post: alchitry
10-31-2022, 02:42 PM
» Replies: 0
» Views: 319
Trouble with shift operto...
Forum: General Questions
Last Post: gln
10-26-2022, 08:29 AM
» Replies: 0
» Views: 254
Alchitry Au+ / ft600
Forum: General Questions
Last Post: Andrea1806
10-12-2022, 03:21 PM
» Replies: 0
» Views: 228
Cannot program new Amazon...
Forum: General Questions
Last Post: dkaleta
10-10-2022, 06:01 PM
» Replies: 1
» Views: 481
I2C Controller example ne...
Forum: General Questions
Last Post: dkaleta
10-09-2022, 01:52 AM
» Replies: 0
» Views: 439
Alchitry Board to Board C...
Forum: General Questions
Last Post: LMN128
09-30-2022, 08:40 AM
» Replies: 1
» Views: 576
CU board wont program
Forum: General Questions
Last Post: sfnagle
09-27-2022, 05:17 AM
» Replies: 4
» Views: 1,467
CuBr pins
Forum: Tips and Tricks
Last Post: jldevictoria
09-27-2022, 03:31 AM
» Replies: 3
» Views: 5,123
Lucid build via command-l...
Forum: General Questions
Last Post: SoCalCFI
09-15-2022, 06:02 AM
» Replies: 0
» Views: 271
Bin file not found - but ...
Forum: General Questions
Last Post: billh
08-27-2022, 08:48 PM
» Replies: 0
» Views: 354

 
  ADC and HDMI clock synchornization
Posted by: cerkit - 12-27-2021, 02:21 PM - Forum: General Questions - No Replies

Hello,

I am making a simple video synthesizer using the HDMI shield (on the Mojo). I have successfully generated my signal with the HDMI shield, but now I'd like to change the red/green/blue amount based on the input from the ADC. The ADC tutorial uses a PWM to control the LEDs based on the input from the ADC, but I'm just trying to get an 8 bit value out of it.

Also, it seems that since the ADC and the HDMI processing are on different clock domains, the signals from the ADC will not correctly "register" with the HDMI domain.

I tried setting the clock of the ADC to the clock that's provided by the HDMI Encoder component, but I get an error during synthesis.

Can anyone point me in the general direction of how to convert the input of the ADC into a simple 8 bit value between 0-254 that I can then use to set the value of the hdmi.red,.green, and .blue values?

Thanks in advance.


  HDMI Error - tmds_encoder.luc bug?
Posted by: cerkit - 12-26-2021, 03:30 AM - Forum: General Questions - Replies (1)

Greetings,

I am working through the HDMI shield demo and I've followed the instructions. However, I receive an error with the included tmds_encoder.luc file.


Code:
data9[i] = xor_flag ? data9[i-1] ~^ din.q[i] : data9[i-1] ^ din.q[i];


This code causes the following error:


Quote:Errors in file /home/michael/Alchitry/HDMI/HelloHDMI/HelloHDMI/source/tmds_encoder.luc:
    Line 48, Column 64 : missing '=' at '^'
    Line 48, Column 39 : missing ':' at '~'
    Line 48, Column 51 : mismatched input ':' expecting {'[', ']', '<', '.', '>', '+', '-', 'x{', '*', '/', '>>', '<<', '<<<', '>>>', '|', '&', '^', '==', '!=', '>=', '<=', '||', '&&', '?'}



I was able to get it working by making an editable copy of the file and switching the ~ and ^ operators on the true branch of the ternary operator like so:


Code:
data9[i] = xor_flag ? data9[i-1] ^ ~ din.q[i] : data9[i-1] ^ din.q[i];

Since I really don't know what a tmds encoder is actually supposed to do, the only way I've been able to debug my change is to place the design on my mojo and plug it into my monitor. It seems to be working, but I want to make sure I fixed the bug correctly and didn't introduce a bigger problem.

Thanks for your time.


  Serial Port Monitor is not Windows compatible
Posted by: tonyvr@sonic.net - 12-24-2021, 05:46 PM - Forum: General Questions - No Replies

I have enjoyed exploring the tutorials. I noticed that the built-in Serial Port Monitor is not Windows compatible, however, as it is missing a setting to use CR+LF for newlines. I have had to use Tera Term instead.


  Cannot Build Cu Hello World with IceStorm
Posted by: applekor - 12-17-2021, 12:17 AM - Forum: General Questions - No Replies

Has anyone on here been successful at building for Cu using IceStorm?  I built my toolchain by installing apio and following the instructions on FPGAWars' GitHub.  What is the ".sdc constraints" error about, and is it failing to build because I am specifying nextpnr instead of arachne-pnr and Alchitry Labs doesn't like it?  If that is the case, can Alchitry Labs be updated to use nextpnr, since arachne-pnr is deprecated?



Attached Files
.png   Alchitry Cu Build.png (Size: 45.5 KB / Downloads: 19)

  Connecting multiple FPGAs?
Posted by: stefanwebb - 12-14-2021, 08:43 PM - Forum: General Questions - Replies (2)

Hi There, I'm new to FPGAs and wanted to ask what may be a naive question:

Is it possible to connect multiple Alchitry Au boards via the IO pins? I.e. can you connect the output pins from a first board to input pins in a second and use the digital signal generated from the first board to drive the second one?

I am interested in combining several FPGAs to build more complex logic and scale up my prototypes


  Vivado prefered language?
Posted by: Jeroen - 12-08-2021, 05:58 PM - Forum: General Questions - Replies (1)

Hi all, 

I'm new to FPGA's but eager to learn the ins and outs of the Xilinx Vivado design suite for the Alchitry AU FPGA Development Board (realization of 3 custom-made shields as use-cases for a project at work). 

I'm here to seek advice what would be the best language to learn as base knowledge. I have experience in php, java, python and linux, but programming a fpga is a little different I understood Wink ?

For a good foundation is VHDL, or Verilog the best route to take as a language course to follow (next to the examples on this website) or is another language like C a better choice for me?

I work/learn best in a real (live) classroom setting, with an actual teacher, homework assignments and motivated colleague students, instead of an online course. Problem with VHDL or Verilog is that these languages are not very common, at least not in the Netherlands where I live. So to follow such a cource I can imagine an online course will be the solution.

If VHDL or Verilog is the route some of you took?? What course (url) would you advice to take? Udemy has a lot to offer, but what content is good?? I still prefer an actual real company to supply the course even if it cost lots more (if the quality is good). In the tutorial for the Alchitry boards I saw yet another language: Lucid. Is this the route to take, or am I better of doing that extra step with a more difficult language to 'master'?
Is Lucid (the language mentioned in and used in the Alchitry tuturials) the same as the dataflow programming language designed to experiment with non-von Neumann programming models??  https://en.wikipedia.org/wiki/Lucid_(pro..._language)

Hope to hear from someone. Would you go for a mainstream language like C or go straight to the point with VHDL or Verilog or Lucid?? Ps which one would be better for use with the Alchitry AU: VHDL or Verilog or Lucid??? I've heard Verilog is a little easier to understand/grasp then it's counterpart, but I'm taking your advice at heart Smile

Last question (I added/edited this part later to my message) Smile
Is it also possible to use Verilog (as your main programming language) and use iCEcube2/IceStorm as your toolchain for the Alchitry CU???
I'm not certain if the AU is a little overkill for the project I have in mind.
If I programm in Verilog and the CU turn out too 'light' my guess is it would be 'easy' to ugrade to the AU hardware... Or am I mistaken is my assumption?
For my use-case I need lots of FPGA boards (acting as motherboards), a cost of 50+% (compared to the AU) that act as the heart of the system is a lot of money to save Wink

With kind regards and thank you in advance, Jeroen Wolf


  SRAM 16 Mbit (2M x 8) 10ns board
Posted by: LMN128 - 11-22-2021, 01:19 PM - Forum: General Questions - Replies (7)

Hi, I decided start creating board with SRAM 16 Mbit (2M x 8) 10ns included two of sets original sockets to use it as expand board. SRAM is more suitable for my projects than DDR included on AU/AU+. I welcome any idea and recommendation. Thanks a lot.



Attached Files
.png   Untitled.png (Size: 12.99 KB / Downloads: 39)

  Au .bin file loads but cannot program flash
Posted by: kanunay - 11-20-2021, 12:49 AM - Forum: General Questions - Replies (6)

Hello,

For some reason I am unable to program the .bin files generated from Vivado to flash. It appears to program the flash ok, but after power is cycled there is no 'done' LED and the board does nothing. The .bin file itself works fine if just programmed into the FPGA.

I can program the flash with examples built in Alchitry Labs and those work. It's just the .bin files from my vivado projects that I cannot program to flash.


  Alchitry Ft
Posted by: podolski - 11-15-2021, 01:47 PM - Forum: General Questions - Replies (1)

Hello, I have bought the Alchitry Ft board and I'm trying to use it with the Alchitry Au+. Do you have any tutorials explaining how to use it? Or anyone experienced it and can give me a feedback?


Question Software trouble - unclear how to launch Alchitry Labs
Posted by: trackside - 11-12-2021, 10:05 PM - Forum: General Questions - Replies (2)

I'm currently looking at software simulation on Linux Mint 18 only... I want to buy some stuff, but things are really tight until January 2022. I was planning to install software on a new machine purchased for the purpose, but as I can't do that yet, I'm playing ultra-careful on the current Linux desktop I have.

Currently, I've downloaded/installed Lattice iCEcube2 and Alchitry Labs, but not enough of that software runs:

iCEcube2 launches, and has help files etc. I followed the tutorial, and it gets as far as the placement stage (with the Blinky example folder), then generates an error, and a red cross. That's not so bad though: At least the basic software runs.

iCEcube2 is supposed to have the much friendlier ModelSim bundled. There are certainly some related files in there, but I can't find an option for either launching it, or checking if it's there.

So I downloaded Alchitry Labs: Tarball, extracted, and... How do I launch/install that?