Author Topic: Gowin Simulation  (Read 790 times)

0 Members and 1 Guest are viewing this topic.

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ca
Gowin Simulation
« on: June 24, 2020, 10:58:33 am »
Hi,
I have made a board for GW2AR-LV18QN part, And every thing is working as expected and I have written  UART,SPI, PWM peripherals and have tested them successfully.

Now I want to use the IP cores, for example the FIFO one, The problem for now is how can I simulate my design with the Gowin IO cores, using Modelsim etc...

I have found a folder named simlib in the installation folder,

I wonder if anyone in here has done simulation with gowin IP on modelsim or another simulation software, is it possible? how?

Any tips would be highly appreciated.
I'm a Digital Expert from 8-bits to 64-bits
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ca
Re: Gowin Simulation
« Reply #1 on: June 25, 2020, 09:32:37 am »
Does any body use Gowin FPGA's in here?
The tools generate a SDF file, can it be used for simulation? how?
I'm a Digital Expert from 8-bits to 64-bits
 

Online Bassman59

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Yes, I do this for a living
Re: Gowin Simulation
« Reply #2 on: June 25, 2020, 07:08:28 pm »
Does any body use Gowin FPGA's in here?
The tools generate a SDF file, can it be used for simulation? how?

Assuming that Gowin is no different from any other FPGA vendor --

In addition to the SDF file, the Gowin tools should provide a VHDL or Verilog model of the design which replaces your RTL/behavioral code with primitives. So you bring the new model and the SDF into your simulation tool, which needs to be able to do such back-annotated simulation. You use the same test bench as with your original design.

ModelSim and Aldec can do such simulation. I think that ghdl can do it, too.
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ca
Re: Gowin Simulation
« Reply #3 on: June 28, 2020, 07:33:45 am »
thanks, Do you have any web link or tutorial on how to do it?
I'm a Digital Expert from 8-bits to 64-bits
 

Offline up8051

  • Regular Contributor
  • *
  • Posts: 167
  • Country: pl
Re: Gowin Simulation
« Reply #4 on: May 10, 2021, 08:13:24 pm »
Did you resolve problem with IP simulation?
 

Offline FlyingDutch

  • Regular Contributor
  • *
  • Posts: 56
  • Country: pl
Re: Gowin Simulation
« Reply #5 on: May 11, 2021, 08:38:48 am »
Hello,
there is short note about simulation for Gowin FPGA in this document:

https://www.gowinsemi.com/upload/database_doc/1/document/5bfcfcab42d1c.pdf?_file=database_doc%2F1%2Fdocument%2F5bfcfcab42d1c.pdf

See paragraph : 6.4 Simulation.

Best Regards
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1509
  • Country: ca
Re: Gowin Simulation
« Reply #6 on: May 11, 2021, 09:05:16 am »
Thanks, But There is no such option in the tools, I'm using 1.9.7.01 Beta, and I think it's the latest version.
I'm a Digital Expert from 8-bits to 64-bits
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf