Author Topic: [Lattice Diamond] Which available simulator?  (Read 2127 times)

0 Members and 1 Guest are viewing this topic.

Offline greenstrikeTopic starter

  • Contributor
  • Posts: 15
  • Country: it
[Lattice Diamond] Which available simulator?
« on: April 14, 2023, 06:23:54 pm »
Hi to all!
I am using Lattice Diamond to write and program MachXo2 and I downloaded IceCube2 as simulator.
Now I doscovered MachXo2 isn't supported by IceCube2 and I suppose available simulators for Diamond aren't for free.
I don't remember which one I tried to download (using university account) but my mail isn't recognized as "university" account.
Are there available simulators I can use with Diamond (or stand-alone) you suggest?
Thanks.
 

Offline AK6DN

  • Regular Contributor
  • *
  • Posts: 55
  • Country: us
Re: [Lattice Diamond] Which available simulator?
« Reply #1 on: April 14, 2023, 06:50:31 pm »
How about icarus verilog ... https://github.com/steveicarus/iverilog

Pretty well known free verilog simulator. I use it for all my Altera/Intel Quartus simulation work.

You did not say what language you are using to design with ... verilog, vhdl, or ?
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14640
  • Country: fr
Re: [Lattice Diamond] Which available simulator?
« Reply #2 on: April 14, 2023, 07:11:59 pm »
Hi to all!
I am using Lattice Diamond to write and program MachXo2 and I downloaded IceCube2 as simulator.

Why would you do that.

Now I doscovered MachXo2 isn't supported by IceCube2

You didn't need to go through all that pain to "discover" that.

and I suppose available simulators for Diamond aren't for free.

Why would you suppose that?
Diamond comes with ModelSim (it used to come with ActiveHDL, but they switched to ModelSim in later versions of Diamond.)
It's free to use for any device that Diamond itself supports for free, and the MachXO2 certainly is.
 

Offline greenstrikeTopic starter

  • Contributor
  • Posts: 15
  • Country: it
Re: [Lattice Diamond] Which available simulator?
« Reply #3 on: May 30, 2023, 04:24:43 pm »
Why would you do that.

Because searching on the net for simulator for MachXo I've found IceCube as suggested simulator tool but I discovered too late my FPGA isn't supported.


Why would you suppose that?

Diamond comes with ModelSim (it used to come with ActiveHDL, but they switched to ModelSim in later versions of Diamond.)
It's free to use for any device that Diamond itself supports for free, and the MachXO2 certainly is.

Because on Friday afternoon my brain usually melts down, I couldn't find ModelSim installed on my PC and searching for MachXo simulators I found only licensed simulators...

Now I finally found ModelSim 2020 after re-installing.
Thanks,
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14640
  • Country: fr
Re: [Lattice Diamond] Which available simulator?
« Reply #4 on: May 30, 2023, 08:37:24 pm »
No problem. ModelSim is pretty much industry-standard, so learning how to use it will be reusable outside of the Lattice world.

On a side note, Lattice Diamond is looking like it's going to end up as Xilinx ISE. They haven't updated it in over 2 years (IIRC) and all new chips are supported in Lattice Radiant, which seems to be the focus of their efforts now.
So it's likely that for those sticking to the ECP5 and MachXO/2/3 series, the situation is going to be the same as with Xilinx for the 6-series. You'll be stuck with  software that is probably not going to be maintained anymore, just like Xilinx ISE.
That's a bit of speculation though and Lattice may prove me wrong, but I'd say it looks rather likely.

 

Offline Forty-Bot

  • Contributor
  • Posts: 15
  • Country: us
Re: [Lattice Diamond] Which available simulator?
« Reply #5 on: May 31, 2023, 06:03:53 am »
The only downside is that the version of modelsim shipped doesn't support FLI/VPI/VHPI.
 

Offline gnuarm

  • Super Contributor
  • ***
  • Posts: 2246
  • Country: pr
Re: [Lattice Diamond] Which available simulator?
« Reply #6 on: June 15, 2023, 05:20:14 pm »

Because searching on the net for simulator for MachXo I've found IceCube as suggested simulator tool but I discovered too late my FPGA isn't supported.


Because on Friday afternoon my brain usually melts down, I couldn't find ModelSim installed on my PC and searching for MachXo simulators I found only licensed simulators...

Now I finally found ModelSim 2020 after re-installing.
Thanks,

Simulation does not require knowledge of the device.   Simulation is at the code level, not the compiled bit stream.  I would simulate Gowin designs using the Lattice software before they had their own simulator. 
Rick C.  --  Puerto Rico is not a country... It's part of the USA
  - Get 1,000 miles of free Supercharging
  - Tesla referral code - https://ts.la/richard11209
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf