wokwi / wokwi-cli

Wokwi Command Line Interface (for CI use cases)
MIT License
14 stars 5 forks source link

New scenarios for CI/CD - wait on pin value #6

Open rafaelcorsi opened 7 months ago

rafaelcorsi commented 7 months ago

Please consider to add the fallowing scenarios to the test environment:

This will allow a wide range verification's and tests

Src:

urish commented 7 months ago

Thanks for the suggestion! Can you please explain more about your use case - i.e. what are you trying to test?

rafaelcorsi commented 7 months ago

Hi @urish!

I'm currently in the process of enhancing an embedded system course for undergraduate computer engineering students. My objective is to leverage your tool for assessing specific skills through a pre-lab activity. By doing so, when the students arrive in the laboratory, they will already have acquired the essential skills, such as configuring peripherals.

For example, in the context of targeting the rp2040 with SDK, I aim to evaluate whether students can:

However, it's worth noting that this approach does not address challenges related to I2C and SPI.

An alternative, more comprehensive solution (the gold standard) would involve enabling the use of two microcontrollers in the same simulation. This way, I could create a Device Under Test (DUT) controlled by another microcontroller, allowing me to emulate any type of sensors (I2C, SPI, UART, etc.) and verify students implementation. This approach would not only verify configuration but also assess functionality and simulate scenarios like how students' firmware behaves when a sensor malfunctions.

urish commented 7 months ago

Thanks for explaining, a very interesting use case!

Regarding the gold standard - have you looked into Wokwi Custom Chips? They should let you create a DUT, emulate any type of sensor - just like you described.

p.s. I noted you are also teaching about FPGAs and embedded Linux. I'm also working on TinyTapeout, a service which makes custom ASICs accessible and affordable. We are now working with several universities where faculty members and students send their digital / mixed signal designs into fabrication. For example, Jason from UCSC just had 31 students submit their designs last week. If this sounds interesting to you, we can discuss further.

rafaelcorsi commented 7 months ago

@urish I just sent you a LinkedIn request. Let's try to have a meeting.

urish commented 7 months ago

Thanks, I don't remember seeing a request from you - could you please try once more?

LEKPHET-KUNSUE commented 5 months ago

hello, @urish .