EmbDev.net

Forum: FPGA, VHDL & Verilog Hard Time with Accessing UFM


von Ahamad Mansoor (ahd-a)


Rate this post
useful
not useful
Hi everyone,

I'm having trouble accessing the internal UFM in a Lattice MachXO 
device.

Here’s what I’ve tried so far:

First, I created my own Wishbone master, UFM controller, and integrated 
them with the EFB block. The UFM controller is essentially a state 
machine that reacts to inputs from the EFB block. It sends a sequence of 
addresses followed by the required commands and operands.

The communication flow looks like this:

Other modules → UFM Controller → Wishbone Master → EFB Block

However, I didn’t observe any activity on the UFM.

So I tried a different approach using Mico8. I wrote a C program and 
first verified the setup using GPIO, which worked correctly and 
confirmed that the integration with the RTL modules was fine.

Next, I added the EFB block configured for Wishbone and inserted test 
points in the C program to check whether the code was getting stuck 
anywhere. The program successfully passed all the test points, but there 
was still no response from the UFM.

I also used the UFM library available in LMS.

At this point, I’m starting to suspect that the internal UFM hardware 
might not be functioning or enabled properly.

Has anyone encountered a similar issue or have suggestions on what I 
might be missing?

Also, could someone share the correct configuration settings in the 
IPexpress GUI for enabling and accessing the UFM through the EFB block?

cheers!

AM

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.