EmbDev.net

Forum: FPGA, VHDL & Verilog Machx02 User Flash Memory


Author: Chris Customchris (customchris)
Posted on:

Rate this post
0 useful
not useful
Hi guys, I just can't seem to wrap my head around this one, I would like 
to implement the user flash into my project to use like eeprom, I'm 
hoping someone has a very basic example, like std_logic_vector of 15 
down to 0 "input" and the same for "output", upon button press input is 
locked in memory for use on power up at "output".

I've read the app notes from Lattice, I just can't visualize how to 
create this, would be fantastic if there was a simple example, just like 
a blink sketch or hello world.

Thank you guys.

Author: Chris Customchris (customchris)
Posted on:

Rate this post
0 useful
not useful
Looks like I might just have a better chance at interfacing NVSram or 
spi flash/eeprom. Not enough examples to help me understand how to use 
this feature, I can't even figure out how to use the softcores out 
there.

Author: Holger (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello here is hint for you how to use IPexpress
http://datasheet.octopart.com/LCMXO2-4000HC-4TG144...
EFB Module in IPexpress
Page 138.
I send you later more info how to bind the ipexpress module *.ipx in 
your project
und compile it with a simple RTL modules.

Greetings Holger.

Author: Holger (Guest)
Posted on:

Rate this post
0 useful
not useful
Holger wrote:
> I send you later more info how to bind the ipexpress module *.ipx in
> your project
Task 2: Create an IPexpress Module at Page 16-<....

Click Import IPX to Diamond project.



Link:
https://www.google.de/url?sa=t&rct=j&q=&esrc=s&sou...

This is for a siple pll module via IPexpress,(binding in a project)
 but you see more resources for your Hardended Machxo2 Chip. EFB.
SPI I2C TIMER ect.pp.


Geetings Holger.

Author: Chris Customchris (customchris)
Posted on:

Rate this post
0 useful
not useful
This looks promising, thank you, every bit helps.

Author: Chris Customchris (customchris)
Posted on:

Rate this post
0 useful
not useful
Yeah none of this is making any sense, its not clear enough on how to 
generate the Ipexpress efb and whatever is needed to get UFM, every 
document is very vague about what to do, and just about every paragraph 
tells you to look into a different pdf to learn something else, it all 
seems to be a vicious circle of info for those who already know how to 
interact with the ise and import files/work the ports, Im coming from 
arduino environment where there are very well written and explained 
examples, I've somehow been able to get my project very well where it 
needs to be and it performs fantastically, in the beginning i taught 
myself how to add a very crude spi function to read a device with timers 
feeding timers that ran a When case, in the when case i controlled the 
Chip select, Mosi, Miso, and the Serial clock, with the help of a nifty 
logic analyzer i was able to see these lines and adjust to mimic what 
was shown in the datasheet for a spi transaction. the only thing im 
missing is a single on the fly adjustable  16bit memory location.

Author: Chris Customchris (customchris)
Posted on:

Rate this post
0 useful
not useful
I'm to the point where im willing to hire someone to help me out, if my 
boss and i cant figure this out tomorrow, this is vital to finishing my 
project, and i really would like to learn this, seems be a huge lack in 
lattice fpga tutorials and examples, xilinx is so plentiful in examples 
but none of which that i have found are in the Non Volatile platforms 
with internal flash.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.