Skip to content

how to do bit slice on a signal  #37

@dev2-137

Description

@dev2-137

Hi,
i have a signal in my vcd in the form:
$var wire 768 3 blk_src[11:0] $end

in simvision you can expend this signal and you will see 12 items inside eacjh of 64 bits

i want to be able to get the blk_src[n] tv of it (n in [0..11])

is there a way to do it?

the only way to get a tv for this sig is:
vcd['tb_top.DUT.blk_fsm_src[11:0]'].tv
how can ii create the tv from only one of its 12 items?
smething like vcd['tb_top.DUT.blk_src[11:0]'][4].tv

thanks
dev2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions