curious_engineer
Junior Member level 2
Hi all,
I am trying to simulate a 12-bit DAC in Cadence, specifically, the output voltage at every digital input combination. I want to input all digitial input combinations from 000000000000 to 111111111111 (0 to 4096), incrementing by 1 each time. I would then be able to use the output values to calculate dnl,inl, etc.
The problem is that is it not very feasible to set these inputs using 12 vpulse or pwl components. I was wondering if anyone knew of a veriloga/vhdl program that could implement this digital counter type function that I can use to properly input into my DAC in order to plot Vout vs digital in from 0 to 4096.
Thanks a lot.
I am trying to simulate a 12-bit DAC in Cadence, specifically, the output voltage at every digital input combination. I want to input all digitial input combinations from 000000000000 to 111111111111 (0 to 4096), incrementing by 1 each time. I would then be able to use the output values to calculate dnl,inl, etc.
The problem is that is it not very feasible to set these inputs using 12 vpulse or pwl components. I was wondering if anyone knew of a veriloga/vhdl program that could implement this digital counter type function that I can use to properly input into my DAC in order to plot Vout vs digital in from 0 to 4096.
Thanks a lot.