avlsi
Community Member
 
Offline
Posts: 91
singapore
|
Hi Ken, I could try sweeping the pins in the vlogams. I had to do some custom blocks to do d2a and a2d conversions at the boundaries.
for(i=3'b000; i<=3'b111; i=i+1'b1) begin a = i[2] ; b = i[1]; c = i[0] ; // Print the values (for simulation visibility) $display("i = %b, a = %b, b = %b, c = %b", i, a, b, c); #(10000); // Wait for so much time steps end
one thing I am concerned, whether I am doing overkill by sweeping inputs and running a digital simulator instead of analogue simulator for block-level checks.
Is there a better way to use Verilog-A with this #(10000) to sweep input?
|