in reply to Re^5: extract text from multi-line context (Verilog::VCD)
in thread extract text from multi-line context
1.the original vcd file "$dumpoff $end" "#3537871350",so 't0' is 3537871350 , output is 0p
2. because the vcd file output will be Cadence spectre analog input ,so for example BBPLL_CLKO_DIG_96M's time squence 't0' value is '0' , and the next time squence 't1' value is '1', I want to insert time sequence t1-1 and value '0', vice versa...
3. value '0' output is '0', value '1' output is 'VDD/2'
so the output wave of BBPLL_CLKO_DIG_96M is
[ 0p 0 (3537876550-3537871350-1)p 0 (3537876550-3537871350)p VDD/2 (3537881760-3537871350-1)p VDD/2 (3537881760-3537871350)p 0 (3537886970-3537871350-1)p 0 (3537886970-3537871350)p VDD/2 ...... ]
ps. please calculate the result in ()
|
|---|