Simulation of an Arduino

I would like to study an case of simulate an very simple Arduíno Dev board like Arduino nano on Arduíno mkr vidor 4000. To understand the Quartus prime IDE. There's some tutorial/example. or some library with an Arduino nano development board?

What do you mean by that?

Why would you want to simulate one Arduino on another?

Surely, the whole point of the Arduino framework is that the code is (easily) portable?

Are we back to these again:

The Arduino part of that is a SAMD21 - the same as on Arduino Nano 33 BLE, Arduino Nano 33 BLE SENSE, Arduino 33 IoT, Arduino Zero, etc ...

It is a case study purpose of FPGA IDE and the board itself. I want to simulate an circuit with an Arduino and more things. Now I really understand that FPGA is to "simulate" circuits. I referred Arduíno only because is the most popular Dev board but I could have written that I wanted to simulate the best known PIC development board, which would have been the same thing. But I believe that for a case study, the ideal would be to try to simulate an Arduino. Those are all specific reasons to be an Arduino. I can't find any tutorial for doing it on any Dev board that uses the same FPGA chip. The post is more specially to understand how to simulate an Arduino on the same FPGA chip as Arduino mkr vidor 4000.So that even if I use another Dev board with the same FPGA chip, I can do the same. I don't found any support for that in Quartus support. And the answer for your first 2 question is the same and are writed very clear in first post: for study of the IDE purposes. And the third question have the answer: I don't need to port nothing. Why I need to port anything of Arduino framework to simulate an MCU Dev board in an FPGA chip. What is the relationship between the two things? I didn't talk about porting the Arduino framework to another chip.

Pretend for a moment you don't know anything about Arduino.

Go somewhere like fpga4fun.com, learn something simple about FPGA. Then you will realize that FPGA is not about simulating circuits, it's about implementing digital circuits. And your typical Arduino with AVR MCU is quite large effort to design from scratch yourself, especially if you know nothing about it. I'm not even talking about much larger and more complex SAMD MCUs.

You will find nothing about Arduino in the Quartus IDE. The Quartus is all about compiling your designs to run on FPGA, but it's your responsibility to design something that Quartus will be compiling.

Do you have any idea of the difference in price between that FPGA and an ATmega328P?

If you want to waste time, find a way to fry air and build with that!

There's niosduino, that's an project of an Arduino over an FPGA. It needs to be ported to the newer versions but that's what I want

I assume you mean emulate an arduino using the FPGA? It's possible though you may run into resource count issues for the Vidor FPGA as its quite small. You'll need a very good understanding of the Arduino architecture. You'll need to choose a specific Arduino chip, find the block design for the architecture, and implement each block in the FPGA.

The niosduino project appears to just be a port of the Arduino software libraries to run on a Nios soft core processor. That is not what you want. You want to implement the Arduino hardware circuitry on an FPGA, yes?

If all you want it just a general processor that runs the Arduino libraries then it will do what you want. But it's not doing the same thing as an Arduino at the hardware level, understand?

Yes, but is a nice principle