Comments (4)
Hi again @fariouche ,
For boards that use Qemu as a simulator, the frequency combobox updates only the hardware update frequency of PICSimLab, the speed of Qemu is controlled by the CPU Mips
combobox.
Increasing the PICSimLab update consumes more resources and usually slows down Qemu's simulation.
Increasing the speed usually improves the accuracy of asynchronous signals, such as those used in reading a DHT22 sensor. For synchronous signals like I2C or SPI it makes no difference.
from picsimlab.
I'm not sure I understand "hardware update frequency"... You mean the spare parts are running using an independent clock from the semi one and are only updated using this clock?
from picsimlab.
In Qemu the cpu runs at the maximum frequency that the host allows and the qemu peripherals are updated using timers synchronized in the system wall time. With the icont option activated, the qemu cpu tries to synchronize with the wall time, but without being cycle acurrated. PICSimLab is updated with every Qemu IO operation or by a Qemu timer for synchronization every 100ms. If the PICSimLab frequency is 1MHz it will run 100k steps every 100ms, if it is 10MHz it will run 1M steps every 100 ms.
from picsimlab.
I understand! So one tick per millisecond at 1mhz is already a lot! I understand why it slows down now.
Thanks!
from picsimlab.
Related Issues (20)
- issue loading esp32 firmware HOT 37
- crash when selecting open hex file HOT 4
- Can't run it in Manjaro (Arch) Linux HOT 4
- Issue with qemu i2c bitbang HOT 10
- Is it possible to separate the backend simulator/emulator when compile the full package? HOT 3
- Can't set LCD1602 R/W pin to GND in gpboard. HOT 6
- gpboard isn't fast as other boards; like, Mclab2 and PICGenios. HOT 4
- PICGenios board with PIC18F4580, crash upon invoking TIMER2. HOT 3
- Impossible to install picsimlab on debain 12 with latest .deb HOT 3
- PICGenios with PIC18F4580 analog pins improperly configured. HOT 2
- Gpboard simulation failed HOT 6
- Simulator for PIC18F87J60 (PIC18F97J60) HOT 2
- [Question] Weird Servo Motor Movement HOT 3
- Gpboard crash on loading hex HOT 3
- Gpboard simulation speed issue HOT 4
- MCP23S17 not working as inpurs HOT 14
- RTC ds1307 HOT 14
- PICSimLab Not responding HOT 3
- Starting QEMU with -S to await a GDB connection HOT 8
- No way to customize qemu efuse and bin file paths? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picsimlab.