2023-11-27 19:02:10 +01:00
|
|
|
Simulation of a switched-capacitor SAR ADC with Verilator and d_cosim
|
|
|
|
|
|
2024-06-10 12:40:37 +02:00
|
|
|
* Model line for the digital control implemented by Verilator.
|
2023-11-27 19:02:10 +01:00
|
|
|
|
2024-06-10 12:40:37 +02:00
|
|
|
.model dut d_cosim simulation="./adc"
|
2023-11-27 19:02:10 +01:00
|
|
|
|
2024-06-10 12:40:37 +02:00
|
|
|
* The bulk of the circuit is in a shared file.
|
2023-11-27 19:02:10 +01:00
|
|
|
|
2024-06-10 12:40:37 +02:00
|
|
|
.include adc.shared
|
2023-11-27 19:02:10 +01:00
|
|
|
.end
|